Merge pull request #3857 from JosJuice/update-language-list

Add more languages, and remove Hebrew because it's very incomplete
This commit is contained in:
Pierre Bourdon 2016-05-29 15:22:16 +02:00
commit 0fa9233c1a
8 changed files with 19890 additions and 444 deletions

View File

@ -14,22 +14,25 @@
<msgfmt Include="po\ar.po" />
<msgfmt Include="po\ca.po" />
<msgfmt Include="po\cs.po" />
<msgfmt Include="po\da_DK.po" />
<msgfmt Include="po\de.po" />
<msgfmt Include="po\el.po" />
<msgfmt Include="po\en.po" />
<msgfmt Include="po\es.po" />
<msgfmt Include="po\fa.po" />
<msgfmt Include="po\fr.po" />
<msgfmt Include="po\he.po" />
<msgfmt Include="po\hr.po" />
<msgfmt Include="po\hu.po" />
<msgfmt Include="po\it.po" />
<msgfmt Include="po\ja.po" />
<msgfmt Include="po\ko.po" />
<msgfmt Include="po\ms_MY.po" />
<msgfmt Include="po\nb.po" />
<msgfmt Include="po\nl.po" />
<msgfmt Include="po\pl.po" />
<msgfmt Include="po\pt.po" />
<msgfmt Include="po\pt_BR.po" />
<msgfmt Include="po\ro_RO.po" />
<msgfmt Include="po\ru.po" />
<msgfmt Include="po\sr.po" />
<msgfmt Include="po\sv.po" />

File diff suppressed because it is too large Load Diff

6260
Languages/po/hr.po Normal file

File diff suppressed because it is too large Load Diff

6646
Languages/po/ms_MY.po Normal file

File diff suppressed because it is too large Load Diff

6300
Languages/po/ro_RO.po Normal file

File diff suppressed because it is too large Load Diff

View File

@ -37,22 +37,25 @@
<string>ar</string>
<string>ca</string>
<string>cs</string>
<string>da_DK</string>
<string>de</string>
<string>el</string>
<string>en</string>
<string>es</string>
<string>fa</string>
<string>fr</string>
<string>he</string>
<string>hr</string>
<string>hu</string>
<string>it</string>
<string>ja</string>
<string>ko</string>
<string>ms_MY</string>
<string>nb</string>
<string>nl</string>
<string>pl</string>
<string>pt</string>
<string>pt_BR</string>
<string>ro_RO</string>
<string>ru</string>
<string>sr</string>
<string>sv</string>

View File

@ -31,12 +31,15 @@ static const wxLanguage language_ids[] =
{
wxLANGUAGE_DEFAULT,
wxLANGUAGE_MALAY,
wxLANGUAGE_CATALAN,
wxLANGUAGE_CZECH,
wxLANGUAGE_DANISH,
wxLANGUAGE_GERMAN,
wxLANGUAGE_ENGLISH,
wxLANGUAGE_SPANISH,
wxLANGUAGE_FRENCH,
wxLANGUAGE_CROATIAN,
wxLANGUAGE_ITALIAN,
wxLANGUAGE_HUNGARIAN,
wxLANGUAGE_DUTCH,
@ -44,13 +47,13 @@ static const wxLanguage language_ids[] =
wxLANGUAGE_POLISH,
wxLANGUAGE_PORTUGUESE,
wxLANGUAGE_PORTUGUESE_BRAZILIAN,
wxLANGUAGE_ROMANIAN,
wxLANGUAGE_SERBIAN,
wxLANGUAGE_SWEDISH,
wxLANGUAGE_TURKISH,
wxLANGUAGE_GREEK,
wxLANGUAGE_RUSSIAN,
wxLANGUAGE_HEBREW,
wxLANGUAGE_ARABIC,
wxLANGUAGE_FARSI,
wxLANGUAGE_KOREAN,
@ -69,14 +72,18 @@ InterfaceConfigPane::InterfaceConfigPane(wxWindow* parent, wxWindowID id)
void InterfaceConfigPane::InitializeGUI()
{
// GUI language arrayStrings
// keep these in sync with the langIds array at the beginning of this file
// keep these in sync with the language_ids array at the beginning of this file
m_interface_lang_strings.Add(_("<System Language>"));
m_interface_lang_strings.Add(L"Bahasa Melayu"); // Malay
m_interface_lang_strings.Add(L"Catal\u00E0"); // Catalan
m_interface_lang_strings.Add(L"\u010Ce\u0161tina"); // Czech
m_interface_lang_strings.Add(L"Dansk"); // Danish
m_interface_lang_strings.Add(L"Deutsch"); // German
m_interface_lang_strings.Add(L"English"); // English
m_interface_lang_strings.Add(L"Espa\u00F1ol"); // Spanish
m_interface_lang_strings.Add(L"Fran\u00E7ais"); // French
m_interface_lang_strings.Add(L"Hrvatski"); // Croatian
m_interface_lang_strings.Add(L"Italiano"); // Italian
m_interface_lang_strings.Add(L"Magyar"); // Hungarian
m_interface_lang_strings.Add(L"Nederlands"); // Dutch
@ -84,12 +91,13 @@ void InterfaceConfigPane::InitializeGUI()
m_interface_lang_strings.Add(L"Polski"); // Polish
m_interface_lang_strings.Add(L"Portugu\u00EAs"); // Portuguese
m_interface_lang_strings.Add(L"Portugu\u00EAs (Brasil)"); // Portuguese (Brazil)
m_interface_lang_strings.Add(L"Rom\u00E2n\u0103"); // Romanian
m_interface_lang_strings.Add(L"Srpski"); // Serbian
m_interface_lang_strings.Add(L"Svenska"); // Swedish
m_interface_lang_strings.Add(L"T\u00FCrk\u00E7e"); // Turkish
m_interface_lang_strings.Add(L"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC"); // Greek
m_interface_lang_strings.Add(L"\u0420\u0443\u0441\u0441\u043A\u0438\u0439"); // Russian
m_interface_lang_strings.Add(L"\u05E2\u05D1\u05E8\u05D9\u05EA"); // Hebrew
m_interface_lang_strings.Add(L"\u0627\u0644\u0639\u0631\u0628\u064A\u0629"); // Arabic
m_interface_lang_strings.Add(L"\u0641\u0627\u0631\u0633\u06CC"); // Farsi
m_interface_lang_strings.Add(L"\uD55C\uAD6D\uC5B4"); // Korean

View File

@ -37,22 +37,25 @@
<string>ar</string>
<string>ca</string>
<string>cs</string>
<string>da_DK</string>
<string>de</string>
<string>el</string>
<string>en</string>
<string>es</string>
<string>fa</string>
<string>fr</string>
<string>he</string>
<string>hr</string>
<string>hu</string>
<string>it</string>
<string>ja</string>
<string>ko</string>
<string>ms_MY</string>
<string>nb</string>
<string>nl</string>
<string>pl</string>
<string>pt</string>
<string>pt_BR</string>
<string>ro_RO</string>
<string>ru</string>
<string>sr</string>
<string>sv</string>