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
|
def getUI (sLang):
if sLang in dStrings:
return dStrings[sLang]
return dStrings["fr"]
dStrings = {
"fr": {
"title": "Grammalecte · Éditeur lexical",
# Ajout
"add_section": "Nouveau mot (lemme)",
"lemma": "Lemme",
"generate_button": "Créer",
# catégories
"common_name": "Nom commun",
"nom_adj": "Nom et adjectif",
"nom": "Nom",
"adj": "Adjectif",
"alt_lemma": "[optionnel] Autre forme (masculine, féminine, variante, etc.)",
"proper_name": "Nom propre",
"M1": "Prénom",
"M2": "Patronyme",
"MP": "Autre",
"gender": "Genre",
"epi": "épicène",
|
<
|
|
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
|
def getUI (sLang):
if sLang in dStrings:
return dStrings[sLang]
return dStrings["fr"]
dStrings = {
"fr": {
"title": "Grammalecte · Éditeur lexical",
# Ajout
"add_section": "Nouveau mot (lemme)",
"lemma": "Lemme",
# catégories
"common_name": "Nom commun",
"nom_adj": "Nom et adjectif",
"nom": "Nom",
"adj": "Adjectif",
"alt_lemma": "[optionnel] Autre forme (masculine, féminine, variante, etc.)",
"proper_name": "Nom propre",
"M1": "Prénom",
"M2": "Patronyme",
"MP": "Autre",
"gender": "Genre",
"epi": "épicène",
|