1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-26 08:20:58 +01:00

Merge pull request #122 from bui/asdfgh

fix languages
This commit is contained in:
Fredrick Brennan 2014-09-28 18:46:00 -04:00
commit 5778625f18

View File

@ -3,26 +3,28 @@
function get_country( $code ){ function get_country( $code ){
$country = ''; $country = '';
if( $code == 'en' ) $country = 'English'; if( $code == 'en' ) $country = 'English';
if( $code == 'cs' ) $country = 'Czech'; if( $code == 'cz' ) $country = 'Czech';
if( $code == 'da' ) $country = 'Danish'; if( $code == 'dk' ) $country = 'Danish';
if( $code == 'de' ) $country = 'German'; if( $code == 'de' ) $country = 'German';
if( $code == 'au' ) $country = 'Australian';
if( $code == 'eo' ) $country = 'Esperanto'; if( $code == 'eo' ) $country = 'Esperanto';
if( $code == 'es' ) $country = 'Spanish'; if( $code == 'es' ) $country = 'Spanish';
if( $code == 'fi' ) $country = 'Finnish'; if( $code == 'fi' ) $country = 'Finnish';
if( $code == 'fr' ) $country = 'French'; if( $code == 'fr' ) $country = 'French';
if( $code == 'hu' ) $country = 'Hungarian'; if( $code == 'hu' ) $country = 'Hungarian';
if( $code == 'it' ) $country = 'Italian'; if( $code == 'it' ) $country = 'Italian';
if( $code == 'ja' ) $country = 'Japanese'; if( $code == 'jp' ) $country = 'Japanese';
if( $code == 'jbo' ) $country = 'Lojban'; if( $code == 'jbo' ) $country = 'Lojban';
if( $code == 'lt' ) $country = 'Lithuanian'; if( $code == 'lt' ) $country = 'Lithuanian';
if( $code == 'lv' ) $country = 'Latvian'; if( $code == 'lv' ) $country = 'Latvian';
if( $code == 'nb' ) $country = 'Norwegian'; if( $code == 'no' ) $country = 'Norwegian';
if( $code == 'nl' ) $country = 'Dutch'; if( $code == 'nl' ) $country = 'Dutch';
if( $code == 'pl' ) $country = 'Polish'; if( $code == 'pl' ) $country = 'Polish';
if( $code == 'br' ) $country = 'Brazilian';
if( $code == 'pt' ) $country = 'Portuguese'; if( $code == 'pt' ) $country = 'Portuguese';
if( $code == 'ru' ) $country = 'Russian'; if( $code == 'ru' ) $country = 'Russian';
if( $code == 'sk' ) $country = 'Slovak'; if( $code == 'sk' ) $country = 'Slovak';
if( $code == 'zh' ) $country = 'Chinese'; if( $code == 'tw' ) $country = 'Taiwanese';
if( $country == '') $country = $code; if( $country == '') $country = $code;
return $country; return $country;