Grammalecte  Diff

Differences From Artifact [be1117599a]:

To Artifact [a8cb6b2d8a]:








1


2





3
4




5
6
7
8
9
10
11
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
+
+
+
+
+
+
-
+
+

+
+
+
+
+
-
-
+
+
+
+







# Strings for Tags Info


sUI = "fr"


def getUI (sLang):
def selectLang (sLang):
    global sUI
    if sLang in dStrings:
        sUI = sLang


def get (sMsgCode):
    try:
        return dStrings[sLang]
    return dStrings["fr"]
        return dStrings[sUI].get(sMsgCode, sMsgCode)
    except:
        return "#error"


dStrings = {
    "fr": {
        "title": "Grammalecte · Informations",

        "information_section": "Informations",

26
27
28
29
30
31
32
33

34
35
36
37
38
39
40
40
41
42
43
44
45
46

47
48
49
50
51
52
53
54







-
+







        "meaning": "Signification",

        "close_button": "Fermer"
    },

    "en": {
        "title": "Grammalecte · Informations",
        

        "information_section": "Informations",

        "save": "Save",
        "save_desc": "Modifications to the lexicon are only saved in the dictionary when you click on ‹Save›.",

        "duplicates": "Duplicates",
        "duplicates_desc": "It is useless to expurgate your lexicon from duplicates. Duplicates are automatically deleted when the dictionary is created.",