Ralf Becker
5eeac7093c
use filemanager UI as UI for sharing directories
2014-11-18 12:55:32 +00:00
Ralf Becker
95b89a0c9f
fixed under some conditions not working translations, caused by egw object calling translation::init and preceeding lang_arr with (en) translations, before lang.php calls add_app() with a single translation, now explicitly calling init() and init() allways empties lang_arr
2014-06-12 10:07:57 +00:00
Ralf Becker
9ed199261a
fix dialog and translations to allow messages with newlines
2014-05-27 12:11:09 +00:00
Ralf Becker
64875876ed
fixed mail wizard required emailadmin run rights, caused by loading translations required run rights for that app
2014-02-17 08:53:55 +00:00
Ralf Becker
5a8b145b7f
fixed caching in a couple of places:
...
- user.php was not reloaded if (session-)preferences changed eg. language via select-box in login, because we used Expires header, but did not force a different url
- (user|config|images).php now has etag on url, to force reload by browser as we use an Expires header (changed images still need Admin >> clear cache to rebuild image cache)
- preferences are now loaded via a cachable GET request
2014-01-18 17:43:15 +00:00
Ralf Becker
400240f1e4
caching translations for 10days and changing translation url, when translations are changing --> saves server-roundtrip for each translation
2014-01-09 15:32:07 +00:00
Ralf Becker
0f838df1b9
switch zlib.output_compression off, as we cant calculate Content-Length header, if its on, doing our own Content-Encoding: gzip now (wont be necessary for Apache2.2 which fixes false Content-Length headers silently, but eg. Lighttpd cuts off content, if wrong Content-Length header specified
...
using md5 of real content for instance specific translations, cant use lang_ctimes for them
2012-03-19 08:35:47 +00:00
Ralf Becker
2175421d42
added "custom" (custom instance-specific translations) to apps which have to use home as app-name, also moved sanitrary checks before header-include
2012-03-01 09:30:49 +00:00
Ralf Becker
edab2bd248
$GLOBALS['egw_info']['server']['lang_ctimes'] is now an array
2011-08-28 12:48:31 +00:00
Ralf Becker
16c6a8d4f9
got clientside translations working for etemplate2 apps: egw.lang("%1 timesheet(s) %2", 5, egw.lang("deleted"))
2011-08-23 16:15:54 +00:00
Ralf Becker
7dd54648b9
merging all translations in window.egw_lang, to not have to search n-arrays
2011-08-21 20:22:09 +00:00
Ralf Becker
0aa128b53e
Loading translations like other javascript files:
...
setting headers to allow browser to cache the file until it's etag containing the creationdates of the used langfiles changes
--> et2 can now use egw_lang object to translate labels, options, ...
2011-08-21 20:09:14 +00:00