Commit Graph

79 Commits

Author SHA1 Message Date
Nathan Gray
03bae6ff27 Add CP850 to translation class list of installed charsets, don't need to add it in import/export 2011-12-14 21:34:24 +00:00
Ralf Becker
075db1ac82 quietening permanent error_log 2011-11-30 09:37:47 +00:00
Ralf Becker
7ee9d55f85 fixed racecondition in caching translations for installs with multiple instances:
do NOT use automatic callback to cache result, as installing languages in setup can create a racecondition, therefore only cache existing non-instance-specific translations, never cache nothing found === array(), instance-specific translations can and should always be cached!
2011-11-30 09:20:05 +00:00
Ralf Becker
f2d7c5c6c3 * Custom / instance-specific translations, eg. to rename an application 2011-11-17 12:43:59 +00:00
Ralf Becker
a48104bfd7 in case no charset is set, default to utf-8, as otherwise setting charset in sqlfs_stream_wrapper can stall install 2011-11-10 10:24:37 +00:00
Klaus Leithoff
bda5e014d7 * tracker: mailhandling - prevent to use rsh or ssh to establish connection 2011-08-18 14:49:16 +00:00
Ralf Becker
31c9e8965b fixed creating of new translations / give [Write] button file not yet existing (permissions given) 2011-08-04 07:27:23 +00:00
Klaus Leithoff
9f3a3f0424 fix bug regarding left over tags after converting HTML2Text 2011-05-11 10:39:55 +00:00
Klaus Leithoff
76980e665c HTML2Text: reduce CR/LF groups of more than 2 to a sequence of 2 CR/LF 2011-05-10 15:32:44 +00:00
Klaus Leithoff
98122085f7 fixing a problem of swallowed whitespace while converting html to text 2011-05-05 08:59:54 +00:00
Ralf Becker
0db7258a7b quietened permanent eror_log 2011-04-09 10:02:40 +00:00
Ralf Becker
5f2252819a * Setup: fixed not working deinstall of languages 2011-04-09 09:45:41 +00:00
Klaus Leithoff
ea97a9671b fix for Stylite Ticket#8044 -Message on loginscreen and home doesent have a default lang fallback as all other egroupware translations 2010-10-05 08:30:50 +00:00
Klaus Leithoff
02c6955326 convertHTML2Text: handling of chars that break further processing of converted Data (e.g.: Mail to Infolog) 2010-09-15 08:39:07 +00:00
Klaus Leithoff
5153a61a63 preserving ampersands while converting html to text; improving linebreak behavior; switching off WordWrapn (by setting it to 0) in phpmailer, as we handle our linebreaking on our own 2010-09-09 10:19:23 +00:00
Klaus Leithoff
a2919ecd3b improve convertHTMLToText, for toggle editor and mail2infolog process; better control of insert Signature at Top. Only insert the signature, when the compose window is opened the first time (compose/reply/forward), dont do it if sending failes, and the compose window is refreshed (in general when mySigID is set) 2010-08-31 14:23:58 +00:00
Ralf Becker
7acd58f2f4 using egw_db->capabilities[egw_db::CASE_INSENSITIVE_LIKE] 2010-06-22 16:54:47 +00:00
Klaus Leithoff
82cb36ff3a some additional stuff to improve mailheader decoding 2010-06-07 14:31:59 +00:00
Ralf Becker
6799864392 fixed wrong language in notifications 2010-05-20 19:32:52 +00:00
Ralf Becker
55d6c7ca00 "prefer iconv for windows-874 and tis-620 (Thai) charsets, as they are not supported by mbstring" 2010-05-11 15:38:39 +00:00
Klaus Leithoff
bac107ac84 fix for missing CRLF after emailreplace/cleaning of/for emailaddresses 2010-05-06 11:16:57 +00:00
Klaus Leithoff
0075e7f4cd attempt to improve the parsing/cleaning of html messages. 2010-01-19 13:29:16 +00:00
Klaus Leithoff
b48c4f51fc improving the display by toggling the editor mode; improving import of html mails after flaw in rev28758 2009-12-16 10:57:37 +00:00
Klaus Leithoff
493789cec5 extend some debug infos in egw_sessions; add a 4th param to replaceTagsCompletley in translation class; prepare some more htmlpurifier stuff in order to use it for the activation of links; wrap the creation of the htmlpurifier default config in a function, to be used as config object for changes when about to be used with html::purify 2009-12-02 14:56:41 +00:00
Ralf Becker
f2e52e1478 fixed sometimes not translatable phrases longer 128 chars, problem was a trim() after truncating the message to 128 chars 2009-11-28 16:20:21 +00:00
Ralf Becker
ef67ed41e3 commiting fix again, please update before your commit, to NOT overwrite other peoples commits 2009-11-28 11:40:10 +00:00
Oscar Manuel Gómez Senovilla
2d678b8966 Missing file for the patch for moving the lang files in previous rev 2009-11-28 11:34:40 +00:00
Ralf Becker
d47bb7dd88 fixed replacement of multiple placeholders 2009-11-28 11:30:53 +00:00
Klaus Leithoff
57ce5a4c4c handling parameter-replacements in translation class 2009-11-27 13:16:20 +00:00
Klaus Leithoff
d4b0e572a1 some more documentation, some improvement in convertHTMLToText and replaceEmailAdresses 2009-11-18 10:38:15 +00:00
Ralf Becker
df8217ff61 "fix to cope with $vars[0] containing '%2' in lang() calls" 2009-10-19 07:41:03 +00:00
Klaus Leithoff
ae9c0bc918 improving decode_header for charset x-unknown and encoding Base64 2009-09-08 13:25:57 +00:00
Klaus Leithoff
7272217d14 some work in progress regarding the mailhandling in tracker, moving some stuff to translation class from bofelamimail to be commonly available 2009-09-04 13:40:10 +00:00
Ralf Becker
a52fa4d5fc "fixed sometimes not loaded self:$db object in crontab calls" 2009-08-27 19:59:18 +00:00
Ralf Becker
7575812c04 "- fixed bug introduced in r27541: cache was updated with an empty translation array (typo in app-name variable)
- when updating all langs, do a transaction for each lang and update the cache after commiting the transaction (before the transaction was about all langs and the cache update withint the not commited transaction)
- fixed problem with autoloading of languages, check used filectime, update used filemtime, which can differ of cause"
2009-07-27 08:18:26 +00:00
Ralf Becker
28a9c4b470 "fixed two issues with translations in trunk
-  update the tree-level cache, as we can not effectivly unset it in a multiuser enviroment,
as users from other - not yet updated - instances update it again with an old version!
- add_app(): we have to use array_merge! (+= does not overwrite common translations with different ones in an app)
array_merge messes up translations of numbers, which make no sense and should be avoided anyway.

