Submitted by : nachtigall at: 2005-10-05T06:16:52+00:00 (12 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

On the top right it says: "edit-page (last edited ... ago)". The edit-page is not translatable, ie it does not show up in the pot file. There it goes untranslated to the non-english user. It is in "skins/zwiki_standard/wikipage.pt":

                <a tal:condition="python:user.has_permission('Zwiki: Edit pages',here)"
                   tal:attributes="
                    href python:here.page_url() + '/editform';
                    title python: here.translateHelper('edit-page') + ' (' + here.linkTitle() + ')'"
                   href="page_url/editform"
                   title="edit this page (last edited n days ago by so-and-so)"
                   accesskey="e"
                   >

Also untranslatable is the rating stuff ("click to vote") in plugins/rating/ratingform.pt:

  (lambda n:'click to vote %s (%s) for this page (%d votes)

I'd love to commit a patch, but don't know how to do this for python code embedded into page templates.


comments:

It's everywhere --EmmaLaurijssens, Wed, 05 Oct 2005 06:28:35 -0700 reply
In the code snippet I pasted into #1172 it says quite bluntly i18n:translate=""