diff options
author | Andrew Dolgov <[email protected]> | 2019-03-02 08:44:28 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-03-02 08:44:28 +0300 |
commit | baa84a696ae0cf3166f540e0475cc2522d2fb105 (patch) | |
tree | a2e310fcea9a6c379a53069edf36982252bb35d2 | |
parent | a771833fd487004868055c1796b95978ceeb7777 (diff) |
simplify rebase script
-rw-r--r-- | locale/ru_RU/LC_MESSAGES/time_to_read.mo | bin | 686 -> 686 bytes | |||
-rw-r--r-- | locale/ru_RU/LC_MESSAGES/time_to_read.po | 2 | ||||
-rw-r--r-- | time_to_read.pot | 2 | ||||
-rwxr-xr-x | update-translations.sh | 10 |
4 files changed, 4 insertions, 10 deletions
diff --git a/locale/ru_RU/LC_MESSAGES/time_to_read.mo b/locale/ru_RU/LC_MESSAGES/time_to_read.mo Binary files differindex 9fce39d..25a241d 100644 --- a/locale/ru_RU/LC_MESSAGES/time_to_read.mo +++ b/locale/ru_RU/LC_MESSAGES/time_to_read.mo diff --git a/locale/ru_RU/LC_MESSAGES/time_to_read.po b/locale/ru_RU/LC_MESSAGES/time_to_read.po index 2516b99..d8c3408 100644 --- a/locale/ru_RU/LC_MESSAGES/time_to_read.po +++ b/locale/ru_RU/LC_MESSAGES/time_to_read.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: time_to_read\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-02-22 06:58+0300\n" +"POT-Creation-Date: 2019-03-02 08:43+0300\n" "PO-Revision-Date: 2019-02-07 14:36+0000\n" "Last-Translator: Andrew Dolgov <[email protected]>\n" "Language-Team: Russian <https://weblate.tt-rss.org/projects/tt-rss/messages/ru/>\n" diff --git a/time_to_read.pot b/time_to_read.pot index 812f6ed..1a256e2 100644 --- a/time_to_read.pot +++ b/time_to_read.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-01 15:03+0300\n" +"POT-Creation-Date: 2019-03-02 08:43+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <[email protected]>\n" diff --git a/update-translations.sh b/update-translations.sh index 8539e83..7584d36 100755 --- a/update-translations.sh +++ b/update-translations.sh @@ -1,12 +1,8 @@ #!/bin/sh TEMPLATE=time_to_read.pot -xgettext -kT_js_decl -kT_sprintf -k_ngettext:1,2 -kT_ngettext:1,2 -k__ -L PHP -o $TEMPLATE *.php - -xgettext --from-code utf-8 -k__ -kNotify.info -kNotify.error -kNotify.progress -kngettext -L Perl -j -o $TEMPLATE *.js - -xgettext --from-code utf-8 -k__ -kNotify.info -kNotify.error -kNotify.progress -kngettext -L Java -j -o $TEMPLATE *.js - +xgettext -kP__:2 -L PHP -o $TEMPLATE *.php +xgettext -k__ -L Java -j -o $TEMPLATE *.js update_lang() { if [ -f $1.po ]; then @@ -24,5 +20,3 @@ for lang in $LANGS; do PO_BASENAME=`echo $lang | sed s/.po//` update_lang $PO_BASENAME done - -#./utils/update-js-translations.sh |