DolphinQt2: Fix broken language encodings on Windows
This commit is contained in:
parent
d1b20518fc
commit
c39778395c
|
@ -27,34 +27,34 @@ static QComboBox* MakeLanguageComboBox()
|
|||
const QString name;
|
||||
const char* id;
|
||||
} languages[] = {
|
||||
{QStringLiteral("Bahasa Melayu"), "ms"}, // Malay
|
||||
{QStringLiteral("Catal\u00E0"), "ca"}, // Catalan
|
||||
{QStringLiteral("\u010Ce\u0161tina"), "cs"}, // Czech
|
||||
{QStringLiteral("Dansk"), "da"}, // Danish
|
||||
{QStringLiteral("Deutsch"), "de"}, // German
|
||||
{QStringLiteral("English"), "en"}, // English
|
||||
{QStringLiteral("Espa\u00F1ol"), "es"}, // Spanish
|
||||
{QStringLiteral("Fran\u00E7ais"), "fr"}, // French
|
||||
{QStringLiteral("Hrvatski"), "hr"}, // Croatian
|
||||
{QStringLiteral("Italiano"), "it"}, // Italian
|
||||
{QStringLiteral("Magyar"), "hu"}, // Hungarian
|
||||
{QStringLiteral("Nederlands"), "nl"}, // Dutch
|
||||
{QStringLiteral("Norsk bokm\u00E5l"), "nb"}, // Norwegian
|
||||
{QStringLiteral("Polski"), "pl"}, // Polish
|
||||
{QStringLiteral("Portugu\u00EAs"), "pt"}, // Portuguese
|
||||
{QStringLiteral("Portugu\u00EAs (Brasil)"), "pt_BR"}, // Portuguese (Brazil)
|
||||
{QStringLiteral("Rom\u00E2n\u0103"), "ro"}, // Romanian
|
||||
{QStringLiteral("Srpski"), "sr"}, // Serbian
|
||||
{QStringLiteral("Svenska"), "sv"}, // Swedish
|
||||
{QStringLiteral("T\u00FCrk\u00E7e"), "tr"}, // Turkish
|
||||
{QStringLiteral("\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC"), "el"}, // Greek
|
||||
{QStringLiteral("\u0420\u0443\u0441\u0441\u043A\u0438\u0439"), "ru"}, // Russian
|
||||
{QStringLiteral("\u0627\u0644\u0639\u0631\u0628\u064A\u0629"), "ar"}, // Arabic
|
||||
{QStringLiteral("\u0641\u0627\u0631\u0633\u06CC"), "fa"}, // Farsi
|
||||
{QStringLiteral("\uD55C\uAD6D\uC5B4"), "ko"}, // Korean
|
||||
{QStringLiteral("\u65E5\u672C\u8A9E"), "ja"}, // Japanese
|
||||
{QStringLiteral("\u7B80\u4F53\u4E2D\u6587"), "zh_CN"}, // Simplified Chinese
|
||||
{QStringLiteral("\u7E41\u9AD4\u4E2D\u6587"), "zh_TW"}, // Traditional Chinese
|
||||
{QStringLiteral(u"Bahasa Melayu"), "ms"}, // Malay
|
||||
{QStringLiteral(u"Catal\u00E0"), "ca"}, // Catalan
|
||||
{QStringLiteral(u"\u010Ce\u0161tina"), "cs"}, // Czech
|
||||
{QStringLiteral(u"Dansk"), "da"}, // Danish
|
||||
{QStringLiteral(u"Deutsch"), "de"}, // German
|
||||
{QStringLiteral(u"English"), "en"}, // English
|
||||
{QStringLiteral(u"Espa\u00F1ol"), "es"}, // Spanish
|
||||
{QStringLiteral(u"Fran\u00E7ais"), "fr"}, // French
|
||||
{QStringLiteral(u"Hrvatski"), "hr"}, // Croatian
|
||||
{QStringLiteral(u"Italiano"), "it"}, // Italian
|
||||
{QStringLiteral(u"Magyar"), "hu"}, // Hungarian
|
||||
{QStringLiteral(u"Nederlands"), "nl"}, // Dutch
|
||||
{QStringLiteral(u"Norsk bokm\u00E5l"), "nb"}, // Norwegian
|
||||
{QStringLiteral(u"Polski"), "pl"}, // Polish
|
||||
{QStringLiteral(u"Portugu\u00EAs"), "pt"}, // Portuguese
|
||||
{QStringLiteral(u"Portugu\u00EAs (Brasil)"), "pt_BR"}, // Portuguese (Brazil)
|
||||
{QStringLiteral(u"Rom\u00E2n\u0103"), "ro"}, // Romanian
|
||||
{QStringLiteral(u"Srpski"), "sr"}, // Serbian
|
||||
{QStringLiteral(u"Svenska"), "sv"}, // Swedish
|
||||
{QStringLiteral(u"T\u00FCrk\u00E7e"), "tr"}, // Turkish
|
||||
{QStringLiteral(u"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC"), "el"}, // Greek
|
||||
{QStringLiteral(u"\u0420\u0443\u0441\u0441\u043A\u0438\u0439"), "ru"}, // Russian
|
||||
{QStringLiteral(u"\u0627\u0644\u0639\u0631\u0628\u064A\u0629"), "ar"}, // Arabic
|
||||
{QStringLiteral(u"\u0641\u0627\u0631\u0633\u06CC"), "fa"}, // Farsi
|
||||
{QStringLiteral(u"\uD55C\uAD6D\uC5B4"), "ko"}, // Korean
|
||||
{QStringLiteral(u"\u65E5\u672C\u8A9E"), "ja"}, // Japanese
|
||||
{QStringLiteral(u"\u7B80\u4F53\u4E2D\u6587"), "zh_CN"}, // Simplified Chinese
|
||||
{QStringLiteral(u"\u7E41\u9AD4\u4E2D\u6587"), "zh_TW"}, // Traditional Chinese
|
||||
};
|
||||
|
||||
auto* combobox = new QComboBox();
|
||||
|
|
Loading…
Reference in New Issue