|
From: <enl...@li...> - 2005-04-15 06:29:49
|
Enlightenment CVS committal
Author : raster
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_intl.c
Log Message:
spanish - for now it'll be the generic spanish until we have multipel spanish
translations... :)
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_intl.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- e_intl.c 14 Apr 2005 09:09:21 -0000 1.15
+++ e_intl.c 15 Apr 2005 06:29:43 -0000 1.16
@@ -42,6 +42,7 @@
ADD_LANG("en");
ADD_LANG("ja");
ADD_LANG("fr");
+ ADD_LANG("es");
/* FIXME: NULL == use LANG. make this read a config value if it exists */
e_intl_language_set(getenv("LANG"));
@@ -103,6 +104,7 @@
IFL("de") "German";
IFL("el") "Greek";
IFL("en") "English";
+ IFL("es") "Spanish";
IFL("eu") "Basque";
IFL("fa") "Persian";
IFL("fr") "French";
@@ -123,7 +125,6 @@
IFL("nn") "Norwegian Nynorsk";
IFL("pl") "Polish";
IFL("pt") "Portuguese";
- IFL("pt_BR") "Portuguese (Brazil)";
IFL("ro") "Romanian";
IFL("ru") "Russian";
IFL("sk") "Slovak";
@@ -134,6 +135,7 @@
IFL("tr") "Tuirkish";
IFL("uk") "Ukrainian";
IFL("vi") "Vietnamese";
+ /* must keep both - politically sensitive */
IFL("zh") "Chinese (Simplified)";
IFL("zh_TW") "Chinese (Traditional)";
return "Unknown";
@@ -162,6 +164,9 @@
return "ja";
if (ISL("fr") || ISL("fr_FR") || ISL("FR") || ISL("fr_FR@euro"))
return "fr";
+ if (ISL("es") || ISL("es_ES") || ISL("ES") || ISL("es_ES@euro") ||
+ ISL("es_AR"))
+ return "es";
/* this is the default fallback - we have no special cases for this lang
* so just strip off anything after and including the _ for country region
* and just return the language encoding
|