Enlightenment CVS committal Author : devilhorns Project : e_modules Module : uptime
Dir : e_modules/uptime Modified Files: e_mod_main.c Log Message: Just make it users so we don't have to replace all the gettext calls with ngettext. This won't look/sound correct when there is only one user but oh well. =================================================================== RCS file: /cvs/e/e_modules/uptime/e_mod_main.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -3 -r1.14 -r1.15 --- e_mod_main.c 2 Jul 2006 01:09:56 -0000 1.14 +++ e_mod_main.c 2 Jul 2006 07:10:18 -0000 1.15 @@ -568,12 +568,7 @@ } if (inst->nusers != -1) - { - if (inst->nusers == 1) - snprintf(users, sizeof(users), D_("user: %d"), inst->nusers); - else if (inst->nusers > 1) - snprintf(users, sizeof(users), D_("users: %d"), inst->nusers); - } + snprintf(users, sizeof(users), D_("users: %d"), inst->nusers); edje_object_part_text_set(inst->ut->ut_obj, "uptime", u_date_time); edje_object_part_text_set(inst->ut->ut_obj, "load_average", load_avg); Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs