Commit a3a82045 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* Added the new languages to the prefs and the OSX environment.

parent e8440fb1
...@@ -27,14 +27,13 @@ ...@@ -27,14 +27,13 @@
#include "vlc_keys.h" #include "vlc_keys.h"
static char *ppsz_language[] = static char *ppsz_language[] =
{ "auto", "en", "en_GB", "es", "de", { "auto", "en", "en_GB", "bn", "da", "de", "el", "es",
"fr", "hu", "it", "ja", "nl", "no", "fr", "hi", "hu", "it", "ja", "my", "nl", "no",
"pl", "pt_BR", "ru", "sv" }; "pl", "ps", "pt_BR", "ru", "sv", "tet", "tl" };
static char *ppsz_language_text[] = static char *ppsz_language_text[] =
{ N_("Auto"), N_("American"), N_("British"), N_("Spanish"), N_("German"), { N_("Auto"), N_("American"), N_("British"), N_("Bengali"), N_("Danish"), N_("German"), N_("Greek"), N_("Spanish"),
N_("French"), N_("Hungarian"), N_("Italian"), N_("Japanese"), N_("Dutch"), N_("French"), N_("Hindi"), N_("Hungarian"), N_("Italian"), N_("Japanese"), N_("Burmese"), N_("Dutch"), N_("Norwegian"),
N_("Norwegian"), N_("Polish"), N_("Brazilian"), N_("Russian"), N_("Polish"), N_("Pashto"), N_("Brazilian"), N_("Russian"), N_("Swedish"), N_("Tetum"), N_("Tagalog") };
N_("Swedish") };
static char *ppsz_snap_formats[] = static char *ppsz_snap_formats[] =
{ "png", "jpg" }; { "png", "jpg" };
......
...@@ -40,20 +40,28 @@ static int FindLanguage( const char * psz_lang ) ...@@ -40,20 +40,28 @@ static int FindLanguage( const char * psz_lang )
const char ** ppsz_parser; const char ** ppsz_parser;
const char * ppsz_all[] = const char * ppsz_all[] =
{ {
"Bengali", "bn",
"Danish", "da",
"German", "de", "German", "de",
"Modern Greek", "el",
"British", "en_GB", "British", "en_GB",
"English", "en", "English", "en",
"Spanish", "es", "Spanish", "es",
"French", "fr", "French", "fr",
"Hindi", "hi",
"Hungarian", "hu", "Hungarian", "hu",
"Italian", "it", "Italian", "it",
"Japanese", "ja", "Japanese", "ja",
"Burmese", "my",
"Dutch", "nl", "Dutch", "nl",
"Norwegian", "no", "Norwegian", "no",
"Polish", "pl", "Polish", "pl",
"Pashto", "ps",
"Brazillian Portuguese", "pt_BR", "Brazillian Portuguese", "pt_BR",
"Russian", "ru", "Russian", "ru",
"Swedish", "sv", "Swedish", "sv",
"Tetum", "tet",
"Tagalog", "tl",
NULL NULL
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment