which compiles the translation files into the form
used by the web code.
Projects that don't use "upgrade" will need to do this manually
whenever translation files change.
svn path=/trunk/boinc/; revision=17652
- Removed language interface code (noone seemed to understand/use it anyways)
- Removed a lot of debug. Compiling the language files will now only show whether the compile worked or not
- Removed automatic change-detection. You must now manually trigger compiles using ops/update_translations.php (improves performance slightly)
- Extended tra() to support arbitrary number of arguments
- Random code documentation fixes
- Fixed language override selection page to now correctly show the possible language alternatives
svn path=/trunk/boinc/; revision=16190
for a particular (non-ASCII) profile text.
Not sure why, but I rewrote sub_sentence() in
less obscure way and it works now
- web: slight cleanup of translation code.
Can we please replace this with gettext()??
svn path=/trunk/boinc/; revision=16035
(language_select.php wasn't working)
- tr.po had some syntax error, and was way out of date.
replaced it with en.po
svn path=/trunk/boinc/; revision=15858
which added only confusion.
Implement login directly, using cookies.
- All cookie setting/clearing now goes through two functions,
send_cookie() and clear_cookie().
These deal with path and expiry
(e.g. if you want to have different language or forum settings
on two projects on the same server, that now works).
svn path=/trunk/boinc/; revision=14735
- bug in language_select.php made 'auto' not work,
i.e. its impossible to return to browser settings
after doing a cookie-based language choice
- translation.inc and language_select.php were using $HTTP_SERVER_VARS,
which appears to be deprecated in PHP 5.
Use $_SERVER instead.
- made strings at top of web site translatable
html/
inc/
translation.inc
user/
language_select.php
languages/translations/
en.po
svn path=/trunk/boinc/; revision=12493