~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/i18n.py

  • Committer: John Arbash Meinel
  • Date: 2011-08-09 14:18:05 UTC
  • mto: (6015.9.8 2.4)
  • mto: This revision was merged to the branch mainline in revision 6066.
  • Revision ID: john@arbash-meinel.com-20110809141805-9lq771mvpsukl0pe
Catch a couple more cases that test tag fetching.

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
    global _translations
75
75
    if lang is None:
76
76
        lang = _get_current_locale()
77
 
    if lang is not None:
78
 
        languages = lang.split(':')
79
 
    else:
80
 
        languages = None
81
77
    _translations = _gettext.translation(
82
78
            'bzr',
83
79
            localedir=_get_locale_dir(),
84
 
            languages=languages,
 
80
            languages=lang.split(':'),
85
81
            fallback=True)
86
82
 
87
83