Merge lp://qastaging/~milo/gwibber/gwibber-milo into lp://qastaging/~segphault/gwibber/webkitui

Proposed by Milo Casagrande
Status: Merged
Merged at revision: not available
Proposed branch: lp://qastaging/~milo/gwibber/gwibber-milo
Merge into: lp://qastaging/~segphault/gwibber/webkitui
To merge this branch: bzr merge lp://qastaging/~milo/gwibber/gwibber-milo
Reviewer Review Type Date Requested Status
Ryan Paul Approve
Review via email: mp+2550@code.qastaging.launchpad.net
To post a comment you must log in.
Revision history for this message
Milo Casagrande (milo) wrote :

Worked a little bit more on the i18n front:
 - Changed the if-else clause in configui.py for handling in a clearer translators way the different dialog titles
 - Added i18n support in microblog/support/__init__.py. I had to import the math library for using the floor() function to "round" to the smallest number seconds, hours and days, otherwise the plural forms handled by gettext wouldn't work correctly (it always showed a plural form as the number was always major than one)
 - Need to get some more info on why the aliased function _ doesn't work with plural forms, had to use the "canonical" way of gettext.ngettext (and BTW, even lngettext doesn't work with intltool)
 - I added a title to the Facebook authorization dialog, it was saying "run", now it says "Facebook Authorization"
 - Updated the POT file and the Italian translation

173. By Ryan Paul

Refactored microblog library to eliminate minidom usage

174. By Ryan Paul

Changed CONFIGURABLE_UI_ELEMENTS into a widget/name dict to accommodate localization

Revision history for this message
Milo Casagrande (milo) wrote :

With the last few commits I've been working on other i18n things:
- set as translatable the strings 'in reply to' and 'from' that appears in the html files. Had to rewrite a little bit the addMessages and addMessage functions to accept a new argument. I created a small dict with the two new strings and passed that to the function
- set as translatable the new strings in CONFIGURABEL_UI_ELEMENTS
- Updated POT and Italian translation

Revision history for this message
Ryan Paul (segphault) :
review: Approve
175. By Milo Casagrande

Additional i18n improvements

Subscribers

People subscribed via source and target branches