From 0d3a0e0dff4812e165654163805d433b52999f2b Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Fri, 5 Mar 2021 09:19:58 -0800 Subject: [PATCH] Move Serbian po Updates the Serbian language code from sr_RS to sr. This appears to work as intended under Debian whereas the full code, despite existing in the i18n directory was not recognized by wxWidgets or Weblate. --- common/pgm_base.cpp | 1 + include/id.h | 1 + translation/pofiles/LINGUAS | 2 +- translation/pofiles/{sr_RS.po => sr.po} | 0 4 files changed, 3 insertions(+), 1 deletion(-) rename translation/pofiles/{sr_RS.po => sr.po} (100%) diff --git a/common/pgm_base.cpp b/common/pgm_base.cpp index 59a6559570..c12da26d08 100644 --- a/common/pgm_base.cpp +++ b/common/pgm_base.cpp @@ -92,6 +92,7 @@ LANGUAGE_DESCR LanguagesList[] = { wxLANGUAGE_POLISH, ID_LANGUAGE_POLISH, wxT( "Polski" ), true }, { wxLANGUAGE_PORTUGUESE, ID_LANGUAGE_PORTUGUESE, wxT( "Português" ),true }, { wxLANGUAGE_RUSSIAN, ID_LANGUAGE_RUSSIAN, wxT( "Русский" ), true }, + { wxLANGUAGE_SERBIAN, ID_LANGUAGE_SERBIAN, wxT( "Српски"), true }, { wxLANGUAGE_FINNISH, ID_LANGUAGE_FINNISH, wxT( "Suomalainen" ), true }, { wxLANGUAGE_VIETNAMESE, ID_LANGUAGE_VIETNAMESE, wxT( "Tiếng việt" ), true }, { wxLANGUAGE_TURKISH, ID_LANGUAGE_TURKISH, wxT( "Türk" ), true }, diff --git a/include/id.h b/include/id.h index e5d1033a61..24fbfcfce2 100644 --- a/include/id.h +++ b/include/id.h @@ -144,6 +144,7 @@ enum main_id ID_LANGUAGE_LATVIAN, ID_LANGUAGE_LITHUANIAN, ID_LANGUAGE_VIETNAMESE, + ID_LANGUAGE_SERBIAN, ID_LANGUAGE_CHOICE_END, // Popup Menu (mouse Right button) (id consecutifs) diff --git a/translation/pofiles/LINGUAS b/translation/pofiles/LINGUAS index bb5c285c69..6c6f81b7d7 100644 --- a/translation/pofiles/LINGUAS +++ b/translation/pofiles/LINGUAS @@ -24,7 +24,7 @@ pt ru sk sl -sr_RS +sr sv tr vi diff --git a/translation/pofiles/sr_RS.po b/translation/pofiles/sr.po similarity index 100% rename from translation/pofiles/sr_RS.po rename to translation/pofiles/sr.po