Enlightenment CVS committal Author : raster Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_intl.c e_path.c e_theme.c Log Message: polish translation. updates to other languages path strncpy notes for e_theme work =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_intl.c,v retrieving revision 1.20 retrieving revision 1.21 diff -u -3 -r1.20 -r1.21 --- e_intl.c 20 Apr 2005 03:14:07 -0000 1.20 +++ e_intl.c 22 Apr 2005 03:06:27 -0000 1.21 @@ -48,6 +48,7 @@ ADD_LANG("ru"); ADD_LANG("bg"); ADD_LANG("de"); + ADD_LANG("pl"); /* FIXME: NULL == use LANG. make this read a config value if it exists */ e_intl_language_set(getenv("LANG")); @@ -190,6 +191,8 @@ if (ISL("de") || ISL("de_DE") || ISL("DE") || ISL("[EMAIL PROTECTED]") || ISL("de_AT") || ISL("AT") || ISL("[EMAIL PROTECTED]")) return "de"; + if (ISL("pl") || ISL("pl_PL") || ISL("PL") || ISL("[EMAIL PROTECTED]")) + return "pl"; /* 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 =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_path.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -3 -r1.8 -r1.9 --- e_path.c 13 Apr 2005 06:03:50 -0000 1.8 +++ e_path.c 22 Apr 2005 03:06:27 -0000 1.9 @@ -177,7 +177,8 @@ rp = ecore_file_realpath(_e_path_buf); if ((rp) && (rp[0] != 0)) { - strcpy(_e_path_buf, rp); + strncpy(_e_path_buf, rp, sizeof(_e_path_buf) - 1); + _e_path_buf[sizeof(_e_path_buf) - 1] = 0; free(rp); if (evas_hash_size(ep->hash) >= 512) _e_path_cache_free(ep); =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_theme.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- e_theme.c 21 Apr 2005 10:09:26 -0000 1.1 +++ e_theme.c 22 Apr 2005 03:06:27 -0000 1.2 @@ -3,6 +3,10 @@ */ #include "e.h" +/* FIXME: need to make wrapper that can not just find the file but + * detect if the edj has that named group and if not, fall back + */ + /* local subsystem functions */ typedef struct _E_Theme_Result E_Theme_Result; ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs