From e1cc1c5939deb1c6e2e7024066e4561bf0366f3e Mon Sep 17 00:00:00 2001 From: str4d <str4d@mail.i2p> Date: Thu, 18 Jul 2013 02:30:45 +0000 Subject: [PATCH] sv -> sv_SE to match Transifex source --- .tx/config | 16 ++++++++-------- i2p2www/__init__.py | 2 +- i2p2www/pages/global/lang.html | 2 +- .../static/images/flags/{sv.png => sv_SE.png} | Bin .../{sv => sv_SE}/LC_MESSAGES/about.po | 0 .../{sv => sv_SE}/LC_MESSAGES/blog.po | 0 .../{sv => sv_SE}/LC_MESSAGES/comparison.po | 0 .../{sv => sv_SE}/LC_MESSAGES/docs.po | 0 .../{sv => sv_SE}/LC_MESSAGES/get-involved.po | 0 .../{sv => sv_SE}/LC_MESSAGES/misc.po | 0 .../{sv => sv_SE}/LC_MESSAGES/priority.po | 0 .../{sv => sv_SE}/LC_MESSAGES/research.po | 0 12 files changed, 10 insertions(+), 10 deletions(-) rename i2p2www/static/images/flags/{sv.png => sv_SE.png} (100%) rename i2p2www/translations/{sv => sv_SE}/LC_MESSAGES/about.po (100%) rename i2p2www/translations/{sv => sv_SE}/LC_MESSAGES/blog.po (100%) rename i2p2www/translations/{sv => sv_SE}/LC_MESSAGES/comparison.po (100%) rename i2p2www/translations/{sv => sv_SE}/LC_MESSAGES/docs.po (100%) rename i2p2www/translations/{sv => sv_SE}/LC_MESSAGES/get-involved.po (100%) rename i2p2www/translations/{sv => sv_SE}/LC_MESSAGES/misc.po (100%) rename i2p2www/translations/{sv => sv_SE}/LC_MESSAGES/priority.po (100%) rename i2p2www/translations/{sv => sv_SE}/LC_MESSAGES/research.po (100%) diff --git a/.tx/config b/.tx/config index d972dcef4..e95654abd 100644 --- a/.tx/config +++ b/.tx/config @@ -4,7 +4,7 @@ source_lang = en trans.de = i2p2www/translations/de/LC_MESSAGES/about.po trans.es = i2p2www/translations/es/LC_MESSAGES/about.po trans.fr = i2p2www/translations/fr/LC_MESSAGES/about.po -trans.sv_SE = i2p2www/translations/sv/LC_MESSAGES/about.po +trans.sv_SE = i2p2www/translations/sv_SE/LC_MESSAGES/about.po type = PO [I2P.website_blog] @@ -13,7 +13,7 @@ source_lang = en trans.de = i2p2www/translations/de/LC_MESSAGES/blog.po trans.es = i2p2www/translations/es/LC_MESSAGES/blog.po trans.fr = i2p2www/translations/fr/LC_MESSAGES/blog.po -trans.sv_SE = i2p2www/translations/sv/LC_MESSAGES/blog.po +trans.sv_SE = i2p2www/translations/sv_SE/LC_MESSAGES/blog.po type = PO [I2P.website_comparison] @@ -22,7 +22,7 @@ source_lang = en trans.de = i2p2www/translations/de/LC_MESSAGES/comparison.po trans.es = i2p2www/translations/es/LC_MESSAGES/comparison.po trans.fr = i2p2www/translations/fr/LC_MESSAGES/comparison.po -trans.sv_SE = i2p2www/translations/sv/LC_MESSAGES/comparison.po +trans.sv_SE = i2p2www/translations/sv_SE/LC_MESSAGES/comparison.po type = PO [I2P.website_docs] @@ -31,7 +31,7 @@ source_lang = en trans.de = i2p2www/translations/de/LC_MESSAGES/docs.po trans.es = i2p2www/translations/es/LC_MESSAGES/docs.po trans.fr = i2p2www/translations/fr/LC_MESSAGES/docs.po -trans.sv_SE = i2p2www/translations/sv/LC_MESSAGES/docs.po +trans.sv_SE = i2p2www/translations/sv_SE/LC_MESSAGES/docs.po type = PO [I2P.website_get-involved] @@ -40,7 +40,7 @@ source_lang = en trans.de = i2p2www/translations/de/LC_MESSAGES/get-involved.po trans.es = i2p2www/translations/es/LC_MESSAGES/get-involved.po trans.fr = i2p2www/translations/fr/LC_MESSAGES/get-involved.po -trans.sv_SE = i2p2www/translations/sv/LC_MESSAGES/get-involved.po +trans.sv_SE = i2p2www/translations/sv_SE/LC_MESSAGES/get-involved.po type = PO [I2P.website_misc] @@ -49,7 +49,7 @@ source_lang = en trans.de = i2p2www/translations/de/LC_MESSAGES/misc.po trans.es = i2p2www/translations/es/LC_MESSAGES/misc.po trans.fr = i2p2www/translations/fr/LC_MESSAGES/misc.po -trans.sv_SE = i2p2www/translations/sv/LC_MESSAGES/misc.po +trans.sv_SE = i2p2www/translations/sv_SE/LC_MESSAGES/misc.po type = PO [I2P.website_priority] @@ -58,7 +58,7 @@ source_lang = en trans.de = i2p2www/translations/de/LC_MESSAGES/priority.po trans.es = i2p2www/translations/es/LC_MESSAGES/priority.po trans.fr = i2p2www/translations/fr/LC_MESSAGES/priority.po -trans.sv_SE = i2p2www/translations/sv/LC_MESSAGES/priority.po +trans.sv_SE = i2p2www/translations/sv_SE/LC_MESSAGES/priority.po type = PO [I2P.website_research] @@ -67,7 +67,7 @@ source_lang = en trans.de = i2p2www/translations/de/LC_MESSAGES/research.po trans.es = i2p2www/translations/es/LC_MESSAGES/research.po trans.fr = i2p2www/translations/fr/LC_MESSAGES/research.po -trans.sv_SE = i2p2www/translations/sv/LC_MESSAGES/research.po +trans.sv_SE = i2p2www/translations/sv_SE/LC_MESSAGES/research.po type = PO [main] diff --git a/i2p2www/__init__.py b/i2p2www/__init__.py index c50e2a702..764052b32 100644 --- a/i2p2www/__init__.py +++ b/i2p2www/__init__.py @@ -26,7 +26,7 @@ SUPPORTED_LANGS = [ # 'it', # 'nl', # 'ru', - 'sv', + 'sv_SE', # 'cs', # 'ar', # 'el', diff --git a/i2p2www/pages/global/lang.html b/i2p2www/pages/global/lang.html index 314f7be41..8a358918b 100644 --- a/i2p2www/pages/global/lang.html +++ b/i2p2www/pages/global/lang.html @@ -3,5 +3,5 @@ <li><a href="{{ change_lang('es') }}" rel="alternate" hreflang="es"><div class="menuitem"><img src="{{ get_flag('es') }}" alt="Castellano" /></div></a></li> <li><a href="{{ change_lang('de') }}" rel="alternate" hreflang="de"><div class="menuitem"><img src="{{ get_flag('de') }}" alt="Deutsch" /></div></a></li> <li><a href="{{ change_lang('fr') }}" rel="alternate" hreflang="fr"><div class="menuitem"><img src="{{ get_flag('fr') }}" alt="Français" /></div></a></li> - <li><a href="{{ change_lang('sv') }}" rel="alternate" hreflang="sv"><div class="menuitem"><img src="{{ get_flag('sv') }}" alt="Svenska" /></div></a></li> + <li><a href="{{ change_lang('sv_SE') }}" rel="alternate" hreflang="sv_SE"><div class="menuitem"><img src="{{ get_flag('sv_SE') }}" alt="Svenska" /></div></a></li> </ul> diff --git a/i2p2www/static/images/flags/sv.png b/i2p2www/static/images/flags/sv_SE.png similarity index 100% rename from i2p2www/static/images/flags/sv.png rename to i2p2www/static/images/flags/sv_SE.png diff --git a/i2p2www/translations/sv/LC_MESSAGES/about.po b/i2p2www/translations/sv_SE/LC_MESSAGES/about.po similarity index 100% rename from i2p2www/translations/sv/LC_MESSAGES/about.po rename to i2p2www/translations/sv_SE/LC_MESSAGES/about.po diff --git a/i2p2www/translations/sv/LC_MESSAGES/blog.po b/i2p2www/translations/sv_SE/LC_MESSAGES/blog.po similarity index 100% rename from i2p2www/translations/sv/LC_MESSAGES/blog.po rename to i2p2www/translations/sv_SE/LC_MESSAGES/blog.po diff --git a/i2p2www/translations/sv/LC_MESSAGES/comparison.po b/i2p2www/translations/sv_SE/LC_MESSAGES/comparison.po similarity index 100% rename from i2p2www/translations/sv/LC_MESSAGES/comparison.po rename to i2p2www/translations/sv_SE/LC_MESSAGES/comparison.po diff --git a/i2p2www/translations/sv/LC_MESSAGES/docs.po b/i2p2www/translations/sv_SE/LC_MESSAGES/docs.po similarity index 100% rename from i2p2www/translations/sv/LC_MESSAGES/docs.po rename to i2p2www/translations/sv_SE/LC_MESSAGES/docs.po diff --git a/i2p2www/translations/sv/LC_MESSAGES/get-involved.po b/i2p2www/translations/sv_SE/LC_MESSAGES/get-involved.po similarity index 100% rename from i2p2www/translations/sv/LC_MESSAGES/get-involved.po rename to i2p2www/translations/sv_SE/LC_MESSAGES/get-involved.po diff --git a/i2p2www/translations/sv/LC_MESSAGES/misc.po b/i2p2www/translations/sv_SE/LC_MESSAGES/misc.po similarity index 100% rename from i2p2www/translations/sv/LC_MESSAGES/misc.po rename to i2p2www/translations/sv_SE/LC_MESSAGES/misc.po diff --git a/i2p2www/translations/sv/LC_MESSAGES/priority.po b/i2p2www/translations/sv_SE/LC_MESSAGES/priority.po similarity index 100% rename from i2p2www/translations/sv/LC_MESSAGES/priority.po rename to i2p2www/translations/sv_SE/LC_MESSAGES/priority.po diff --git a/i2p2www/translations/sv/LC_MESSAGES/research.po b/i2p2www/translations/sv_SE/LC_MESSAGES/research.po similarity index 100% rename from i2p2www/translations/sv/LC_MESSAGES/research.po rename to i2p2www/translations/sv_SE/LC_MESSAGES/research.po -- GitLab