summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-26 13:26:31 +0300
committerAndrew Dolgov <[email protected]>2021-02-26 13:26:31 +0300
commitfa7c6a61290c92c025d3c8c6e715e5cbe0990077 (patch)
tree37c75c695db517487f23ffe029f6720958e6494d
parentb63119df33a639c09e28b843e94c18335f216ef1 (diff)
we need to compile .mo files after all
-rwxr-xr-xlocale/ar_SA/LC_MESSAGES/messages.mobin33971 -> 37354 bytes
-rw-r--r--locale/bg_BG/LC_MESSAGES/messages.mobin39363 -> 43186 bytes
-rw-r--r--locale/ca_CA/LC_MESSAGES/messages.mobin39124 -> 42815 bytes
-rw-r--r--locale/cs_CZ/LC_MESSAGES/messages.mobin43944 -> 47842 bytes
-rw-r--r--locale/da_DK/LC_MESSAGES/messages.mobin16782 -> 19079 bytes
-rw-r--r--locale/de_DE/LC_MESSAGES/messages.mobin44791 -> 48741 bytes
-rw-r--r--locale/el_GR/LC_MESSAGES/messages.mobin22839 -> 26369 bytes
-rw-r--r--locale/eo/LC_MESSAGES/messages.mobin4210 -> 4302 bytes
-rw-r--r--locale/es_ES/LC_MESSAGES/messages.mobin42169 -> 45837 bytes
-rw-r--r--locale/es_LA/LC_MESSAGES/messages.mobin18024 -> 20514 bytes
-rw-r--r--locale/fa/LC_MESSAGES/messages.mobin53789 -> 58662 bytes
-rw-r--r--locale/fi_FI/LC_MESSAGES/messages.mobin30172 -> 32936 bytes
-rw-r--r--locale/fr_FR/LC_MESSAGES/messages.mobin48094 -> 52814 bytes
-rw-r--r--locale/hu_HU/LC_MESSAGES/messages.mobin28811 -> 31847 bytes
-rw-r--r--locale/it_IT/LC_MESSAGES/messages.mobin51894 -> 51901 bytes
-rw-r--r--locale/ja_JP/LC_MESSAGES/messages.mobin38835 -> 42787 bytes
-rw-r--r--locale/ko_KR/LC_MESSAGES/messages.mobin22308 -> 24883 bytes
-rw-r--r--locale/lv_LV/LC_MESSAGES/messages.mobin28535 -> 30705 bytes
-rw-r--r--locale/nb_NO/LC_MESSAGES/messages.mobin14753 -> 16463 bytes
-rw-r--r--locale/nl_NL/LC_MESSAGES/messages.mobin43506 -> 47330 bytes
-rw-r--r--locale/pl_PL/LC_MESSAGES/messages.mobin44937 -> 48838 bytes
-rwxr-xr-xlocale/pt_BR/LC_MESSAGES/messages.mobin40596 -> 44093 bytes
-rw-r--r--locale/pt_PT/LC_MESSAGES/messages.mobin25728 -> 28335 bytes
-rw-r--r--locale/ru_RU/LC_MESSAGES/messages.mobin59792 -> 59789 bytes
-rw-r--r--locale/sv_SE/LC_MESSAGES/messages.mobin33274 -> 36675 bytes
-rw-r--r--locale/tr_TR/LC_MESSAGES/messages.mobin27344 -> 30434 bytes
-rw-r--r--locale/uk_UA/LC_MESSAGES/messages.mobin55727 -> 60705 bytes
-rw-r--r--locale/zh_CN/LC_MESSAGES/messages.mobin41827 -> 45852 bytes
-rw-r--r--locale/zh_TW/LC_MESSAGES/messages.mobin36984 -> 40335 bytes
-rw-r--r--messages.pot2
-rwxr-xr-xutils/rebase-translations.sh8
31 files changed, 6 insertions, 4 deletions
diff --git a/locale/ar_SA/LC_MESSAGES/messages.mo b/locale/ar_SA/LC_MESSAGES/messages.mo
index 3715837bb..4c43b5d1d 100755
--- a/locale/ar_SA/LC_MESSAGES/messages.mo
+++ b/locale/ar_SA/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/locale/bg_BG/LC_MESSAGES/messages.mo b/locale/bg_BG/LC_MESSAGES/messages.mo
index 75f9d955e..c7364442e 100644
--- a/locale/bg_BG/LC_MESSAGES/messages.mo
+++ b/locale/bg_BG/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/locale/ca_CA/LC_MESSAGES/messages.mo b/locale/ca_CA/LC_MESSAGES/messages.mo
index 1cbd1a8c5..0e886cca8 100644
--- a/locale/ca_CA/LC_MESSAGES/messages.mo
+++ b/locale/ca_CA/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/locale/cs_CZ/LC_MESSAGES/messages.mo b/locale/cs_CZ/LC_MESSAGES/messages.mo
index 3388feb79..3c3aaea16 100644
--- a/locale/cs_CZ/LC_MESSAGES/messages.mo
+++ b/locale/cs_CZ/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/locale/da_DK/LC_MESSAGES/messages.mo b/locale/da_DK/LC_MESSAGES/messages.mo
index ecfe5bfc0..ed3ecf3ae 100644
--- a/locale/da_DK/LC_MESSAGES/messages.mo
+++ b/locale/da_DK/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/locale/de_DE/LC_MESSAGES/messages.mo b/locale/de_DE/LC_MESSAGES/messages.mo
index ec072d8b9..d1ad0f59c 100644
--- a/locale/de_DE/LC_MESSAGES/messages.mo
+++ b/locale/de_DE/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/locale/el_GR/LC_MESSAGES/messages.mo b/locale/el_GR/LC_MESSAGES/messages.mo
index 74339dabe..a903eb145 100644
--- a/locale/el_GR/LC_MESSAGES/messages.mo
+++ b/locale/el_GR/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/locale/eo/LC_MESSAGES/messages.mo b/locale/eo/LC_MESSAGES/messages.mo
index 29c55687f..abe7a3d61 100644
--- a/locale/eo/LC_MESSAGES/messages.mo
+++ b/locale/eo/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/locale/es_ES/LC_MESSAGES/messages.mo b/locale/es_ES/LC_MESSAGES/messages.mo
index 9875c6944..b1ca8b517 100644
--- a/locale/es_ES/LC_MESSAGES/messages.mo
+++ b/locale/es_ES/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/locale/es_LA/LC_MESSAGES/messages.mo b/locale/es_LA/LC_MESSAGES/messages.mo
index f714fed68..bb42372cb 100644
--- a/locale/es_LA/LC_MESSAGES/messages.mo
+++ b/locale/es_LA/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/locale/fa/LC_MESSAGES/messages.mo b/locale/fa/LC_MESSAGES/messages.mo
index 11f081b99..ddc1a16ac 100644
--- a/locale/fa/LC_MESSAGES/messages.mo
+++ b/locale/fa/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/locale/fi_FI/LC_MESSAGES/messages.mo b/locale/fi_FI/LC_MESSAGES/messages.mo
index 245cc4e5e..b06bfdad9 100644
--- a/locale/fi_FI/LC_MESSAGES/messages.mo
+++ b/locale/fi_FI/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/locale/fr_FR/LC_MESSAGES/messages.mo b/locale/fr_FR/LC_MESSAGES/messages.mo
index 816a0420c..9a6ddaa79 100644
--- a/locale/fr_FR/LC_MESSAGES/messages.mo
+++ b/locale/fr_FR/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/locale/hu_HU/LC_MESSAGES/messages.mo b/locale/hu_HU/LC_MESSAGES/messages.mo
index aaa6715d5..9bf449760 100644
--- a/locale/hu_HU/LC_MESSAGES/messages.mo
+++ b/locale/hu_HU/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/locale/it_IT/LC_MESSAGES/messages.mo b/locale/it_IT/LC_MESSAGES/messages.mo
index 48743959e..0359145a8 100644
--- a/locale/it_IT/LC_MESSAGES/messages.mo
+++ b/locale/it_IT/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/locale/ja_JP/LC_MESSAGES/messages.mo b/locale/ja_JP/LC_MESSAGES/messages.mo
index 6ee30c246..a093db6f8 100644
--- a/locale/ja_JP/LC_MESSAGES/messages.mo
+++ b/locale/ja_JP/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/locale/ko_KR/LC_MESSAGES/messages.mo b/locale/ko_KR/LC_MESSAGES/messages.mo
index 4d02c974a..23ee894c4 100644
--- a/locale/ko_KR/LC_MESSAGES/messages.mo
+++ b/locale/ko_KR/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/locale/lv_LV/LC_MESSAGES/messages.mo b/locale/lv_LV/LC_MESSAGES/messages.mo
index 64a3a8092..3f80e9f8a 100644
--- a/locale/lv_LV/LC_MESSAGES/messages.mo
+++ b/locale/lv_LV/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/locale/nb_NO/LC_MESSAGES/messages.mo b/locale/nb_NO/LC_MESSAGES/messages.mo
index f2d92c8a8..b571dab21 100644
--- a/locale/nb_NO/LC_MESSAGES/messages.mo
+++ b/locale/nb_NO/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/locale/nl_NL/LC_MESSAGES/messages.mo b/locale/nl_NL/LC_MESSAGES/messages.mo
index 83bfe3c0d..77eeadd01 100644
--- a/locale/nl_NL/LC_MESSAGES/messages.mo
+++ b/locale/nl_NL/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/locale/pl_PL/LC_MESSAGES/messages.mo b/locale/pl_PL/LC_MESSAGES/messages.mo
index 7a3f3147b..751e993e0 100644
--- a/locale/pl_PL/LC_MESSAGES/messages.mo
+++ b/locale/pl_PL/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/locale/pt_BR/LC_MESSAGES/messages.mo b/locale/pt_BR/LC_MESSAGES/messages.mo
index 531830f8e..8256ba44f 100755
--- a/locale/pt_BR/LC_MESSAGES/messages.mo
+++ b/locale/pt_BR/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/locale/pt_PT/LC_MESSAGES/messages.mo b/locale/pt_PT/LC_MESSAGES/messages.mo
index 97ba8985e..ee950a7c1 100644
--- a/locale/pt_PT/LC_MESSAGES/messages.mo
+++ b/locale/pt_PT/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/locale/ru_RU/LC_MESSAGES/messages.mo b/locale/ru_RU/LC_MESSAGES/messages.mo
index d4b7cd798..9ad11540d 100644
--- a/locale/ru_RU/LC_MESSAGES/messages.mo
+++ b/locale/ru_RU/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/locale/sv_SE/LC_MESSAGES/messages.mo b/locale/sv_SE/LC_MESSAGES/messages.mo
index b7f915641..dd280c1e6 100644
--- a/locale/sv_SE/LC_MESSAGES/messages.mo
+++ b/locale/sv_SE/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/locale/tr_TR/LC_MESSAGES/messages.mo b/locale/tr_TR/LC_MESSAGES/messages.mo
index 931e62141..1debaf0c2 100644
--- a/locale/tr_TR/LC_MESSAGES/messages.mo
+++ b/locale/tr_TR/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/locale/uk_UA/LC_MESSAGES/messages.mo b/locale/uk_UA/LC_MESSAGES/messages.mo
index 651cb1db7..9a6c03719 100644
--- a/locale/uk_UA/LC_MESSAGES/messages.mo
+++ b/locale/uk_UA/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/locale/zh_CN/LC_MESSAGES/messages.mo b/locale/zh_CN/LC_MESSAGES/messages.mo
index eb5c4c0c4..7a2f12fd7 100644
--- a/locale/zh_CN/LC_MESSAGES/messages.mo
+++ b/locale/zh_CN/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/locale/zh_TW/LC_MESSAGES/messages.mo b/locale/zh_TW/LC_MESSAGES/messages.mo
index fb2a6b92b..7b5c40b78 100644
--- a/locale/zh_TW/LC_MESSAGES/messages.mo
+++ b/locale/zh_TW/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/messages.pot b/messages.pot
index ce67234d1..2e856e500 100644
--- a/messages.pot
+++ b/messages.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2021-02-26 13:06+0300\n"
+"POT-Creation-Date: 2021-02-26 13:25+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/utils/rebase-translations.sh b/utils/rebase-translations.sh
index 564267ab8..9fe5e838f 100755
--- a/utils/rebase-translations.sh
+++ b/utils/rebase-translations.sh
@@ -10,8 +10,6 @@ xgettext --from-code utf-8 -k__ -kNotify.info -kNotify.error -kNotify.progress \
xgettext --from-code utf-8 -k__ -kNotify.info -kNotify.error -kNotify.progress \
-kngettext:1,2 -L JavaScript -j -o $TEMPLATE `find js plugins -iname '*.js'`
-exit
-
update_lang() {
if [ -f $1.po ]; then
msgmerge --no-wrap --width 1 -U $1.po $TEMPLATE
@@ -21,10 +19,14 @@ update_lang() {
fi
}
+compile_po() {
+ msgfmt --statistics $1.po -o $1.mo
+}
+
LANGS=`find locale -name 'messages.po'`
for lang in $LANGS; do
echo Updating $lang...
PO_BASENAME=`echo $lang | sed s/.po//`
- update_lang $PO_BASENAME
+ compile_po $PO_BASENAME
done