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
|
def getUI (sLang):
if sLang in dStrings:
return dStrings[sLang]
return dStrings["fr"]
dStrings = {
"fr": {
"title": "Grammalecte · Recenseur de mots",
"list_section": "Énumération des occurrences",
"count_button": "Compter tout",
"count2_button": "Compter par lemme",
"unknown_button": "Mots inconnus",
"num_of_entries": "Nombre d’entrées :",
"tot_of_entries": "Total des entrées :",
"words": "Mots",
"lemmas": "Lemmes",
"unknown_words": "Mots inconnus",
"dformat_section": "Formatage direct",
"charstyle_section": "Style de caractères",
"underline": "Surligner",
"nounderline": "Effacer",
"accentuation": "Accentuation",
"noaccentuation": "Aucun",
"tag_button": "Taguer",
"close_button": "Fermer",
},
"en": {
"title": "Grammalecte · Enumerator of words",
|
|
|
>
|
|
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
|
def getUI (sLang):
if sLang in dStrings:
return dStrings[sLang]
return dStrings["fr"]
dStrings = {
"fr": {
"title": "Grammalecte · Recenseur de mots",
"list_section": "Énumération des occurrences",
"count_button": "Compter tout",
"count2_button": "Compter par lemme",
"unknown_button": "Mots inconnus",
"num_of_entries": "Nombre d’entrées :",
"tot_of_entries": "Total des entrées :",
"words": "Mots",
"lemmas": "Lemmes",
"unknown_words": "Mots inconnus",
"dformat_section": "Formatage direct",
"charstyle_section": "Style de caractères",
"underline": "Surligner",
"nounderline": "Effacer",
"emphasis": "Accentuation",
"strong_emphasis": "Accentuation forte",
"nostyle": "Aucun",
"tag_button": "Taguer",
"close_button": "Fermer",
},
"en": {
"title": "Grammalecte · Enumerator of words",
|
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
"lemmas": "Lemmas",
"unknown_words": "Unknown words",
"dformat_section": "Direct format",
"charstyle_section": "Character style",
"underline": "Underline",
"nounderline": "Erase",
"accentuation": "Accentuation",
"noaccentuation": "None",
"tag_button": "Tag",
"close_button": "Close",
},
}
|
|
>
|
|
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
"lemmas": "Lemmas",
"unknown_words": "Unknown words",
"dformat_section": "Direct format",
"charstyle_section": "Character style",
"underline": "Underline",
"nounderline": "Erase",
"emphasis": "Emphasis",
"strong_emphasis": "Strong emphasis",
"nostyle": "None",
"tag_button": "Tag",
"close_button": "Close",
},
}
|