diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-07-25 03:36:53 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-07-25 03:36:53 +0000 |
commit | c96d672810ae524aedf9ffff08dcca773cd9a876 (patch) | |
tree | 4d06c15920e5b1b60acdba2e4cea9c680ca5dc43 /doc/todo/l10n.mdwn | |
parent | d63068b669f5b5450b01a3142c2efca448d3dfc3 (diff) | |
download | ikiwiki-c96d672810ae524aedf9ffff08dcca773cd9a876.tar ikiwiki-c96d672810ae524aedf9ffff08dcca773cd9a876.tar.gz |
massive patchqueue reorg
patches can now be anywhere and tagged patch to show up on the patch list.
Moved all the patchqueue stuff to todo items; some of it was merged into
existing todo items.
Diffstat (limited to 'doc/todo/l10n.mdwn')
-rw-r--r-- | doc/todo/l10n.mdwn | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/doc/todo/l10n.mdwn b/doc/todo/l10n.mdwn new file mode 100644 index 000000000..3369bec11 --- /dev/null +++ b/doc/todo/l10n.mdwn @@ -0,0 +1,61 @@ +From [[Recai]]: +> Here is my initial work on ikiwiki l10n infrastructure (I'm sending it +> before finalizing, there may be errors). + +I've revised the patches (tested OK): + +- $config{lang} patch: + + <http://people.debian.org/~roktas/patches/ikiwiki/ikiwiki-lang.diff> + + + Support for CGI::FormBuilder. + + Modify Makefile.PL for l10n. + +- l10n infrastructure from Koha project. (This patch must be applied with + '-p1', also, it needs a 'chmod +x l10n/*.pl' after patching.) + + + Leave templates dir untouched, use a temporary translations directory + instead. + + Fix Makefile (it failed to update templates). + + http://people.debian.org/~roktas/patches/ikiwiki/ikiwiki-l10n.diff + +However... + +> fine. Also a final note, I haven't examined the quality of generated +> templates yet. + +Looks like, tmpl_process3 cannot preserve line breaks in template files. +For example, it processed the following template: + + Someone[1], possibly you, requested that you be emailed the password for +user + <TMPL_VAR USER_NAME> on <TMPL_VAR WIKINAME>[2]. + + The password is: <TMPL_VAR USER_PASSWORD> + + -- + ikiwiki + + [1] The user requesting the password was at IP address <TMPL_VAR +REMOTE_ADDR> + [2] Located at <TMPL_VAR WIKIURL> + +as (in Turkish): + +Birisi[1], ki muhtemelen bu sizsiniz, <TMPL_VAR WIKINAME>[2] üzerindeki +<TMPL_VAR USER_NAME> kullanıcısına ait parolanın epostalanması isteğinde +bulundu. Parola: <TMPL_VAR USER_PASSWORD> -- ikiwiki [1] Parolayı isteyen +kullanıcının ait IP adresi: <TMPL_VAR REMOTE_ADDR>[2] <TMPL_VAR WIKIURL> + +> Looks like, tmpl_process3 cannot preserve line breaks in template files. +> For example, it processed the following template: + +This could be easily worked around in tmpl_process3, but I wouldn't like to +maintain a separate utility. + +---- + +As to the hardcoded strings in ikiwiki, I've internationalized the program, +and there is a po/ikiwiki.pot in the source that can be translated. +--[[Joey]] |