UI/SymbolsWidget.py

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3178
f25fc1364c88
parent 3190
a9a94491c4fd
child 3539
0c2dc1446ebf
equal deleted inserted replaced
3456:96232974dcdb 3484:645c12de6b0c
39 @param parent reference to the parent object (QObject) 39 @param parent reference to the parent object (QObject)
40 """ 40 """
41 super(SymbolsModel, self).__init__(parent) 41 super(SymbolsModel, self).__init__(parent)
42 42
43 self.__headerData = [ 43 self.__headerData = [
44 self.trUtf8("Code"), 44 self.tr("Code"),
45 self.trUtf8("Char"), 45 self.tr("Char"),
46 self.trUtf8("Hex"), 46 self.tr("Hex"),
47 self.trUtf8("HTML"), 47 self.tr("HTML"),
48 self.trUtf8("Name"), 48 self.tr("Name"),
49 ] 49 ]
50 50
51 self.__tables = [ 51 self.__tables = [
52 # first last display name 52 # first last display name
53 (0x0, 0x1f, self.trUtf8("Control Characters")), 53 (0x0, 0x1f, self.tr("Control Characters")),
54 (0x20, 0x7f, self.trUtf8("Basic Latin")), 54 (0x20, 0x7f, self.tr("Basic Latin")),
55 (0x80, 0xff, self.trUtf8("Latin-1 Supplement")), 55 (0x80, 0xff, self.tr("Latin-1 Supplement")),
56 (0x100, 0x17f, self.trUtf8("Latin Extended-A")), 56 (0x100, 0x17f, self.tr("Latin Extended-A")),
57 (0x180, 0x24f, self.trUtf8("Latin Extended-B")), 57 (0x180, 0x24f, self.tr("Latin Extended-B")),
58 (0x250, 0x2af, self.trUtf8("IPA Extensions")), 58 (0x250, 0x2af, self.tr("IPA Extensions")),
59 (0x2b0, 0x2ff, self.trUtf8("Spacing Modifier Letters")), 59 (0x2b0, 0x2ff, self.tr("Spacing Modifier Letters")),
60 (0x300, 0x36f, self.trUtf8("Combining Diacritical Marks")), 60 (0x300, 0x36f, self.tr("Combining Diacritical Marks")),
61 (0x370, 0x3ff, self.trUtf8("Greek and Coptic")), 61 (0x370, 0x3ff, self.tr("Greek and Coptic")),
62 (0x400, 0x4ff, self.trUtf8("Cyrillic")), 62 (0x400, 0x4ff, self.tr("Cyrillic")),
63 (0x500, 0x52f, self.trUtf8("Cyrillic Supplement")), 63 (0x500, 0x52f, self.tr("Cyrillic Supplement")),
64 (0x530, 0x58f, self.trUtf8("Armenian")), 64 (0x530, 0x58f, self.tr("Armenian")),
65 (0x590, 0x5ff, self.trUtf8("Hebrew")), 65 (0x590, 0x5ff, self.tr("Hebrew")),
66 (0x600, 0x6ff, self.trUtf8("Arabic")), 66 (0x600, 0x6ff, self.tr("Arabic")),
67 (0x700, 0x74f, self.trUtf8("Syriac")), 67 (0x700, 0x74f, self.tr("Syriac")),
68 (0x780, 0x7bf, self.trUtf8("Thaana")), 68 (0x780, 0x7bf, self.tr("Thaana")),
69 (0x7c0, 0x7ff, self.trUtf8("N'Ko")), 69 (0x7c0, 0x7ff, self.tr("N'Ko")),
70 (0x800, 0x83f, self.trUtf8("Samaritan")), 70 (0x800, 0x83f, self.tr("Samaritan")),
71 (0x840, 0x85f, self.trUtf8("Mandaic")), 71 (0x840, 0x85f, self.tr("Mandaic")),
72 (0x8a0, 0x8ff, self.trUtf8("Arabic Extended-A")), 72 (0x8a0, 0x8ff, self.tr("Arabic Extended-A")),
73 (0x900, 0x97f, self.trUtf8("Devanagari")), 73 (0x900, 0x97f, self.tr("Devanagari")),
74 (0x980, 0x9ff, self.trUtf8("Bengali")), 74 (0x980, 0x9ff, self.tr("Bengali")),
75 (0xa00, 0xa7f, self.trUtf8("Gurmukhi")), 75 (0xa00, 0xa7f, self.tr("Gurmukhi")),
76 (0xa80, 0xaff, self.trUtf8("Gujarati")), 76 (0xa80, 0xaff, self.tr("Gujarati")),
77 (0xb00, 0xb7f, self.trUtf8("Oriya")), 77 (0xb00, 0xb7f, self.tr("Oriya")),
78 (0xb80, 0xbff, self.trUtf8("Tamil")), 78 (0xb80, 0xbff, self.tr("Tamil")),
79 (0xc00, 0xc7f, self.trUtf8("Telugu")), 79 (0xc00, 0xc7f, self.tr("Telugu")),
80 (0xc80, 0xcff, self.trUtf8("Kannada")), 80 (0xc80, 0xcff, self.tr("Kannada")),
81 (0xd00, 0xd7f, self.trUtf8("Malayalam")), 81 (0xd00, 0xd7f, self.tr("Malayalam")),
82 (0xd80, 0xdff, self.trUtf8("Sinhala")), 82 (0xd80, 0xdff, self.tr("Sinhala")),
83 (0xe00, 0xe7f, self.trUtf8("Thai")), 83 (0xe00, 0xe7f, self.tr("Thai")),
84 (0xe80, 0xeff, self.trUtf8("Lao")), 84 (0xe80, 0xeff, self.tr("Lao")),
85 (0xf00, 0xfff, self.trUtf8("Tibetan")), 85 (0xf00, 0xfff, self.tr("Tibetan")),
86 (0x1000, 0x109f, self.trUtf8("Myanmar")), 86 (0x1000, 0x109f, self.tr("Myanmar")),
87 (0x10a0, 0x10ff, self.trUtf8("Georgian")), 87 (0x10a0, 0x10ff, self.tr("Georgian")),
88 (0x1100, 0x11ff, self.trUtf8("Hangul Jamo")), 88 (0x1100, 0x11ff, self.tr("Hangul Jamo")),
89 (0x1200, 0x137f, self.trUtf8("Ethiopic")), 89 (0x1200, 0x137f, self.tr("Ethiopic")),
90 (0x1380, 0x139f, self.trUtf8("Ethiopic Supplement")), 90 (0x1380, 0x139f, self.tr("Ethiopic Supplement")),
91 (0x13a0, 0x13ff, self.trUtf8("Cherokee")), 91 (0x13a0, 0x13ff, self.tr("Cherokee")),
92 (0x1400, 0x167f, 92 (0x1400, 0x167f,
93 self.trUtf8("Unified Canadian Aboriginal Syllabics")), 93 self.tr("Unified Canadian Aboriginal Syllabics")),
94 (0x1680, 0x169f, self.trUtf8("Ogham")), 94 (0x1680, 0x169f, self.tr("Ogham")),
95 (0x16a0, 0x16ff, self.trUtf8("Runic")), 95 (0x16a0, 0x16ff, self.tr("Runic")),
96 (0x1700, 0x171f, self.trUtf8("Tagalog")), 96 (0x1700, 0x171f, self.tr("Tagalog")),
97 (0x1720, 0x173f, self.trUtf8("Hanunoo")), 97 (0x1720, 0x173f, self.tr("Hanunoo")),
98 (0x1740, 0x175f, self.trUtf8("Buhid")), 98 (0x1740, 0x175f, self.tr("Buhid")),
99 (0x1760, 0x177f, self.trUtf8("Tagbanwa")), 99 (0x1760, 0x177f, self.tr("Tagbanwa")),
100 (0x1780, 0x17ff, self.trUtf8("Khmer")), 100 (0x1780, 0x17ff, self.tr("Khmer")),
101 (0x1800, 0x18af, self.trUtf8("Mongolian")), 101 (0x1800, 0x18af, self.tr("Mongolian")),
102 (0x18b0, 0x18ff, 102 (0x18b0, 0x18ff,
103 self.trUtf8("Unified Canadian Aboriginal Syllabics Extended")), 103 self.tr("Unified Canadian Aboriginal Syllabics Extended")),
104 (0x1900, 0x194f, self.trUtf8("Limbu")), 104 (0x1900, 0x194f, self.tr("Limbu")),
105 (0x1950, 0x197f, self.trUtf8("Tai Le")), 105 (0x1950, 0x197f, self.tr("Tai Le")),
106 (0x19e0, 0x19ff, self.trUtf8("Khmer Symbols")), 106 (0x19e0, 0x19ff, self.tr("Khmer Symbols")),
107 (0x1a00, 0x1a1f, self.trUtf8("Buginese")), 107 (0x1a00, 0x1a1f, self.tr("Buginese")),
108 (0x1a20, 0x1aaf, self.trUtf8("Tai Tham")), 108 (0x1a20, 0x1aaf, self.tr("Tai Tham")),
109 (0x1b00, 0x1b7f, self.trUtf8("Balinese")), 109 (0x1b00, 0x1b7f, self.tr("Balinese")),
110 (0x1b80, 0x1bbf, self.trUtf8("Sundanese")), 110 (0x1b80, 0x1bbf, self.tr("Sundanese")),
111 (0x1bc0, 0x1bff, self.trUtf8("Batak")), 111 (0x1bc0, 0x1bff, self.tr("Batak")),
112 (0x1c00, 0x1c4f, self.trUtf8("Lepcha")), 112 (0x1c00, 0x1c4f, self.tr("Lepcha")),
113 (0x1c50, 0x1c7f, self.trUtf8("Ol Chiki")), 113 (0x1c50, 0x1c7f, self.tr("Ol Chiki")),
114 (0x1cc0, 0x1ccf, self.trUtf8("Sundanese Supplement")), 114 (0x1cc0, 0x1ccf, self.tr("Sundanese Supplement")),
115 (0x1cd0, 0x1cff, self.trUtf8("Vedic Extensions")), 115 (0x1cd0, 0x1cff, self.tr("Vedic Extensions")),
116 (0x1d00, 0x1d7f, self.trUtf8("Phonetic Extensions")), 116 (0x1d00, 0x1d7f, self.tr("Phonetic Extensions")),
117 (0x1d80, 0x1dbf, self.trUtf8("Phonetic Extensions Supplement")), 117 (0x1d80, 0x1dbf, self.tr("Phonetic Extensions Supplement")),
118 (0x1dc0, 0x1dff, 118 (0x1dc0, 0x1dff,
119 self.trUtf8("Combining Diacritical Marks Supplement")), 119 self.tr("Combining Diacritical Marks Supplement")),
120 (0x1e00, 0x1eff, self.trUtf8("Latin Extended Additional")), 120 (0x1e00, 0x1eff, self.tr("Latin Extended Additional")),
121 (0x1f00, 0x1fff, self.trUtf8("Greek Extended")), 121 (0x1f00, 0x1fff, self.tr("Greek Extended")),
122 (0x2000, 0x206f, self.trUtf8("General Punctuation")), 122 (0x2000, 0x206f, self.tr("General Punctuation")),
123 (0x2070, 0x209f, self.trUtf8("Superscripts and Subscripts")), 123 (0x2070, 0x209f, self.tr("Superscripts and Subscripts")),
124 (0x20a0, 0x20cf, self.trUtf8("Currency Symbols")), 124 (0x20a0, 0x20cf, self.tr("Currency Symbols")),
125 (0x20d0, 0x20ff, self.trUtf8("Combining Diacritical Marks")), 125 (0x20d0, 0x20ff, self.tr("Combining Diacritical Marks")),
126 (0x2100, 0x214f, self.trUtf8("Letterlike Symbols")), 126 (0x2100, 0x214f, self.tr("Letterlike Symbols")),
127 (0x2150, 0x218f, self.trUtf8("Number Forms")), 127 (0x2150, 0x218f, self.tr("Number Forms")),
128 (0x2190, 0x21ff, self.trUtf8("Arcolumns")), 128 (0x2190, 0x21ff, self.tr("Arcolumns")),
129 (0x2200, 0x22ff, self.trUtf8("Mathematical Operators")), 129 (0x2200, 0x22ff, self.tr("Mathematical Operators")),
130 (0x2300, 0x23ff, self.trUtf8("Miscellaneous Technical")), 130 (0x2300, 0x23ff, self.tr("Miscellaneous Technical")),
131 (0x2400, 0x243f, self.trUtf8("Control Pictures")), 131 (0x2400, 0x243f, self.tr("Control Pictures")),
132 (0x2440, 0x245f, self.trUtf8("Optical Character Recognition")), 132 (0x2440, 0x245f, self.tr("Optical Character Recognition")),
133 (0x2460, 0x24ff, self.trUtf8("Enclosed Alphanumerics")), 133 (0x2460, 0x24ff, self.tr("Enclosed Alphanumerics")),
134 (0x2500, 0x257f, self.trUtf8("Box Drawing")), 134 (0x2500, 0x257f, self.tr("Box Drawing")),
135 (0x2580, 0x259f, self.trUtf8("Block Elements")), 135 (0x2580, 0x259f, self.tr("Block Elements")),
136 (0x25A0, 0x25ff, self.trUtf8("Geometric Shapes")), 136 (0x25A0, 0x25ff, self.tr("Geometric Shapes")),
137 (0x2600, 0x26ff, self.trUtf8("Miscellaneous Symbols")), 137 (0x2600, 0x26ff, self.tr("Miscellaneous Symbols")),
138 (0x2700, 0x27bf, self.trUtf8("Dingbats")), 138 (0x2700, 0x27bf, self.tr("Dingbats")),
139 (0x27c0, 0x27ef, 139 (0x27c0, 0x27ef,
140 self.trUtf8("Miscellaneous Mathematical Symbols-A")), 140 self.tr("Miscellaneous Mathematical Symbols-A")),
141 (0x27f0, 0x27ff, self.trUtf8("Supplement Arcolumns-A")), 141 (0x27f0, 0x27ff, self.tr("Supplement Arcolumns-A")),
142 (0x2800, 0x28ff, self.trUtf8("Braille Patterns")), 142 (0x2800, 0x28ff, self.tr("Braille Patterns")),
143 (0x2900, 0x297f, self.trUtf8("Supplement Arcolumns-B")), 143 (0x2900, 0x297f, self.tr("Supplement Arcolumns-B")),
144 (0x2980, 0x29ff, 144 (0x2980, 0x29ff,
145 self.trUtf8("Miscellaneous Mathematical Symbols-B")), 145 self.tr("Miscellaneous Mathematical Symbols-B")),
146 (0x2a00, 0x2aff, 146 (0x2a00, 0x2aff,
147 self.trUtf8("Supplemental Mathematical Operators")), 147 self.tr("Supplemental Mathematical Operators")),
148 (0x2b00, 0x2bff, 148 (0x2b00, 0x2bff,
149 self.trUtf8("Miscellaneous Symbols and Arcolumns")), 149 self.tr("Miscellaneous Symbols and Arcolumns")),
150 (0x2c00, 0x2c5f, self.trUtf8("Glagolitic")), 150 (0x2c00, 0x2c5f, self.tr("Glagolitic")),
151 (0x2c60, 0x2c7f, self.trUtf8("Latin Extended-C")), 151 (0x2c60, 0x2c7f, self.tr("Latin Extended-C")),
152 (0x2c80, 0x2cff, self.trUtf8("Coptic")), 152 (0x2c80, 0x2cff, self.tr("Coptic")),
153 (0x2d00, 0x2d2f, self.trUtf8("Georgian Supplement")), 153 (0x2d00, 0x2d2f, self.tr("Georgian Supplement")),
154 (0x2d30, 0x2d7f, self.trUtf8("Tifinagh")), 154 (0x2d30, 0x2d7f, self.tr("Tifinagh")),
155 (0x2d80, 0x2ddf, self.trUtf8("Ethiopic Extended")), 155 (0x2d80, 0x2ddf, self.tr("Ethiopic Extended")),
156 (0x2de0, 0x2dff, self.trUtf8("Cyrillic Extended-A")), 156 (0x2de0, 0x2dff, self.tr("Cyrillic Extended-A")),
157 (0x2e00, 0x2e7f, self.trUtf8("Supplemental Punctuation")), 157 (0x2e00, 0x2e7f, self.tr("Supplemental Punctuation")),
158 (0x2e80, 0x2eff, self.trUtf8("CJK Radicals Supplement")), 158 (0x2e80, 0x2eff, self.tr("CJK Radicals Supplement")),
159 (0x2f00, 0x2fdf, self.trUtf8("KangXi Radicals")), 159 (0x2f00, 0x2fdf, self.tr("KangXi Radicals")),
160 (0x2ff0, 0x2fff, self.trUtf8("Ideographic Description Chars")), 160 (0x2ff0, 0x2fff, self.tr("Ideographic Description Chars")),
161 (0x3000, 0x303f, self.trUtf8("CJK Symbols and Punctuation")), 161 (0x3000, 0x303f, self.tr("CJK Symbols and Punctuation")),
162 (0x3040, 0x309f, self.trUtf8("Hiragana")), 162 (0x3040, 0x309f, self.tr("Hiragana")),
163 (0x30a0, 0x30ff, self.trUtf8("Katakana")), 163 (0x30a0, 0x30ff, self.tr("Katakana")),
164 (0x3100, 0x312f, self.trUtf8("Bopomofo")), 164 (0x3100, 0x312f, self.tr("Bopomofo")),
165 (0x3130, 0x318f, self.trUtf8("Hangul Compatibility Jamo")), 165 (0x3130, 0x318f, self.tr("Hangul Compatibility Jamo")),
166 (0x3190, 0x319f, self.trUtf8("Kanbun")), 166 (0x3190, 0x319f, self.tr("Kanbun")),
167 (0x31a0, 0x31bf, self.trUtf8("Bopomofo Extended")), 167 (0x31a0, 0x31bf, self.tr("Bopomofo Extended")),
168 (0x31c0, 0x31ef, self.trUtf8("CJK Strokes")), 168 (0x31c0, 0x31ef, self.tr("CJK Strokes")),
169 (0x31f0, 0x31ff, self.trUtf8("Katakana Phonetic Extensions")), 169 (0x31f0, 0x31ff, self.tr("Katakana Phonetic Extensions")),
170 (0x3200, 0x32ff, self.trUtf8("Enclosed CJK Letters and Months")), 170 (0x3200, 0x32ff, self.tr("Enclosed CJK Letters and Months")),
171 (0x3300, 0x33ff, self.trUtf8("CJK Compatibility")), 171 (0x3300, 0x33ff, self.tr("CJK Compatibility")),
172 (0x3400, 0x4dbf, self.trUtf8("CJK Unified Ideogr. Ext. A")), 172 (0x3400, 0x4dbf, self.tr("CJK Unified Ideogr. Ext. A")),
173 (0x4dc0, 0x4dff, self.trUtf8("Yijing Hexagram Symbols")), 173 (0x4dc0, 0x4dff, self.tr("Yijing Hexagram Symbols")),
174 (0x4e00, 0x9fff, self.trUtf8("CJK Unified Ideographs")), 174 (0x4e00, 0x9fff, self.tr("CJK Unified Ideographs")),
175 (0xa000, 0xa48f, self.trUtf8("Yi Syllables")), 175 (0xa000, 0xa48f, self.tr("Yi Syllables")),
176 (0xa490, 0xa4cf, self.trUtf8("Yi Radicals")), 176 (0xa490, 0xa4cf, self.tr("Yi Radicals")),
177 (0xa4d0, 0xa4ff, self.trUtf8("Lisu")), 177 (0xa4d0, 0xa4ff, self.tr("Lisu")),
178 (0xa500, 0xa63f, self.trUtf8("Vai")), 178 (0xa500, 0xa63f, self.tr("Vai")),
179 (0xa640, 0xa69f, self.trUtf8("Cyrillic Extended-B")), 179 (0xa640, 0xa69f, self.tr("Cyrillic Extended-B")),
180 (0xa6a0, 0xa6ff, self.trUtf8("Bamum")), 180 (0xa6a0, 0xa6ff, self.tr("Bamum")),
181 (0xa700, 0xa71f, self.trUtf8("Modifier Tone Letters")), 181 (0xa700, 0xa71f, self.tr("Modifier Tone Letters")),
182 (0xa720, 0xa7ff, self.trUtf8("Latin Extended-D")), 182 (0xa720, 0xa7ff, self.tr("Latin Extended-D")),
183 (0xa800, 0xa82f, self.trUtf8("Syloti Nagri")), 183 (0xa800, 0xa82f, self.tr("Syloti Nagri")),
184 (0xa830, 0xa83f, self.trUtf8("Common Indic Number Forms")), 184 (0xa830, 0xa83f, self.tr("Common Indic Number Forms")),
185 (0xa840, 0xa87f, self.trUtf8("Phags-pa")), 185 (0xa840, 0xa87f, self.tr("Phags-pa")),
186 (0xa880, 0xa8df, self.trUtf8("Saurashtra")), 186 (0xa880, 0xa8df, self.tr("Saurashtra")),
187 (0xa8e0, 0xa8ff, self.trUtf8("Devanagari Extended")), 187 (0xa8e0, 0xa8ff, self.tr("Devanagari Extended")),
188 (0xa900, 0xa92f, self.trUtf8("Kayah Li")), 188 (0xa900, 0xa92f, self.tr("Kayah Li")),
189 (0xa930, 0xa95f, self.trUtf8("Rejang")), 189 (0xa930, 0xa95f, self.tr("Rejang")),
190 (0xa960, 0xa97f, self.trUtf8("Hangul Jamo Extended-A")), 190 (0xa960, 0xa97f, self.tr("Hangul Jamo Extended-A")),
191 (0xa980, 0xa9df, self.trUtf8("Javanese")), 191 (0xa980, 0xa9df, self.tr("Javanese")),
192 (0xaa00, 0xaa5f, self.trUtf8("Cham")), 192 (0xaa00, 0xaa5f, self.tr("Cham")),
193 (0xaa60, 0xaa7f, self.trUtf8("Myanmar Extended-A")), 193 (0xaa60, 0xaa7f, self.tr("Myanmar Extended-A")),
194 (0xaa80, 0xaadf, self.trUtf8("Tai Viet")), 194 (0xaa80, 0xaadf, self.tr("Tai Viet")),
195 (0xaae0, 0xaaff, self.trUtf8("Meetei Mayek Extensions")), 195 (0xaae0, 0xaaff, self.tr("Meetei Mayek Extensions")),
196 (0xab00, 0xab2f, self.trUtf8("Ethiopic Extended-A")), 196 (0xab00, 0xab2f, self.tr("Ethiopic Extended-A")),
197 (0xabc0, 0xabff, self.trUtf8("Meetei Mayek")), 197 (0xabc0, 0xabff, self.tr("Meetei Mayek")),
198 (0xac00, 0xd7af, self.trUtf8("Hangul Syllables")), 198 (0xac00, 0xd7af, self.tr("Hangul Syllables")),
199 (0xd7b0, 0xd7ff, self.trUtf8("Hangul Jamo Extended-B")), 199 (0xd7b0, 0xd7ff, self.tr("Hangul Jamo Extended-B")),
200 (0xd800, 0xdb7f, self.trUtf8("High Surrogates")), 200 (0xd800, 0xdb7f, self.tr("High Surrogates")),
201 (0xdb80, 0xdbff, self.trUtf8("High Private Use Surrogates")), 201 (0xdb80, 0xdbff, self.tr("High Private Use Surrogates")),
202 (0xdc00, 0xdfff, self.trUtf8("Low Surrogates")), 202 (0xdc00, 0xdfff, self.tr("Low Surrogates")),
203 (0xe000, 0xf8ff, self.trUtf8("Private Use")), 203 (0xe000, 0xf8ff, self.tr("Private Use")),
204 (0xf900, 0xfaff, self.trUtf8("CJK Compatibility Ideographs")), 204 (0xf900, 0xfaff, self.tr("CJK Compatibility Ideographs")),
205 (0xfb00, 0xfb4f, self.trUtf8("Alphabetic Presentation Forms")), 205 (0xfb00, 0xfb4f, self.tr("Alphabetic Presentation Forms")),
206 (0xfb50, 0xfdff, self.trUtf8("Arabic Presentation Forms-A")), 206 (0xfb50, 0xfdff, self.tr("Arabic Presentation Forms-A")),
207 (0xfe00, 0xfe0f, self.trUtf8("Variation Selectors")), 207 (0xfe00, 0xfe0f, self.tr("Variation Selectors")),
208 (0xfe10, 0xfe1f, self.trUtf8("Vertical Forms")), 208 (0xfe10, 0xfe1f, self.tr("Vertical Forms")),
209 (0xfe20, 0xfe2f, self.trUtf8("Combining Half Marks")), 209 (0xfe20, 0xfe2f, self.tr("Combining Half Marks")),
210 (0xfe30, 0xfe4f, self.trUtf8("CJK Compatibility Forms")), 210 (0xfe30, 0xfe4f, self.tr("CJK Compatibility Forms")),
211 (0xfe50, 0xfe6f, self.trUtf8("Small Form Variants")), 211 (0xfe50, 0xfe6f, self.tr("Small Form Variants")),
212 (0xfe70, 0xfeff, self.trUtf8("Arabic Presentation Forms-B")), 212 (0xfe70, 0xfeff, self.tr("Arabic Presentation Forms-B")),
213 (0xff00, 0xffef, self.trUtf8("Half- and Fullwidth Forms")), 213 (0xff00, 0xffef, self.tr("Half- and Fullwidth Forms")),
214 (0xfff0, 0xffff, self.trUtf8("Specials")), 214 (0xfff0, 0xffff, self.tr("Specials")),
215 ] 215 ]
216 if sys.maxunicode > 0xffff: 216 if sys.maxunicode > 0xffff:
217 self.__tables.extend([ 217 self.__tables.extend([
218 (0x10000, 0x1007f, self.trUtf8("Linear B Syllabary")), 218 (0x10000, 0x1007f, self.tr("Linear B Syllabary")),
219 (0x10080, 0x100ff, self.trUtf8("Linear B Ideograms")), 219 (0x10080, 0x100ff, self.tr("Linear B Ideograms")),
220 (0x10100, 0x1013f, self.trUtf8("Aegean Numbers")), 220 (0x10100, 0x1013f, self.tr("Aegean Numbers")),
221 (0x10140, 0x1018f, self.trUtf8("Ancient Greek Numbers")), 221 (0x10140, 0x1018f, self.tr("Ancient Greek Numbers")),
222 (0x10190, 0x101cf, self.trUtf8("Ancient Symbols")), 222 (0x10190, 0x101cf, self.tr("Ancient Symbols")),
223 (0x101d0, 0x101ff, self.trUtf8("Phaistos Disc")), 223 (0x101d0, 0x101ff, self.tr("Phaistos Disc")),
224 (0x10280, 0x1029f, self.trUtf8("Lycian")), 224 (0x10280, 0x1029f, self.tr("Lycian")),
225 (0x102a0, 0x102df, self.trUtf8("Carian")), 225 (0x102a0, 0x102df, self.tr("Carian")),
226 (0x10300, 0x1032f, self.trUtf8("Old Italic")), 226 (0x10300, 0x1032f, self.tr("Old Italic")),
227 (0x10330, 0x1034f, self.trUtf8("Gothic")), 227 (0x10330, 0x1034f, self.tr("Gothic")),
228 (0x10380, 0x1039f, self.trUtf8("Ugaritic")), 228 (0x10380, 0x1039f, self.tr("Ugaritic")),
229 (0x103a0, 0x103df, self.trUtf8("Old Persian")), 229 (0x103a0, 0x103df, self.tr("Old Persian")),
230 (0x10400, 0x1044f, self.trUtf8("Deseret")), 230 (0x10400, 0x1044f, self.tr("Deseret")),
231 (0x10450, 0x1047f, self.trUtf8("Shavian")), 231 (0x10450, 0x1047f, self.tr("Shavian")),
232 (0x10480, 0x104af, self.trUtf8("Osmanya")), 232 (0x10480, 0x104af, self.tr("Osmanya")),
233 (0x10800, 0x1083f, self.trUtf8("Cypriot Syllabary")), 233 (0x10800, 0x1083f, self.tr("Cypriot Syllabary")),
234 (0x10840, 0x1085f, self.trUtf8("Imperial Aramaic")), 234 (0x10840, 0x1085f, self.tr("Imperial Aramaic")),
235 (0x10900, 0x1091f, self.trUtf8("Phoenician")), 235 (0x10900, 0x1091f, self.tr("Phoenician")),
236 (0x10920, 0x1093f, self.trUtf8("Lydian")), 236 (0x10920, 0x1093f, self.tr("Lydian")),
237 (0x10980, 0x1099f, self.trUtf8("Meroitic Hieroglyphs")), 237 (0x10980, 0x1099f, self.tr("Meroitic Hieroglyphs")),
238 (0x109a0, 0x109ff, self.trUtf8("Meroitic Cursive")), 238 (0x109a0, 0x109ff, self.tr("Meroitic Cursive")),
239 (0x10a00, 0x10a5f, self.trUtf8("Kharoshthi")), 239 (0x10a00, 0x10a5f, self.tr("Kharoshthi")),
240 (0x10a60, 0x10a7f, self.trUtf8("Old South Arabian")), 240 (0x10a60, 0x10a7f, self.tr("Old South Arabian")),
241 (0x10b00, 0x10b3f, self.trUtf8("Avestan")), 241 (0x10b00, 0x10b3f, self.tr("Avestan")),
242 (0x10b40, 0x10b5f, self.trUtf8("Inscriptional Parthian")), 242 (0x10b40, 0x10b5f, self.tr("Inscriptional Parthian")),
243 (0x10b60, 0x10b7f, self.trUtf8("Inscriptional Pahlavi")), 243 (0x10b60, 0x10b7f, self.tr("Inscriptional Pahlavi")),
244 (0x10c00, 0x10c4f, self.trUtf8("Old Turkic")), 244 (0x10c00, 0x10c4f, self.tr("Old Turkic")),
245 (0x10e60, 0x10e7f, self.trUtf8("Rumi Numeral Symbols")), 245 (0x10e60, 0x10e7f, self.tr("Rumi Numeral Symbols")),
246 (0x11000, 0x1107f, self.trUtf8("Brahmi")), 246 (0x11000, 0x1107f, self.tr("Brahmi")),
247 (0x11080, 0x110cf, self.trUtf8("Kaithi")), 247 (0x11080, 0x110cf, self.tr("Kaithi")),
248 (0x110d0, 0x110ff, self.trUtf8("Sora Sompeng")), 248 (0x110d0, 0x110ff, self.tr("Sora Sompeng")),
249 (0x11100, 0x1114f, self.trUtf8("Chakma")), 249 (0x11100, 0x1114f, self.tr("Chakma")),
250 (0x11180, 0x111df, self.trUtf8("Sharada")), 250 (0x11180, 0x111df, self.tr("Sharada")),
251 (0x11680, 0x116cf, self.trUtf8("Takri")), 251 (0x11680, 0x116cf, self.tr("Takri")),
252 (0x12000, 0x123ff, self.trUtf8("Cuneiform")), 252 (0x12000, 0x123ff, self.tr("Cuneiform")),
253 (0x12400, 0x1247f, 253 (0x12400, 0x1247f,
254 self.trUtf8("Cuneiform Numbers and Punctuation")), 254 self.tr("Cuneiform Numbers and Punctuation")),
255 (0x13000, 0x1342f, self.trUtf8("Egyptian Hieroglyphs")), 255 (0x13000, 0x1342f, self.tr("Egyptian Hieroglyphs")),
256 (0x16800, 0x16a3f, self.trUtf8("Bamum Supplement")), 256 (0x16800, 0x16a3f, self.tr("Bamum Supplement")),
257 (0x16f00, 0x16f9f, self.trUtf8("Miao")), 257 (0x16f00, 0x16f9f, self.tr("Miao")),
258 (0x1b000, 0x1b0ff, self.trUtf8("Kana Supplement")), 258 (0x1b000, 0x1b0ff, self.tr("Kana Supplement")),
259 (0x1d000, 0x1d0ff, self.trUtf8("Byzantine Musical Symbols")), 259 (0x1d000, 0x1d0ff, self.tr("Byzantine Musical Symbols")),
260 (0x1d100, 0x1d1ff, self.trUtf8("Musical Symbols")), 260 (0x1d100, 0x1d1ff, self.tr("Musical Symbols")),
261 (0x1d200, 0x1d24f, 261 (0x1d200, 0x1d24f,
262 self.trUtf8("Ancient Greek Musical Notation")), 262 self.tr("Ancient Greek Musical Notation")),
263 (0x1d300, 0x1d35f, self.trUtf8("Tai Xuan Jing Symbols")), 263 (0x1d300, 0x1d35f, self.tr("Tai Xuan Jing Symbols")),
264 (0x1d360, 0x1d37f, 264 (0x1d360, 0x1d37f,
265 self.trUtf8("Counting Rod Numerals")), 265 self.tr("Counting Rod Numerals")),
266 (0x1d400, 0x1d7ff, 266 (0x1d400, 0x1d7ff,
267 self.trUtf8("Mathematical Alphanumeric Symbols")), 267 self.tr("Mathematical Alphanumeric Symbols")),
268 (0x1ee00, 0x1eeff, 268 (0x1ee00, 0x1eeff,
269 self.trUtf8("Arabic Mathematical Alphabetic Symbols")), 269 self.tr("Arabic Mathematical Alphabetic Symbols")),
270 (0x1f000, 0x1f02f, self.trUtf8("Mahjong Tiles")), 270 (0x1f000, 0x1f02f, self.tr("Mahjong Tiles")),
271 (0x1f030, 0x1f09f, self.trUtf8("Domino Tiles")), 271 (0x1f030, 0x1f09f, self.tr("Domino Tiles")),
272 (0x1f0a0, 0x1f0ff, self.trUtf8("Playing Cards")), 272 (0x1f0a0, 0x1f0ff, self.tr("Playing Cards")),
273 (0x1f100, 0x1f1ff, 273 (0x1f100, 0x1f1ff,
274 self.trUtf8("Enclosed Alphanumeric Supplement")), 274 self.tr("Enclosed Alphanumeric Supplement")),
275 (0x1f200, 0x1f2ff, 275 (0x1f200, 0x1f2ff,
276 self.trUtf8("Enclosed Ideographic Supplement")), 276 self.tr("Enclosed Ideographic Supplement")),
277 (0x1f300, 0x1f5ff, 277 (0x1f300, 0x1f5ff,
278 self.trUtf8("Miscellaneous Symbols And Pictographs")), 278 self.tr("Miscellaneous Symbols And Pictographs")),
279 (0x1f600, 0x1f64f, self.trUtf8("Emoticons")), 279 (0x1f600, 0x1f64f, self.tr("Emoticons")),
280 (0x1f680, 0x1f6ff, self.trUtf8("Transport And Map Symbols")), 280 (0x1f680, 0x1f6ff, self.tr("Transport And Map Symbols")),
281 (0x1f700, 0x1f77f, self.trUtf8("Alchemical Symbols")), 281 (0x1f700, 0x1f77f, self.tr("Alchemical Symbols")),
282 (0x20000, 0x2a6df, self.trUtf8("CJK Unified Ideogr. Ext. B")), 282 (0x20000, 0x2a6df, self.tr("CJK Unified Ideogr. Ext. B")),
283 (0x2a700, 0x2b73f, 283 (0x2a700, 0x2b73f,
284 self.trUtf8("CJK Unified Ideographs Extension C")), 284 self.tr("CJK Unified Ideographs Extension C")),
285 (0x2b740, 0x2b81f, 285 (0x2b740, 0x2b81f,
286 self.trUtf8("CJK Unified Ideographs Extension D")), 286 self.tr("CJK Unified Ideographs Extension D")),
287 (0x2f800, 0x2fa1f, 287 (0x2f800, 0x2fa1f,
288 self.trUtf8("CJK Compatapility Ideogr. Suppl.")), 288 self.tr("CJK Compatapility Ideogr. Suppl.")),
289 (0xe0000, 0xe007f, self.trUtf8("Tags")), 289 (0xe0000, 0xe007f, self.tr("Tags")),
290 (0xe0100, 0xe01ef, 290 (0xe0100, 0xe01ef,
291 self.trUtf8("Variation Selectors Supplement")), 291 self.tr("Variation Selectors Supplement")),
292 (0xf0000, 0xfffff, 292 (0xf0000, 0xfffff,
293 self.trUtf8("Supplementary Private Use Area-A")), 293 self.tr("Supplementary Private Use Area-A")),
294 (0x100000, 0x10ffff, 294 (0x100000, 0x10ffff,
295 self.trUtf8("Supplementary Private Use Area-B")), 295 self.tr("Supplementary Private Use Area-B")),
296 ]) 296 ])
297 self.__currentTableIndex = 0 297 self.__currentTableIndex = 0
298 298
299 def getTableNames(self): 299 def getTableNames(self):
300 """ 300 """

eric ide

mercurial