]> sipb.mit.edu Git - ikiwiki.git/commitdiff
web commit by http://www.openidfrance.fr/beaufils
authorJoey Hess <joey@kitenet.net>
Mon, 7 Jul 2008 19:11:57 +0000 (15:11 -0400)
committerJoey Hess <joey@kitenet.net>
Mon, 7 Jul 2008 19:11:57 +0000 (15:11 -0400)
doc/bugs/ikiwiki_is_not_truly_localizable.mdwn

index 11bf1cab529398035ee03e649e890857626d440d..f10ea5fdb721bd51842d4d175a941d2cff515933 100644 (file)
@@ -14,6 +14,12 @@ should be written as
 > seem to require converting from the translations back into the C locale
 > when the form is posted. --[[Joey]]
 
 > seem to require converting from the translations back into the C locale
 > when the form is posted. --[[Joey]]
 
+>> Wouldn't it be more easy to change all calls to the corrects ones (including in plugins) ?
+>> For instance in the same file (CGI.pm): `elsif ($form->submitted eq gettext("Save Page")) {`.
+>> That way no conversion to the C locale is needed.
+>> gettext use should just be publicized in documentation (at least in [[plugins/write]]). --[[bbb]]
+
+
 In standards templates things seems wrongly written too. For instance in page.tmpl line like:
 
 `<li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a></li>`
 In standards templates things seems wrongly written too. For instance in page.tmpl line like:
 
 `<li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a></li>`