Merge lp://staging/~thomas-e-zander/exaile/artist_strip into lp://staging/exaile/0.3.3
Proposed by
Thomas Zander
Status: | Superseded | ||||
---|---|---|---|---|---|
Proposed branch: | lp://staging/~thomas-e-zander/exaile/artist_strip | ||||
Merge into: | lp://staging/exaile/0.3.3 | ||||
Diff against target: |
210 lines 6 files modified
data/ui/collection_prefs_pane.glade (+70/-0) po/de.po (+4/-0) xl/common.py (+4/-1) xlgui/prefs/__init__.py (+2/-2) xlgui/prefs/collection_prefs.py (+66/-0) xlgui/prefs/widgets.py (+1/-0) |
||||
To merge this branch: | bzr merge lp://staging/~thomas-e-zander/exaile/artist_strip | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Johannes Sasongko | Needs Fixing | ||
Review via email: mp+12207@code.staging.launchpad.net |
This proposal has been superseded by a proposal from 2009-10-04.
To post a comment you must log in.
Rather than
+ default_list = ["el", "l'", "la", "le", "les", "los", "the"] list.extend( ["der", "die", "das"])
+ try:
+ (loc, enc) = getlocale()
+ if loc is None:
+ (loc, enc) = getdefaultlocale()
+ #TRANSLATORS: Alter default_list to appropriate content
+ if loc == 'de_DE':
+ default_
I'd prefer it to be a translatable string that translators can override completely. Something like
#TRANSLATORS: ...
default_list = _("the ")
A translator can then translate that, e.g.
"the" --> "le ;l';les "
This way, on locales where this kind of stripping doesn't make sense at all, it can be translated as
"the" --> ""