Grammalecte  Diff

Differences From Artifact [566a315685]:

To Artifact [2ba14d763e]:







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
+
+
+
+
+
-
+
+

+
+
+
+
+
-
-
+
+
+
+







# strings for Enumerator

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 · Recenseur de mots",

        "list_section": "Énumération des occurrences",
        "count_button": "Compter tout",