http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13794

--- Comment #6 from Bernardo Gonzalez Kriegel <[email protected]> ---
(In reply to Maxime Beaulieu from comment #5)
> Changes will only appear if the template you are generating contains:
> 
> <input type="text" name="translate" value="I wish to translate this">
> 
> And in the .po file:
> 
> #. INPUT type=text name=translate
> #: pathToTemplate:lineNumber
> msgid "I wish to translate this"
> msgstr "Translated!"
> 
> Without the patch tmpl_process3 will skip translation the value of the text
> input.
> With the patch the value is translated.
> 
> In my case, the untranslated text appeared in a customized template.
> I figured I would put a word out on the possible issue just in case.

Hi again, I found the following on current master:
1) Update a language 
2) Add an input type 'text' as suggested

e.g. on the first form of 'admin-home.tt',
<input type="text" name="translate" value="I wish to translate this">

3) Update again the language and diff staff PO file

+#. INPUT type=text name=translate
+#: intranet-tmpl/prog/en/modules/admin/admin-home.tt:25
+#, fuzzy
+msgid "I wish to translate this"
+msgstr "Título traducido: "

And this "without" your patch!!
Could you confirm?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to