Lukas Fleischer
3a5693166c
Remove comment on translation helpers from "web/lib/translator.inc".
...
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-04-10 16:27:48 +02:00
Lukas Fleischer
22a718ea89
Replace translation engine with php-gettext.
...
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-04-10 15:40:50 +02:00
Loui Chang
c97f558898
Remove useless or redundant code for translations.
...
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-01-09 18:24:53 -05:00
Loui Chang
06e400a2f0
translator.inc: Remove old and deprecated code.
...
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-01-09 00:47:39 -05:00
Athurg Gooth
8eab9ed462
Make DEFAULT_LANG mean the default language for displayed messages.
...
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-01-08 17:23:09 -05:00
Loui Chang
610733eafd
Remove excess whitespace.
...
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-06-25 00:05:44 -04:00
Loui Chang
f028d5c140
translator.inc: Eliminate notices for untranslated strings.
...
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-04-13 09:55:04 -04:00
Loui Chang
2ee3276348
Use new conglomerated translation files.
...
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-19 16:29:45 -05:00
Loui Chang
78c2b5c67f
Introduce function include_lang for translations.
...
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-21 18:03:27 +09:00
Loui Chang
361609a034
Stop printing underscores around untranslated strings.
...
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-17 14:38:18 -05:00
Loui Chang
2c6bae2e63
Convert special chars in translations to html entities.
...
This closes
FS#10809 - bug in french translation of AUR web interface
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-28 16:58:58 +08:00
Loui Chang
1a1a6eb36e
Add a new DEFAULT_LANG constant.
...
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-07-22 13:47:17 -04:00
Loui Chang
3a42725601
Remove all vim mode lines. Add HACKING file.
...
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-17 01:38:01 -04:00
Loui Chang
ba9eda5503
New behaviour for translations. Function takes variable number of arguments.
...
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>
2008-03-27 02:36:15 -05:00
pjmattal
452d6b1245
patch from eliott to convert all <? to <?php
2007-09-20 21:46:43 +00:00
pjmattal
0a199a929a
changed missing translations to red rather than blink
2005-06-11 02:46:25 +00:00
eric
22e8556691
finished tweaking language selection
2004-06-19 14:36:22 +00:00
eric
74594e516d
renamed _() function to __() to avoid gettext conflict
2004-06-18 22:42:07 +00:00
eric
1e35dc01cf
finishing touches on genpopo, started playing with _real_ PHP code and svn keywords
2004-06-18 16:23:14 +00:00
eric
5268aa5802
Started adding i18n support
2004-06-14 18:31:31 +00:00