[vlc-devel] [vlc-commits] qt: Sort language list alphabetically

Hugo Beauzée-Luyssen hugo at beauzee.fr
Wed May 22 12:22:15 CEST 2019


On Wed, May 22, 2019, at 11:26 AM, Hugo Beauzée-Luyssen wrote:
> vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed May 
> 22 10:16:43 2019 +0200| [0172cadd31de18a01b09fc829104a6e3edf2fb1b] | 
> committer: Hugo Beauzée-Luyssen
> 
> qt: Sort language list alphabetically
> 
> Except for auto & en_US.
> 
> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0172cadd31de18a01b09fc829104a6e3edf2fb1b
> ---
> 
>  modules/gui/qt/components/simple_preferences.cpp | 40 ++++++++++++------------
>  1 file changed, 20 insertions(+), 20 deletions(-)
> 
> diff --git a/modules/gui/qt/components/simple_preferences.cpp 
> b/modules/gui/qt/components/simple_preferences.cpp
> index 914b92f07d..9d4f809224 100644
> --- a/modules/gui/qt/components/simple_preferences.cpp
> +++ b/modules/gui/qt/components/simple_preferences.cpp
> @@ -68,63 +68,63 @@ static struct {
>      { "auto",  N_("Auto") },
>      { "en",    "American English" },
>      { "ar",    "عربي" },
> -    { "bn",    "বাংলা" },
> -    { "pt_BR", "Português Brasileiro" },
> -    { "en_GB", "British English" },
> -    { "el",    "Νέα Ελληνικά" },
>      { "bg",    "български език" },
> +    { "bn",    "বাংলা" },
>      { "ca",    "Català" },
> -    { "zh_TW", "正體中文" },
> +    { "ckb",   "کوردیی سۆرانی" },
>      { "cs",    "Čeština" },
>      { "cy",    "Cymraeg" },
>      { "da",    "Dansk" },
> -    { "nl",    "Nederlands" },
> -    { "fi",    "Suomi" },
> +    { "de",    "Deutsch" },
> +    { "el",    "Νέα Ελληνικά" },
> +    { "en_GB", "British English" },
> +    { "es",    "Español" },
>      { "et",    "eesti keel" },
>      { "eu",    "Euskara" },
> +    { "fa",    "فارسی" },
> +    { "fi",    "Suomi" },
>      { "fr",    "Français" },
>      { "ga",    "Gaeilge" },
>      { "gd",    "Gàidhlig" },
>      { "gl",    "Galego" },
> -    { "ka",    "ქართული" },
> -    { "de",    "Deutsch" },
>      { "he",    "עברית" },
>      { "hr",    "hrvatski" },
>      { "hu",    "Magyar" },
>      { "hy",    "հայերեն" },
> -    { "is",    "íslenska" },
>      { "id",    "Bahasa Indonesia" },
> +    { "is",    "íslenska" },
>      { "it",    "Italiano" },
>      { "ja",    "日本語" },
> +    { "ka",    "ქართული" },
> +    { "kk",    "Қазақ тілі" },
> +    { "km",    "ភាសាខ្មែរ" },
>      { "ko",    "한국어" },
>      { "lt",    "lietuvių" },
>      { "mn",    "Монгол хэл" },
>      { "ms",    "Melayu" },
>      { "nb",    "Bokmål" },
> -    { "nn",    "Nynorsk" },
> -    { "kk",    "Қазақ тілі" },
> -    { "km",    "ភាសាខ្មែរ" },
>      { "ne",    "नेपाली" },
> +    { "nl",    "Nederlands" },
> +    { "nn",    "Nynorsk" },
>      { "oc",    "Occitan" },
> -    { "fa",    "فارسی" },
> +    { "pa",    "ਪੰਜਾਬੀ" },
>      { "pl",    "Polski" },
> +    { "pt_BR", "Português Brasileiro" },
>      { "pt_PT", "Português" },
> -    { "pa",    "ਪੰਜਾਬੀ" },
>      { "ro",    "Română" },
>      { "ru",    "Русский" },
> -    { "zh_CN", "简体中文" },
>      { "si",    "සිංහල" },
> -    { "sr",    "српски" },
>      { "sk",    "Slovensky" },
>      { "sl",    "slovenščina" },
> -    { "ckb",   "کوردیی سۆرانی" },
> -    { "es",    "Español" },
> +    { "sr",    "српски" },
>      { "sv",    "Svenska" },
>      { "te",    "తెలుగు" },
>      { "tr",    "Türkçe" },
>      { "uk",    "украї́нська мо́ва" },
>      { "vi",    "tiếng Việt" },
> -    { "wa",    "Walon" }
> +    { "wa",    "Walon" },
> +    { "zh_CN", "简体中文" },
> +    { "zh_TW", "正體中文" },
>  };
>  
>  static int getDefaultAudioVolume(const char *aout)
> 

Sorry, that was not a great idea. Pushed force away.

-- 
  Hugo Beauzée-Luyssen
  hugo at beauzee.fr


More information about the vlc-devel mailing list