summaryrefslogtreecommitdiffstats
path: root/web/lib/translator.inc.php
AgeCommit message (Collapse)AuthorFilesLines
2012-03-09Merge branch 'maint'HEADmasterLukas Fleischer1-2/+2
Conflicts: UPGRADING web/lib/config.inc.php.proto
2011-10-24Move SUPPORTED_LANGS out of config.inc.phpDan McGee1-0/+84
This has no real business being here, and is a pain to update when new languages are shipped. Move it and the set_lang() function to translator.inc.php instead so it doesn't overwhelm the user-configurable settings file with static stuff. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-08-20web/lib/translator.inc.php: Use vsprintf() in __()Lukas Fleischer1-14/+5
Remove hacky substitution code from __() and use vsprintf() instead which will deal with all sorts of format strings properly. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-06-22rename *.inc files to *.inc.php and adjust imports and referenceselij1-0/+50
Lukas: Add note to "UPGRADING". Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>