Hi:
As you may have seen, I've been working on properly i18nize quills
portlets. Their titles and descriptions, although passed through _
method, weren't caught by i18ndude, because the real msgid were in
variables::
TITLE = u'My great portlet'
def title(self):
return _(TITLE)
And i18ndude needs the string in the _ method to properly get the
translation::
TITLE = _(u'My great portlet')
def title(self):
return TITLE
In the same way, I've changed "add XXX portlet" and "edit XXX portlet"
not to have one msgid for each portlet, but just one with portlet-name
as variable in the msgid.
I've also changed the Title method for Archive types, usign just the
year number and day number for days (currently they were showing Year
2008 and Day 01, for example) and showing the monthname translated
instead of month number. I have to made sacrifice for our translation
Gods and use self.utranslate to get the title translated in order to get
a proper <title></title> tag in the generated HTML code.
Best,
Mikel
--
Mikel Larreategi
[EMAIL PROTECTED]
CodeSyntax
Azitaingo Industrialdea 3 K
E-20600 Eibar
Tel: (+34) 943 82 17 80
_______________________________________________
quills-dev mailing list
[email protected]
http://lists.etria.com/cgi-bin/mailman/listinfo/quills-dev