"
2009-07-24 10:16:00 +00:00
Klaus Leithoff
3307109a1c reverted change of r72366 and fixed the real cause for the mainscreen_message problem: YOU SHOULD NOT HAVE TRANSLATIONS FOR mainscreen_message; You may have to force the reload of new language file-information 2009-07-06 11:11:40 +00:00
Klaus Leithoff
1e43e837c0 fix regarding get_app in translation. array_merge does renumber and += seems to bear problems, if there already is a translation for the given key (mainscreen_message) 2009-07-06 09:25:19 +00:00
Ralf Becker
50cac4e9b6 "Bugfix for tracker priorities 2-4 displayed wrong:
use += instead of array_merge, as we have phrases with numerical index, which get renumbered by array_merge
"
2009-06-22 12:46:41 +00:00
Klaus Leithoff
0e4a75f027 added windows-1257 as it seems to be used widely, to display baltic letters 2009-05-26 13:42:05 +00:00
Ralf Becker
fc141457cf added translated languages and visible charset to charset selection 2009-05-11 08:10:05 +00:00
Ralf Becker
34e9825a91 "'class::method' is php5.2+, array('class','method') works in php5.1+ " 2009-05-02 16:45:38 +00:00
Ralf Becker
0cd2993504 "'class::method' as php5.2+, array('class','method') works in php5.1+ " 2009-05-02 16:12:20 +00:00
Ralf Becker
d5ee989859 "- caching loginscreen+mainscreen messages instance (NOT tree) specific
- invalidating the cache also for translation::write (to be able to update the loginscreen message)"
2009-04-28 15:56:04 +00:00
Ralf Becker
94190a81f7 "also cache the languages" 2009-04-23 09:47:22 +00:00
Ralf Becker
86b126ef3a "quietent \"Warning: mb_convert_encoding() [function.mb-convert-encoding]: Illegal
character encoding\" reported on the devel list"
2009-04-22 04:33:12 +00:00
Ralf Becker
a45c874f72 "added explicit init(false) calls for methods called by setup (they dont call init() as eGW does)" 2009-04-21 13:26:40 +00:00
Ralf Becker
bf036043b2 - making all methods of translation class static
- caching the phrases in new egw_cache on Tree level
--> a good speed improvment on my devel system
- also added a global function
check_load_extension($extension,$throw=false)
2009-04-20 11:59:39 +00:00
Christian Binder
b20b78e07e quitened a logging message which slows down eGW 2009-04-03 20:12:35 +00:00
Klaus Leithoff
dd5376c41f making the charset param optional, with preset to utf-8 in decodeMailHandler 2009-04-02 08:15:50 +00:00