mirror of
https://github.com/pyrollo/display_modpack.git
synced 2025-07-03 08:30:42 +02:00
fix translation + remove old files
This commit is contained in:
@ -1,25 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
|
|
||||||
# To create a new translation:
|
|
||||||
# msginit --locale=ll_CC -o locale/ll_CC.po -i locale/template.pot
|
|
||||||
|
|
||||||
cd "$(dirname "${BASH_SOURCE[0]}")/..";
|
|
||||||
|
|
||||||
# Extract translatable strings.
|
|
||||||
xgettext --from-code=UTF-8 \
|
|
||||||
--language=Lua \
|
|
||||||
--sort-by-file \
|
|
||||||
--keyword=S \
|
|
||||||
--keyword=NS:1,2 \
|
|
||||||
--keyword=N_ \
|
|
||||||
--keyword=F \
|
|
||||||
--add-comments='Translators:' \
|
|
||||||
--add-location=file \
|
|
||||||
-o locale/template.pot \
|
|
||||||
$(find . -name '*.lua')
|
|
||||||
|
|
||||||
# Update translations.
|
|
||||||
find locale -name '*.po' | while read -r file; do
|
|
||||||
echo $file
|
|
||||||
msgmerge --update $file locale/template.pot;
|
|
||||||
done
|
|
@ -1,25 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
|
|
||||||
# To create a new translation:
|
|
||||||
# msginit --locale=ll_CC -o locale/ll_CC.po -i locale/template.pot
|
|
||||||
|
|
||||||
cd "$(dirname "${BASH_SOURCE[0]}")/..";
|
|
||||||
|
|
||||||
# Extract translatable strings.
|
|
||||||
xgettext --from-code=UTF-8 \
|
|
||||||
--language=Lua \
|
|
||||||
--sort-by-file \
|
|
||||||
--keyword=S \
|
|
||||||
--keyword=NS:1,2 \
|
|
||||||
--keyword=N_ \
|
|
||||||
--keyword=F \
|
|
||||||
--add-comments='Translators:' \
|
|
||||||
--add-location=file \
|
|
||||||
-o locale/template.pot \
|
|
||||||
$(find . -name '*.lua')
|
|
||||||
|
|
||||||
# Update translations.
|
|
||||||
find locale -name '*.po' | while read -r file; do
|
|
||||||
echo $file
|
|
||||||
msgmerge --update $file locale/template.pot;
|
|
||||||
done
|
|
@ -1,25 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
|
|
||||||
# To create a new translation:
|
|
||||||
# msginit --locale=ll_CC -o locale/ll_CC.po -i locale/template.pot
|
|
||||||
|
|
||||||
cd "$(dirname "${BASH_SOURCE[0]}")/..";
|
|
||||||
|
|
||||||
# Extract translatable strings.
|
|
||||||
xgettext --from-code=UTF-8 \
|
|
||||||
--language=Lua \
|
|
||||||
--sort-by-file \
|
|
||||||
--keyword=S \
|
|
||||||
--keyword=NS:1,2 \
|
|
||||||
--keyword=N_ \
|
|
||||||
--keyword=F \
|
|
||||||
--add-comments='Translators:' \
|
|
||||||
--add-location=file \
|
|
||||||
-o locale/template.pot \
|
|
||||||
$(find . -name '*.lua')
|
|
||||||
|
|
||||||
# Update translations.
|
|
||||||
find locale -name '*.po' | while read -r file; do
|
|
||||||
echo $file
|
|
||||||
msgmerge --update $file locale/template.pot;
|
|
||||||
done
|
|
@ -54,7 +54,7 @@ function signs_api.set_formspec(pos)
|
|||||||
else
|
else
|
||||||
local extralabel = ""
|
local extralabel = ""
|
||||||
if maxlines then
|
if maxlines then
|
||||||
extralabel = S(" (first %s lines only)"):format(maxlines)
|
extralabel = S(" (first @1 lines only)", maxlines)
|
||||||
end
|
end
|
||||||
|
|
||||||
fs = "textarea[0.5,0.7;5.5,2;display_text;"..S("Text")..""..
|
fs = "textarea[0.5,0.7;5.5,2;display_text;"..S("Text")..""..
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# textdomain: signs_api
|
# textdomain: signs_api
|
||||||
Text=Text
|
Text=Text
|
||||||
(first %s lines only)= (nur die ersten %s-Zeilen)
|
(first @1 lines only)= (nur die ersten @1 Zeilen)
|
||||||
Font=Schriftart
|
Font=Schriftart
|
||||||
Write=Schreiben
|
Write=Schreiben
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# textdomain: signs_api
|
# textdomain: signs_api
|
||||||
Text=Texte
|
Text=Texte
|
||||||
(first %s lines only)= (uniquement les %s premières lignes)
|
(first @1 lines only)= (uniquement les @1 premières lignes)
|
||||||
Font=
|
Font=
|
||||||
Write=Écrire
|
Write=Écrire
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# textdomain: signs_api
|
# textdomain: signs_api
|
||||||
Text=Teks
|
Text=Teks
|
||||||
(first %s lines only)= (%s baris pertama sahaja)
|
(first @1 lines only)= (@1 baris pertama sahaja)
|
||||||
Font=
|
Font=
|
||||||
Write=Tulis
|
Write=Tulis
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# textdomain: signs_api
|
# textdomain: signs_api
|
||||||
Text=
|
Text=
|
||||||
(first %s lines only)=
|
(first @1 lines only)=
|
||||||
Font=
|
Font=
|
||||||
Write=
|
Write=
|
||||||
|
@ -1,25 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
|
|
||||||
# To create a new translation:
|
|
||||||
# msginit --locale=ll_CC -o locale/ll_CC.po -i locale/template.pot
|
|
||||||
|
|
||||||
cd "$(dirname "${BASH_SOURCE[0]}")/..";
|
|
||||||
|
|
||||||
# Extract translatable strings.
|
|
||||||
xgettext --from-code=UTF-8 \
|
|
||||||
--language=Lua \
|
|
||||||
--sort-by-file \
|
|
||||||
--keyword=S \
|
|
||||||
--keyword=NS:1,2 \
|
|
||||||
--keyword=N_ \
|
|
||||||
--keyword=F \
|
|
||||||
--add-comments='Translators:' \
|
|
||||||
--add-location=file \
|
|
||||||
-o locale/template.pot \
|
|
||||||
$(find . -name '*.lua')
|
|
||||||
|
|
||||||
# Update translations.
|
|
||||||
find locale -name '*.po' | while read -r file; do
|
|
||||||
echo $file
|
|
||||||
msgmerge --update $file locale/template.pot;
|
|
||||||
done
|
|
@ -1,25 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
|
|
||||||
# To create a new translation:
|
|
||||||
# msginit --locale=ll_CC -o locale/ll_CC.po -i locale/template.pot
|
|
||||||
|
|
||||||
cd "$(dirname "${BASH_SOURCE[0]}")/..";
|
|
||||||
|
|
||||||
# Extract translatable strings.
|
|
||||||
xgettext --from-code=UTF-8 \
|
|
||||||
--language=Lua \
|
|
||||||
--sort-by-file \
|
|
||||||
--keyword=S \
|
|
||||||
--keyword=NS:1,2 \
|
|
||||||
--keyword=N_ \
|
|
||||||
--keyword=F \
|
|
||||||
--add-comments='Translators:' \
|
|
||||||
--add-location=file \
|
|
||||||
-o locale/template.pot \
|
|
||||||
$(find . -name '*.lua')
|
|
||||||
|
|
||||||
# Update translations.
|
|
||||||
find locale -name '*.po' | while read -r file; do
|
|
||||||
echo $file
|
|
||||||
msgmerge --update $file locale/template.pot;
|
|
||||||
done
|
|
@ -1,25 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
|
|
||||||
# To create a new translation:
|
|
||||||
# msginit --locale=ll_CC -o locale/ll_CC.po -i locale/template.pot
|
|
||||||
|
|
||||||
cd "$(dirname "${BASH_SOURCE[0]}")/..";
|
|
||||||
|
|
||||||
# Extract translatable strings.
|
|
||||||
xgettext --from-code=UTF-8 \
|
|
||||||
--language=Lua \
|
|
||||||
--sort-by-file \
|
|
||||||
--keyword=S \
|
|
||||||
--keyword=NS:1,2 \
|
|
||||||
--keyword=N_ \
|
|
||||||
--keyword=F \
|
|
||||||
--add-comments='Translators:' \
|
|
||||||
--add-location=file \
|
|
||||||
-o locale/template.pot \
|
|
||||||
$(find . -name '*.lua')
|
|
||||||
|
|
||||||
# Update translations.
|
|
||||||
find locale -name '*.po' | while read -r file; do
|
|
||||||
echo $file
|
|
||||||
msgmerge --update $file locale/template.pot;
|
|
||||||
done
|
|
Reference in New Issue
Block a user