Commit Graph

46 Commits

Author SHA1 Message Date
1dabd74aa0 Cleanup format of if() 2004-01-25 21:29:20 +00:00
4f612cbbde intval -> (int), replace gettype() and ereg_replace() where possible 2003-12-14 17:07:16 +00:00
bfb6f3b494 use config::save_value to update the ctimes of the lang-files 2003-11-03 14:41:17 +00:00
e52887d989 Hid some PHP notices behind a '@' to minimize new user confusion. 2003-10-24 00:54:28 +00:00
0d35fcc72a fix to allow to load non-iso-8859-1 languages without an system-charset set 2003-10-20 19:03:46 +00:00
b2e4e6327e big-5 is supported by php 4.3.X 2003-10-16 04:59:46 +00:00
616a09880a hide errormessage about unsupported charset 2003-10-15 19:15:25 +00:00
7363643128 removed stupid debug messages 2003-10-15 12:29:27 +00:00
692767bcf0 fixed problem with not set system-charset and non-ascii chars in user-name with accounts in ldap:
Username did not get translated, as at the time when the accounts-class get instanciated the user preferences, which determine the language, which determine the charset (if no system-charset), are not loaded. I use iso-8859-1 as default then, which gives us the same behavior then before all the changes.
2003-10-15 12:24:38 +00:00
73d8277b40 fixes for warning about unsupported charset 2003-10-11 20:55:16 +00:00
00db10168f fix convert for us-ascii 2003-10-10 05:01:49 +00:00
33389df33d new param to translate, for string to add if no translation present, default '*' 2003-10-10 00:07:20 +00:00
43ec195c6e added check if function iconv exists 2003-10-09 23:38:24 +00:00
0cba91137e added fallback to iconv if mbstring is not availible and killed a waring if no langs installed 2003-10-08 10:50:24 +00:00
b3dfa3d386 little fix for gb2312 2003-10-07 20:56:33 +00:00
49d4216305 fix for not set up user-charset 2003-10-07 15:05:14 +00:00
10318b0554 fixed annoying typo, that caused the lang-files to be loaded on every login 2003-10-07 09:59:40 +00:00
cb01770f48 small fix 2003-10-07 01:02:19 +00:00
6e69d6965f converting all charsets to lowercase 2003-10-06 11:30:21 +00:00
cfc0ec8eb4 updated translation_sql::convert:
- now handles arrays or strings
- autodetects the from charset if not set
- uses the system_charset as to charset if not set
2003-10-05 15:41:59 +00:00
c7407b9ed1 small addition to automaticaly deal with a not set system-charset 2003-10-05 13:45:46 +00:00
def9a6e4df fix for new install 2003-10-05 10:57:50 +00:00
0ca093c04f added multibyte-support for conversation of other charsets then utf-8 and iso-8859-1 2003-10-05 10:44:16 +00:00
fd2d96d063 1) implemented a share system-charset, which can be different from the charset of the lang-files
2) moved sql-specific part of setup_translation to translation_sql
3) TO-DO: get the translation-tools working in this setting
2003-10-05 02:06:11 +00:00
658dfdce96 restructured setup a bit:
- move most of the lang-code from setup/lang.php to phpgwapi/inc/class.translation_sql.inc.php
- added a minimal-auto-configuration, so one does not need to enter the config-step at all for a running installation
- added the language of the admin to the installed languages
2003-10-04 13:24:34 +00:00
060311ab7d fixed prob with login-scree-message and no cookie 2003-09-23 21:26:58 +00:00
43024ba1cc second (optional) param. to add_app to specify the language 2003-09-15 08:42:47 +00:00
3492fbbe3f code-cleanup and saved loaded apps in an array, so its save to call it more than once 2003-09-14 10:20:46 +00:00
b8557e49d9 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:31:11 +00:00
f44171243c fix for phrase which end (after truncating to 230 chars) in a space (which has been striped by the db) 2003-05-02 01:06:33 +00:00
6b1cfa855e limited the length of the message_id to 230 and defined a constant for it 2003-04-02 17:46:37 +00:00
ceb
16e38ed24f fix wrong user lang setting 2002-10-18 22:53:12 +00:00
4004c9a4e1 updated so that login page will destroy frames, cleaned up various other issues like better lang support in msgbox, now langs trailing char can be turned off. several other improvements 2002-05-31 08:29:19 +00:00
4b878ddca9 adjust inline docs 2002-02-20 04:57:49 +00:00
54ce2d1d33 Modify to go back to old behavior (load langs only on first use of translate() 2002-02-20 04:44:19 +00:00
15bc5ac202 Switch to using class var for $lang; translate function now does only this, and
the constructor is used to load the lang array;  I think this is faster in one place,
slower in another;
2002-02-20 04:30:19 +00:00
12b66fb8a9 Change lang/languages tables to phpgw_lang/phpgw_languages 2002-02-17 19:31:50 +00:00
6422885811 Formatting 2002-02-17 18:43:31 +00:00
97c7d485ff formatting 2001-11-23 19:35:45 +00:00
bb0cfbf43e fixed a problem when using post/php-nuke and phpgroupware on one server
*nuke is setting a cookie $lang, which is a string

the translation functions are using $lang as GLOBAL too, but as array
which creates funny results :)
2001-10-01 02:52:53 +00:00
4be7d21958 Use GLOBALS 2001-08-31 08:45:44 +00:00
3356dc1453 Reformatting only 2001-06-15 21:29:33 +00:00
b2a4c580f1 Transy - create new lang set: disappearing translated string 2001-03-08 02:05:29 +00:00
4e3e6c77cb fixed banners so that they are all uniform and complete 2001-01-16 13:52:32 +00:00
fba1a92446 Put in new license details 2001-01-13 10:18:50 +00:00
e97ef24062 switching to the new Object factory method 2001-01-11 09:52:33 +00:00