Commit Graph

39 Commits

Author SHA1 Message Date
Ralf Becker
c749c71216 fixed wrong language in notifications 2010-05-20 19:39:55 +00:00
Ralf Becker
fc52dfa528 "prefer iconv for windows-874 and tis-620 (Thai) charsets, as they are not supported by mbstring" 2010-05-11 15:47:02 +00:00
Hans-Jürgen Tappe
b70155b43b Fix the call to translate() in debug code. 2010-04-21 20:35:03 +00:00
Ralf Becker
bfd2736629 "check for existens of dl() before calling it, thanks to report from CK" 2009-12-01 11:24:19 +00:00
Ralf Becker
86c2be2efa fixed sometimes not translatable phrases longer 128 chars, problem was a trim() after truncating the message to 128 chars 2009-11-28 16:24:44 +00:00
Ralf Becker
6c1f963aee fixed replacement of multiple placeholders 2009-11-28 11:32:56 +00:00
Klaus Leithoff
1a3a131b0d handling parameter-replacements in translation class 2009-11-27 13:22:51 +00:00
Ralf Becker
3c23ce30e0 fixing PHP5.3 deprecated warnings 2009-11-16 09:01:01 +00:00
Ralf Becker
dbcd815fb5 "fix to cope with $vars[0] containing '%2' in lang() calls" 2009-10-19 07:45:27 +00:00
Klaus Leithoff
424fa5ffd8 added windows-1257 as it seems to be used widely, to display baltic letters 2009-05-27 07:13:45 +00:00
Ralf Becker
fad005ac62 added translated languages and visible charset to charset selection 2009-05-11 08:47:57 +00:00
Klaus Leithoff
8f6cf0ac8f quitening warnings, if charset is unknown (mb_convert_encoding), as it may happen, with parts of emails (header information, ...) 2008-10-08 11:18:43 +00:00
Ralf Becker
0927d90e09 "using the global db object" 2008-03-15 15:30:15 +00:00
Ralf Becker
b0ce76ad83 "added some aliases for iso-8859-1 which seemed to be used in some mails" 2008-03-10 12:57:27 +00:00
Klaus Leithoff
08e5fa0497 prevent the mb_convert_encoding to return with an empty string, for the failing of the conversion in that function results in an empty string as
well.
2008-01-31 12:31:18 +00:00
Ralf Becker
3e29477fe9 "some alternative charsets for the import, a hardcoded list for now, as all languages use utf-8" 2007-11-30 16:45:54 +00:00
Ralf Becker
761cb8c9a0 "allow mixed installations of trunk and 1.4 apps, by reading both langfiles" 2007-10-19 13:02:55 +00:00
Oscar Manuel Gómez Senovilla
b018b25a15 API changes to handle egw_ prefix in lang files 2007-10-14 16:12:39 +00:00
Klaus Leithoff
dbb80581b7 fix of small typo in function convert 2007-10-12 11:10:25 +00:00
Ralf Becker
d2f80cf8dc fixed SiteMgr session-problems by making the cookie path/domain configurable with more reasonable defaults then 1.4 has at the moment, making the display of * behind untranslated phrases an option which is by default off (as it anoyes users) and added a few more explenations to Admin >> Site configuration (plus removing not used ones) 2007-05-17 08:35:35 +00:00
Ralf Becker
6a990be520 worked around stupid php5.2 empty haystack warnings 2007-04-30 05:42:05 +00:00
Lars Kneschke
66a207d455 make sure the mbstring supports get always enabled. It's needed for the imap conversion(utf-7 => systemcharset). 2007-02-27 20:04:26 +00:00
Lars Kneschke
4c641f2769 iconv can not convert from/to utf7-imap. Added support for conversion based on the functions provided by the imap extension.
Returning the unconverted string when conversion using iconv failed. This was also not working before.
2007-02-14 11:44:01 +00:00
Ralf Becker
915dd1910f fixing the fix ;-)
According to wikipedia windows-1250 is similar to iso-8859-2 - thought German special chars (umlauts) have the same encoding in iso-8859-1
2006-12-06 07:21:45 +00:00
Ralf Becker
9ab10aeb77 fix for problem describt on the german list: headers from mails send from Outlook, eg:
From: =?Windows-1250?Q?X=F6rg_Brd?= <x_brd@xxx.de> 
get not decoded correct --> php (at least some versions) seems not to understand the charset windows-1250, which is more or less identical to iso-8859-1
2006-12-05 19:11:38 +00:00
Ralf Becker
11775a0846 new method to get the message_id of a phrase 2006-07-06 23:02:55 +00:00
Ralf Becker
ecae41f156 fixed smal prob with non existing header 2006-05-31 01:58:03 +00:00
Ralf Becker
7b2b823835 - setup uses now the system_charset, that fixes various errors reported:
+ setup_demo gives errors under postgres
 + setup_demo can save special chars in the admin name
- renamed setup_demo into admin_account, as setting up demo accounts is the least used function of it
- fixed warning db::delete missing params, if delete_all was checked
2005-11-27 07:48:22 +00:00
Ralf Becker
fa96e4a576 new functions to read and write a single phrase 2005-11-19 20:08:45 +00:00
Ralf Becker
2ec277c0d9 typo 2005-11-05 19:00:31 +00:00
Ralf Becker
34b1f64ae3 typo 2005-11-05 18:18:55 +00:00
Ralf Becker
912aac5e6c 1) renamed translation_sql to translation, as translation_file is not used or working (we can allways re-add it)
2) new list_langs function for the TranslationTools, so they dont need to access the languages table direct
2005-11-05 08:51:06 +00:00
Ralf Becker
fd5576e3ee - phpgw --> egw
- fixed a problem php5 complained about, which is present in php4 too: arrays in $GLOBALS[egw][server] are NOT unserialized. As this seems to be only used for the lang_ctimes, I just took care of it here
2005-05-31 13:52:14 +00:00
Miles Lott
4be7d21958 Use GLOBALS 2001-08-31 08:45:44 +00:00
seek3r
83a0af3424 trying to get windows support working 2001-06-20 08:36:55 +00:00
Miles Lott
3356dc1453 Reformatting only 2001-06-15 21:29:33 +00:00
seek3r
00b23411ef moved to define() for path vars. Also starting to hack sessions to be phpgw_info manager 2001-02-06 09:19:38 +00:00
seek3r
431f841cba switching to the new Object factory method 2001-01-11 10:04:28 +00:00
seek3r
e97ef24062 switching to the new Object factory method 2001-01-11 09:52:33 +00:00