Browse Source

we need to compile .mo files after all

pull/9/head
Andrew Dolgov 2 months ago
parent
commit
fa7c6a6129
  1. BIN
      locale/ar_SA/LC_MESSAGES/messages.mo
  2. BIN
      locale/bg_BG/LC_MESSAGES/messages.mo
  3. BIN
      locale/ca_CA/LC_MESSAGES/messages.mo
  4. BIN
      locale/cs_CZ/LC_MESSAGES/messages.mo
  5. BIN
      locale/da_DK/LC_MESSAGES/messages.mo
  6. BIN
      locale/de_DE/LC_MESSAGES/messages.mo
  7. BIN
      locale/el_GR/LC_MESSAGES/messages.mo
  8. BIN
      locale/eo/LC_MESSAGES/messages.mo
  9. BIN
      locale/es_ES/LC_MESSAGES/messages.mo
  10. BIN
      locale/es_LA/LC_MESSAGES/messages.mo
  11. BIN
      locale/fa/LC_MESSAGES/messages.mo
  12. BIN
      locale/fi_FI/LC_MESSAGES/messages.mo
  13. BIN
      locale/fr_FR/LC_MESSAGES/messages.mo
  14. BIN
      locale/hu_HU/LC_MESSAGES/messages.mo
  15. BIN
      locale/it_IT/LC_MESSAGES/messages.mo
  16. BIN
      locale/ja_JP/LC_MESSAGES/messages.mo
  17. BIN
      locale/ko_KR/LC_MESSAGES/messages.mo
  18. BIN
      locale/lv_LV/LC_MESSAGES/messages.mo
  19. BIN
      locale/nb_NO/LC_MESSAGES/messages.mo
  20. BIN
      locale/nl_NL/LC_MESSAGES/messages.mo
  21. BIN
      locale/pl_PL/LC_MESSAGES/messages.mo
  22. BIN
      locale/pt_BR/LC_MESSAGES/messages.mo
  23. BIN
      locale/pt_PT/LC_MESSAGES/messages.mo
  24. BIN
      locale/ru_RU/LC_MESSAGES/messages.mo
  25. BIN
      locale/sv_SE/LC_MESSAGES/messages.mo
  26. BIN
      locale/tr_TR/LC_MESSAGES/messages.mo
  27. BIN
      locale/uk_UA/LC_MESSAGES/messages.mo
  28. BIN
      locale/zh_CN/LC_MESSAGES/messages.mo
  29. BIN
      locale/zh_TW/LC_MESSAGES/messages.mo
  30. 2
      messages.pot
  31. 8
      utils/rebase-translations.sh

BIN
locale/ar_SA/LC_MESSAGES/messages.mo

BIN
locale/bg_BG/LC_MESSAGES/messages.mo

BIN
locale/ca_CA/LC_MESSAGES/messages.mo

BIN
locale/cs_CZ/LC_MESSAGES/messages.mo

BIN
locale/da_DK/LC_MESSAGES/messages.mo

BIN
locale/de_DE/LC_MESSAGES/messages.mo

BIN
locale/el_GR/LC_MESSAGES/messages.mo

BIN
locale/eo/LC_MESSAGES/messages.mo

BIN
locale/es_ES/LC_MESSAGES/messages.mo

BIN
locale/es_LA/LC_MESSAGES/messages.mo

BIN
locale/fa/LC_MESSAGES/messages.mo

BIN
locale/fi_FI/LC_MESSAGES/messages.mo

BIN
locale/fr_FR/LC_MESSAGES/messages.mo

BIN
locale/hu_HU/LC_MESSAGES/messages.mo

BIN
locale/it_IT/LC_MESSAGES/messages.mo

BIN
locale/ja_JP/LC_MESSAGES/messages.mo

BIN
locale/ko_KR/LC_MESSAGES/messages.mo

BIN
locale/lv_LV/LC_MESSAGES/messages.mo

BIN
locale/nb_NO/LC_MESSAGES/messages.mo

BIN
locale/nl_NL/LC_MESSAGES/messages.mo

BIN
locale/pl_PL/LC_MESSAGES/messages.mo

BIN
locale/pt_BR/LC_MESSAGES/messages.mo

BIN
locale/pt_PT/LC_MESSAGES/messages.mo

BIN
locale/ru_RU/LC_MESSAGES/messages.mo

BIN
locale/sv_SE/LC_MESSAGES/messages.mo

BIN
locale/tr_TR/LC_MESSAGES/messages.mo

BIN
locale/uk_UA/LC_MESSAGES/messages.mo

BIN
locale/zh_CN/LC_MESSAGES/messages.mo

BIN
locale/zh_TW/LC_MESSAGES/messages.mo

2
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 <LL@li.org>\n"

8
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
Loading…
Cancel
Save