mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Closes #834: Fix HTML help language/encoding mapping for all Sphinx supported languages.
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -35,6 +35,9 @@ Release 1.1.3 (in development)
|
||||
|
||||
* #832: Fix crashes when putting comments or lone terms in a glossary.
|
||||
|
||||
* #834: Fix HTML help language/encoding mapping for all Sphinx supported
|
||||
languages.
|
||||
|
||||
|
||||
Release 1.1.2 (Nov 1, 2011) -- 1.1.1 is a silly version number anyway!
|
||||
======================================================================
|
||||
|
||||
@@ -124,20 +124,31 @@ was will with
|
||||
# See http://msdn.microsoft.com/en-us/library/ms930130.aspx for more.
|
||||
chm_locales = {
|
||||
# lang: LCID, encoding
|
||||
'cs': (0x405, 'iso8859_2'),
|
||||
'de': (0x407, 'iso8859_1'),
|
||||
'en': (0x409, 'iso8859_1'),
|
||||
'es': (0x40a, 'iso8859_1'),
|
||||
'fi': (0x40b, 'iso8859_1'),
|
||||
'fr': (0x40c, 'iso8859_1'),
|
||||
'it': (0x410, 'iso8859_1'),
|
||||
'ca': (0x403, 'cp1252'),
|
||||
'cs': (0x405, 'cp1250'),
|
||||
'da': (0x406, 'cp1252'),
|
||||
'de': (0x407, 'cp1252'),
|
||||
'en': (0x409, 'cp1252'),
|
||||
'es': (0x40a, 'cp1252'),
|
||||
'et': (0x425, 'cp1257'),
|
||||
'fa': (0x429, 'cp1256'),
|
||||
'fi': (0x40b, 'cp1252'),
|
||||
'fr': (0x40c, 'cp1252'),
|
||||
'hr': (0x41a, 'cp1250'),
|
||||
'hu': (0x40e, 'cp1250'),
|
||||
'it': (0x410, 'cp1252'),
|
||||
'ja': (0x411, 'cp932'),
|
||||
'ko': (0x412, 'cp949'),
|
||||
'lt': (0x427, 'cp1257'),
|
||||
'lv': (0x426, 'cp1257'),
|
||||
'nl': (0x413, 'iso8859_1'),
|
||||
'pl': (0x415, 'iso8859_2'),
|
||||
'pt_BR': (0x416, 'iso8859_1'),
|
||||
'nl': (0x413, 'cp1252'),
|
||||
'pl': (0x415, 'cp1250'),
|
||||
'pt_BR': (0x416, 'cp1252'),
|
||||
'ru': (0x419, 'cp1251'),
|
||||
'sl': (0x424, 'iso8859_2'),
|
||||
'sk': (0x41b, 'cp1250'),
|
||||
'sl': (0x424, 'cp1250'),
|
||||
'sv': (0x41d, 'cp1252'),
|
||||
'tr': (0x41f, 'cp1254'),
|
||||
'uk_UA': (0x422, 'cp1251'),
|
||||
'zh_CN': (0x804, 'cp936'),
|
||||
'zh_TW': (0x404, 'cp950'),
|
||||
|
||||
Reference in New Issue
Block a user