~thomas-e-zander/exaile/artist_strip

« back to all changes in this revision

Viewing changes to xlgui/prefs/collection_prefs.py

  • Committer: Thomas Zander
  • Date: 2009-10-08 18:42:03 UTC
  • mfrom: (2410.1.139 exaile-0.3.0)
  • Revision ID: thomas.e.zander@googlemail.com-20091008184203-wllp5ec8pym0ef7s
Sync with exaile main dev branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
ui = xdg.get_data_path('ui/collection_prefs_pane.glade')
24
24
 
25
25
def _get_default_strip_list():
26
 
    #TRANSLATORS: Alter default_strip_list
27
 
    default_strip_list = _("el l' la le les los the")
 
26
    #TRANSLATORS: Grammatical articles that are ignored while sorting the
 
27
    #collection panel. For example, in French locales this could be
 
28
    #"l' la le les". If this practice is not common in your locale, simply
 
29
    #translate this to an empty string.
 
30
    default_strip_list = _("the")
28
31
    return [v.lower() for v in default_strip_list.split(' ') if v is not '']
29
32
 
30
33
class CollectionStripArtistPreference(widgets.ListPrefsItem):