~ubuntu-branches/ubuntu/precise/language-selector/precise

Viewing all changes in revision 190.

  • Committer: Martin Pitt
  • Date: 2012-03-27 06:28:59 UTC
  • Revision ID: martin.pitt@canonical.com-20120327062859-rswk00glqd8tnyp0
language_support_pkgs.py, _expand_pkg_pattern(): Special-case "zh-han[st]"
values for the locale. These are not actual locales, but e. g. Ubiquity
assumes this works. So let these mean "zh_CN" and "zh_TW" respectively.
Add a test case to tests/test_language_support_pkgs.py. (LP: #963460)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: