-
Notifications
You must be signed in to change notification settings - Fork 4
/
languageTemplate.py
48 lines (40 loc) · 1.17 KB
/
languageTemplate.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
class languageTemplate:
def __init__(self):
self.LanguageCode = 'base'
self.Language = 'General'
self.Language_native = 'Base Language'
self.encoding_font_list = [
{'font_name': self.Language + 'Font',
'display_name': self.Language,
'font_path': '/fonts/',
},
]
self.unicode_font_list = [
{
'source': '/fonts/NotoSans-Regular.ttf',
'family': 'NotoSans',
'longName': 'Noto Sans',
},
]
self.lang_list = []
self.links = [
{'linkText': 'Keyboard',
'ref': '/' + self.LanguageCode + '/'},
{'linkText': 'Converter',
'ref': self.LanguageCode + '/converter/'},
{'linkText': 'Font conversion summary',
'ref': self.LanguageCode + 'encodingRules/'},
{'linkText': 'Resources',
'ref': self.LanguageCode + '/downloads/'},
]
self.kb_list = [
{'shortName': self.LanguageCode,
'longName': self.Language
}
]
self.text_file_list = [
]
# Controls display of toggle for variation sequence.
self.variation_sequence = False
self.baseHexUTF16 = u''
return