From 120907b1f32ec6df0ecfa4583662d4ef6d39d312 Mon Sep 17 00:00:00 2001 From: Benjamin Dabelow Date: Mon, 8 Jun 2015 01:09:19 +0200 Subject: [PATCH 1/2] Move locale files to standard location. --- gettext/{de_DE.UTF8.po => de_DE.UTF-8.po} | 0 gettext/{es_ES.UTF8.po => es_ES.UTF-8.po} | 0 gettext/{fr_FR.UTF8.po => fr_FR.UTF-8.po} | 0 gettext/{it_IT.UTF8.po => it_IT.UTF-8.po} | 0 gettext/{ja_JP.UTF8.po => ja_JP.UTF-8.po} | 0 gettext/{pl_PL.UTF8.po => pl_PL.UTF-8.po} | 0 gettext/{ru_RU.UTF8.po => ru_RU.UTF-8.po} | 0 gettext/{sk_SK.UTF8.po => sk_SK.UTF-8.po} | 0 gettext/{sv_SE.UTF8.po => sv_SE.UTF-8.po} | 0 gettext/{tr_TR.UTF8.po => tr_TR.UTF-8.po} | 0 gettext/{zh_CN.UTF8.po => zh_CN.UTF-8.po} | 0 .../LC_MESSAGES/keepnote.mo | Bin .../LC_MESSAGES/keepnote.mo | Bin .../LC_MESSAGES/keepnote.mo | Bin .../LC_MESSAGES/keepnote.mo | Bin .../LC_MESSAGES/keepnote.mo | Bin .../LC_MESSAGES/keepnote.mo | Bin .../LC_MESSAGES/keepnote.mo | Bin .../LC_MESSAGES/keepnote.mo | Bin .../LC_MESSAGES/keepnote.mo | Bin .../LC_MESSAGES/keepnote.mo | Bin .../LC_MESSAGES/keepnote.mo | Bin 22 files changed, 0 insertions(+), 0 deletions(-) rename gettext/{de_DE.UTF8.po => de_DE.UTF-8.po} (100%) rename gettext/{es_ES.UTF8.po => es_ES.UTF-8.po} (100%) rename gettext/{fr_FR.UTF8.po => fr_FR.UTF-8.po} (100%) rename gettext/{it_IT.UTF8.po => it_IT.UTF-8.po} (100%) rename gettext/{ja_JP.UTF8.po => ja_JP.UTF-8.po} (100%) rename gettext/{pl_PL.UTF8.po => pl_PL.UTF-8.po} (100%) rename gettext/{ru_RU.UTF8.po => ru_RU.UTF-8.po} (100%) rename gettext/{sk_SK.UTF8.po => sk_SK.UTF-8.po} (100%) rename gettext/{sv_SE.UTF8.po => sv_SE.UTF-8.po} (100%) rename gettext/{tr_TR.UTF8.po => tr_TR.UTF-8.po} (100%) rename gettext/{zh_CN.UTF8.po => zh_CN.UTF-8.po} (100%) rename keepnote/rc/locale/{de_DE.UTF8 => de_DE.UTF-8}/LC_MESSAGES/keepnote.mo (100%) rename keepnote/rc/locale/{es_ES.UTF8 => es_ES.UTF-8}/LC_MESSAGES/keepnote.mo (100%) rename keepnote/rc/locale/{fr_FR.UTF8 => fr_FR.UTF-8}/LC_MESSAGES/keepnote.mo (100%) rename keepnote/rc/locale/{it_IT.UTF8 => it_IT.UTF-8}/LC_MESSAGES/keepnote.mo (100%) rename keepnote/rc/locale/{ja_JP.UTF8 => ja_JP.UTF-8}/LC_MESSAGES/keepnote.mo (100%) rename keepnote/rc/locale/{pl_PL.UTF8 => pl_PL.UTF-8}/LC_MESSAGES/keepnote.mo (100%) rename keepnote/rc/locale/{ru_RU.UTF8 => ru_RU.UTF-8}/LC_MESSAGES/keepnote.mo (100%) rename keepnote/rc/locale/{sk_SK.UTF8 => sk_SK.UTF-8}/LC_MESSAGES/keepnote.mo (100%) rename keepnote/rc/locale/{sv_SE.UTF8 => sv_SE.UTF-8}/LC_MESSAGES/keepnote.mo (100%) rename keepnote/rc/locale/{tr_TR.UTF8 => tr_TR.UTF-8}/LC_MESSAGES/keepnote.mo (100%) rename keepnote/rc/locale/{zh_CN.UTF8 => zh_CN.UTF-8}/LC_MESSAGES/keepnote.mo (100%) diff --git a/gettext/de_DE.UTF8.po b/gettext/de_DE.UTF-8.po similarity index 100% rename from gettext/de_DE.UTF8.po rename to gettext/de_DE.UTF-8.po diff --git a/gettext/es_ES.UTF8.po b/gettext/es_ES.UTF-8.po similarity index 100% rename from gettext/es_ES.UTF8.po rename to gettext/es_ES.UTF-8.po diff --git a/gettext/fr_FR.UTF8.po b/gettext/fr_FR.UTF-8.po similarity index 100% rename from gettext/fr_FR.UTF8.po rename to gettext/fr_FR.UTF-8.po diff --git a/gettext/it_IT.UTF8.po b/gettext/it_IT.UTF-8.po similarity index 100% rename from gettext/it_IT.UTF8.po rename to gettext/it_IT.UTF-8.po diff --git a/gettext/ja_JP.UTF8.po b/gettext/ja_JP.UTF-8.po similarity index 100% rename from gettext/ja_JP.UTF8.po rename to gettext/ja_JP.UTF-8.po diff --git a/gettext/pl_PL.UTF8.po b/gettext/pl_PL.UTF-8.po similarity index 100% rename from gettext/pl_PL.UTF8.po rename to gettext/pl_PL.UTF-8.po diff --git a/gettext/ru_RU.UTF8.po b/gettext/ru_RU.UTF-8.po similarity index 100% rename from gettext/ru_RU.UTF8.po rename to gettext/ru_RU.UTF-8.po diff --git a/gettext/sk_SK.UTF8.po b/gettext/sk_SK.UTF-8.po similarity index 100% rename from gettext/sk_SK.UTF8.po rename to gettext/sk_SK.UTF-8.po diff --git a/gettext/sv_SE.UTF8.po b/gettext/sv_SE.UTF-8.po similarity index 100% rename from gettext/sv_SE.UTF8.po rename to gettext/sv_SE.UTF-8.po diff --git a/gettext/tr_TR.UTF8.po b/gettext/tr_TR.UTF-8.po similarity index 100% rename from gettext/tr_TR.UTF8.po rename to gettext/tr_TR.UTF-8.po diff --git a/gettext/zh_CN.UTF8.po b/gettext/zh_CN.UTF-8.po similarity index 100% rename from gettext/zh_CN.UTF8.po rename to gettext/zh_CN.UTF-8.po diff --git a/keepnote/rc/locale/de_DE.UTF8/LC_MESSAGES/keepnote.mo b/keepnote/rc/locale/de_DE.UTF-8/LC_MESSAGES/keepnote.mo similarity index 100% rename from keepnote/rc/locale/de_DE.UTF8/LC_MESSAGES/keepnote.mo rename to keepnote/rc/locale/de_DE.UTF-8/LC_MESSAGES/keepnote.mo diff --git a/keepnote/rc/locale/es_ES.UTF8/LC_MESSAGES/keepnote.mo b/keepnote/rc/locale/es_ES.UTF-8/LC_MESSAGES/keepnote.mo similarity index 100% rename from keepnote/rc/locale/es_ES.UTF8/LC_MESSAGES/keepnote.mo rename to keepnote/rc/locale/es_ES.UTF-8/LC_MESSAGES/keepnote.mo diff --git a/keepnote/rc/locale/fr_FR.UTF8/LC_MESSAGES/keepnote.mo b/keepnote/rc/locale/fr_FR.UTF-8/LC_MESSAGES/keepnote.mo similarity index 100% rename from keepnote/rc/locale/fr_FR.UTF8/LC_MESSAGES/keepnote.mo rename to keepnote/rc/locale/fr_FR.UTF-8/LC_MESSAGES/keepnote.mo diff --git a/keepnote/rc/locale/it_IT.UTF8/LC_MESSAGES/keepnote.mo b/keepnote/rc/locale/it_IT.UTF-8/LC_MESSAGES/keepnote.mo similarity index 100% rename from keepnote/rc/locale/it_IT.UTF8/LC_MESSAGES/keepnote.mo rename to keepnote/rc/locale/it_IT.UTF-8/LC_MESSAGES/keepnote.mo diff --git a/keepnote/rc/locale/ja_JP.UTF8/LC_MESSAGES/keepnote.mo b/keepnote/rc/locale/ja_JP.UTF-8/LC_MESSAGES/keepnote.mo similarity index 100% rename from keepnote/rc/locale/ja_JP.UTF8/LC_MESSAGES/keepnote.mo rename to keepnote/rc/locale/ja_JP.UTF-8/LC_MESSAGES/keepnote.mo diff --git a/keepnote/rc/locale/pl_PL.UTF8/LC_MESSAGES/keepnote.mo b/keepnote/rc/locale/pl_PL.UTF-8/LC_MESSAGES/keepnote.mo similarity index 100% rename from keepnote/rc/locale/pl_PL.UTF8/LC_MESSAGES/keepnote.mo rename to keepnote/rc/locale/pl_PL.UTF-8/LC_MESSAGES/keepnote.mo diff --git a/keepnote/rc/locale/ru_RU.UTF8/LC_MESSAGES/keepnote.mo b/keepnote/rc/locale/ru_RU.UTF-8/LC_MESSAGES/keepnote.mo similarity index 100% rename from keepnote/rc/locale/ru_RU.UTF8/LC_MESSAGES/keepnote.mo rename to keepnote/rc/locale/ru_RU.UTF-8/LC_MESSAGES/keepnote.mo diff --git a/keepnote/rc/locale/sk_SK.UTF8/LC_MESSAGES/keepnote.mo b/keepnote/rc/locale/sk_SK.UTF-8/LC_MESSAGES/keepnote.mo similarity index 100% rename from keepnote/rc/locale/sk_SK.UTF8/LC_MESSAGES/keepnote.mo rename to keepnote/rc/locale/sk_SK.UTF-8/LC_MESSAGES/keepnote.mo diff --git a/keepnote/rc/locale/sv_SE.UTF8/LC_MESSAGES/keepnote.mo b/keepnote/rc/locale/sv_SE.UTF-8/LC_MESSAGES/keepnote.mo similarity index 100% rename from keepnote/rc/locale/sv_SE.UTF8/LC_MESSAGES/keepnote.mo rename to keepnote/rc/locale/sv_SE.UTF-8/LC_MESSAGES/keepnote.mo diff --git a/keepnote/rc/locale/tr_TR.UTF8/LC_MESSAGES/keepnote.mo b/keepnote/rc/locale/tr_TR.UTF-8/LC_MESSAGES/keepnote.mo similarity index 100% rename from keepnote/rc/locale/tr_TR.UTF8/LC_MESSAGES/keepnote.mo rename to keepnote/rc/locale/tr_TR.UTF-8/LC_MESSAGES/keepnote.mo diff --git a/keepnote/rc/locale/zh_CN.UTF8/LC_MESSAGES/keepnote.mo b/keepnote/rc/locale/zh_CN.UTF-8/LC_MESSAGES/keepnote.mo similarity index 100% rename from keepnote/rc/locale/zh_CN.UTF8/LC_MESSAGES/keepnote.mo rename to keepnote/rc/locale/zh_CN.UTF-8/LC_MESSAGES/keepnote.mo From a94dfc2d3d959c6ddbe42292ca58a96f86f6fb05 Mon Sep 17 00:00:00 2001 From: Benjamin Dabelow Date: Wed, 8 Jul 2015 01:08:32 +0200 Subject: [PATCH 2/2] Reflect name change of locale files in README.translations.txt --- README.translations.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.translations.txt b/README.translations.txt index 1198e4c8..ca297769 100644 --- a/README.translations.txt +++ b/README.translations.txt @@ -32,10 +32,10 @@ command: If your language is not already present (should be 'gettext/$LANG.po'), then use this command to create a blank translation file: - make -f Makefile.gettext new LANG=de_DE.UTF8 + make -f Makefile.gettext new LANG=de_DE.UTF-8 -In this example, a new translation for de_DE.UTF8 (German) is created. You -can now edit the file 'gettext/de_DE.UTF8.po' +In this example, a new translation for de_DE.UTF-8 (German) is created. You +can now edit the file 'gettext/de_DE.UTF-8.po' 4. Updating an existing translation with new extracted strings @@ -46,7 +46,7 @@ again (see step 2) and merged into the existing translations within 'gettext/$LANG.po'. If you were working on the German translation the command is: - make -f Makefile.gettext update LANG=de_DE.UTF8 + make -f Makefile.gettext update LANG=de_DE.UTF-8 5. Compiling translations @@ -55,7 +55,7 @@ command is: Once translations are written in 'gettext/$LANG.po' they must be compiled into a file named 'locale/$LANG/LC_MESSAGES/keepnote.mo'. Use this command, - make -f Makefile.gettext make LANG=de_DE.UTF8 + make -f Makefile.gettext make LANG=de_DE.UTF-8 6. Testing/Using a translation @@ -65,7 +65,7 @@ To test or use a translation make sure that the LANG environment variable is set to the translation you would like to use, prior to running KeepNote. For example, to run KeepNote with German translations use: - LANG=de_DE.UTF8 bin/keepnote + LANG=de_DE.UTF-8 bin/keepnote 7. Submitting your translation for inclusion in the KeepNote distribution