summaryrefslogtreecommitdiffstats
path: root/web/lib/translator.inc
AgeCommit message (Collapse)AuthorFilesLines
2009-04-13translator.inc: Eliminate notices for untranslated strings.Loui Chang1-8/+9
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-19Use new conglomerated translation files.Loui Chang1-1/+3
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-21Introduce function include_lang for translations.Loui Chang1-4/+14
This includes only the requested language for each page and makes top level language include files obsolete. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-17Stop printing underscores around untranslated strings.Loui Chang1-1/+1
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-28Convert special chars in translations to html entities.Loui Chang1-1/+3
This closes FS#10809 - bug in french translation of AUR web interface Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-22Add a new DEFAULT_LANG constant.Loui Chang1-3/+6
DEFAULT_LANG will essentially be used to specify what language strings are initially written in. This will eliminate the need for English translation arrays in AUR and make adding or changing the English strings a lot easier. DEFAULT_LANG may be required for strings to display properly. Also change the output when a translation isn't found. Eliminate the <b> which can cause validation errors depending on where the string is placed. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-17Remove all vim mode lines. Add HACKING file.Loui Chang1-1/+0
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-03-27New behaviour for translations. Function takes variable number of arguments.Loui Chang1-10/+26
The old string,array usage is still supported however. (for now) Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Simo Leone <simo@archlinux.org>
2007-09-20patch from eliott to convert all <? to <?phppjmattal1-1/+1
2005-06-11changed missing translations to red rather than blinkpjmattal1-1/+1
2004-06-19finished tweaking language selectioneric1-15/+0
2004-06-19renamed _() function to __() to avoid gettext conflicteric1-4/+5
2004-06-18finishing touches on genpopo, started playing with _real_ PHP code and svn ↵eric1-6/+16
keywords
2004-06-14Started adding i18n supporteric1-0/+55