~ubuntu-langpack/langpack-o-matic/main

« back to all changes in this revision

Viewing changes to lib/localeinfo.py

  • Committer: Sebastien Bacher
  • Author(s): Cristian Gonzalez
  • Date: 2021-11-04 10:05:59 UTC
  • mfrom: (596.1.1 langpack-o-matic)
  • Revision ID: seb128@ubuntu.com-20211104100559-9nlulabfk5494cuu
Updating the crontab to include Jammy

Show diffs side-by-side

added added

removed removed

Lines of Context:
140
140
        >>> sl.language_locales('cs') == [('cs_CZ.UTF-8', 'UTF-8')]
141
141
        True
142
142
        >>> sl.language_locales('eo')
143
 
        [('eo_US.UTF-8', 'UTF-8'), ('eo.UTF-8', 'UTF-8')]
 
143
        [('eo', 'UTF-8'), ('eo_US.UTF-8', 'UTF-8')]
144
144
        >>> sl.language_locales('zh-hans')
145
145
        [('zh_CN.UTF-8', 'UTF-8'), ('zh_SG.UTF-8', 'UTF-8')]
146
146
        >>> sorted(sl.language_locales('zh-hant'))
176
176
        ['var/lib/locales/supported.d/de']
177
177
        >>> print(tar.extractfile('var/lib/locales/supported.d/de').read().decode('UTF-8'))
178
178
        de_DE.UTF-8 UTF-8
 
179
        de_IT.UTF-8 UTF-8
179
180
        de_CH.UTF-8 UTF-8
180
181
        de_BE.UTF-8 UTF-8
181
182
        de_LI.UTF-8 UTF-8