[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: etemplate/inc class.select_widget.inc.php,1.6,1.
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: etemplate/inc class.select_widget.inc.php,1.6,1.7 |
Date: |
Sun, 13 Apr 2003 17:47:37 -0400 |
Update of /cvsroot/phpgroupware/etemplate/inc
In directory subversions:/tmp/cvs-serv21498
Modified Files:
class.select_widget.inc.php
Log Message:
translate the monthnames and contries like the sbox-class
Index: class.select_widget.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/etemplate/inc/class.select_widget.inc.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** class.select_widget.inc.php 13 Apr 2003 19:14:50 -0000 1.6
--- class.select_widget.inc.php 13 Apr 2003 21:47:35 -0000 1.7
***************
*** 357,360 ****
--- 357,375 ----
function select_widget($ui)
{
+ foreach($this->monthnames as $k => $name)
+ {
+ if ($name)
+ {
+ $this->monthnames[$k] = lang($name);
+ }
+ }
+ foreach($this->countrys as $k => $name)
+ {
+ if (($translated = lang($name)) != $name.'*')
+ {
+ $this->countrys[$k] = $translated;
+ }
+ }
+ asort($this->countrys);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: etemplate/inc class.select_widget.inc.php,1.6,1.7,
Ralf Becker <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: bookmarks/setup phpgw_fr.lang,1.4.2.6,1.4.2.7
- Next by Date:
[Phpgroupware-cvs] CVS: etemplate/setup etemplates.inc.php,1.30,1.31 phpgw_de.lang,1.4,1.5 phpgw_en.lang,1.26,1.27
- Previous by thread:
[Phpgroupware-cvs] CVS: bookmarks/setup phpgw_fr.lang,1.4.2.6,1.4.2.7
- Next by thread:
[Phpgroupware-cvs] CVS: etemplate/setup etemplates.inc.php,1.30,1.31 phpgw_de.lang,1.4,1.5 phpgw_en.lang,1.26,1.27
- Index(es):