Enlightenment CVS committal
Author : stffrdhrn
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_intl.c
Log Message:
Comments Cleaning:
- Todo--
- Todo++
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_intl.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -3 -r1.59 -r1.60
--- e_intl.c 2 Dec 2005 19:05:12 -0000 1.59
+++ e_intl.c 2 Dec 2005 19:20:48 -0000 1.60
@@ -6,8 +6,6 @@
/* TODO List:
*
- * * add more language names to the language name list list in
e_intl_language_name_get()
- * * as we get translations add languages to the simplified lang list (C and
en are currently the same, ja is a test translation - incomplete)
*/
static Ecore_Exe *_e_intl_input_method_exec = NULL;
@@ -151,13 +149,23 @@
return 1;
}
+/*
+ * TODO
+ * - Set the env variables only after the locale has been validated
+ * - Add error dialogs explaining any errors while setting the locale
+ * * Locale aliases need to be configured
+ * * Locale is invalid
+ * * Message files are not found for this locale, then we have (en_US,
POSIX, C)
+ * - Add support of compound locales i.e. (en_US;zh_CN;C) ==Defer==
+ * - Add Configuration for to-be-set environment variables
+ */
void
e_intl_language_set(const char *lang)
{
char *alias_locale;
if (_e_intl_language) free(_e_intl_language);
- /* NULL lang means set everything back to the original environemtn defaults
*/
+ /* NULL lang means set everything back to the original environment defaults
*/
if (!lang)
{
e_util_env_set("LC_MESSAGES", _e_intl_orig_lc_messages);
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs