Mercurial > babel > old > babel-test
diff babel/core.py @ 375:369300a7ebd3
Implement support for aliases in the CLDR data. Closes #68. Also, update to CLDR 1.6, and a much improved `dump_data` script.
author | cmlenz |
---|---|
date | Mon, 07 Jul 2008 14:49:16 +0000 |
parents | 45860b15fafb |
children | c14986ac2151 |
line wrap: on
line diff
--- a/babel/core.py +++ b/babel/core.py @@ -223,7 +223,7 @@ def _data(self): if self.__data is None: - self.__data = localedata.load(str(self)) + self.__data = localedata.LocaleDataDict(localedata.load(str(self))) return self.__data _data = property(_data) @@ -326,7 +326,7 @@ Mapping of script codes to translated script names. >>> Locale('de', 'DE').variants['1901'] - u'alte deutsche Rechtschreibung' + u'Alte deutsche Rechtschreibung' :type: `dict` """) @@ -481,7 +481,7 @@ >>> Locale('en', 'US').time_zones['Europe/London']['long']['daylight'] u'British Summer Time' >>> Locale('en', 'US').time_zones['America/St_Johns']['city'] - u'St. John\u2019s' + u"St. John's" :type: `dict` """)