Index: gc_lang/fr/build_data.py ================================================================== --- gc_lang/fr/build_data.py +++ gc_lang/fr/build_data.py @@ -322,13 +322,13 @@ dCur[sWord] = {} dCur = dCur[sWord] sCode = "# generated data (do not edit)\n\n" + \ "dLocutions = " + str(dLocutions) + "\n" - open(sp+"/modules/locutions.py", "w", encoding="utf-8", newline="\n").write(sCode) + open(sp+"/modules/locutions_data.py", "w", encoding="utf-8", newline="\n").write(sCode) if bJS: - open(sp+"/modules-js/locutions.json", "w", encoding="utf-8", newline="\n").write(json.dumps(dLocutions, ensure_ascii=False)) + open(sp+"/modules-js/locutions_data.json", "w", encoding="utf-8", newline="\n").write(json.dumps(dLocutions, ensure_ascii=False)) def before (spLaunch, dVars, bJS=False): print("========== Build Hunspell dictionaries ==========") makeDictionaries(spLaunch, dVars['oxt_version']) DELETED gc_lang/fr/modules-js/locutions.json Index: gc_lang/fr/modules-js/locutions.json ================================================================== --- gc_lang/fr/modules-js/locutions.json +++ gc_lang/fr/modules-js/locutions.json @@ -1,1 +0,0 @@ -{"à": {"califourchon": {}, "cœur": {"joie": {}, "ouvert": {}}, "corps": {"perdu": {}}, "perte": {"de": {"vue": {}}}, "visage": {"découvert": {}}}, "par": {"ailleurs": {}, "acquit": {"de": {"conscience": {}}}}} ADDED gc_lang/fr/modules-js/locutions_data.json Index: gc_lang/fr/modules-js/locutions_data.json ================================================================== --- gc_lang/fr/modules-js/locutions_data.json +++ gc_lang/fr/modules-js/locutions_data.json @@ -0,0 +1,1 @@ +{"à": {"califourchon": {}, "cœur": {"joie": {}, "ouvert": {}}, "corps": {"perdu": {}}, "perte": {"de": {"vue": {}}}, "visage": {"découvert": {}}}, "par": {"ailleurs": {}, "acquit": {"de": {"conscience": {}}}}} DELETED gc_lang/fr/modules/locutions.py Index: gc_lang/fr/modules/locutions.py ================================================================== --- gc_lang/fr/modules/locutions.py +++ gc_lang/fr/modules/locutions.py @@ -1,3 +0,0 @@ -# generated data (do not edit) - -dLocutions = {'à': {'califourchon': {}, 'cœur': {'joie': {}, 'ouvert': {}}, 'corps': {'perdu': {}}, 'perte': {'de': {'vue': {}}}, 'visage': {'découvert': {}}}, 'par': {'ailleurs': {}, 'acquit': {'de': {'conscience': {}}}}} ADDED gc_lang/fr/modules/locutions_data.py Index: gc_lang/fr/modules/locutions_data.py ================================================================== --- gc_lang/fr/modules/locutions_data.py +++ gc_lang/fr/modules/locutions_data.py @@ -0,0 +1,3 @@ +# generated data (do not edit) + +dLocutions = {'à': {'califourchon': {}, 'cœur': {'joie': {}, 'ouvert': {}}, 'corps': {'perdu': {}}, 'perte': {'de': {'vue': {}}}, 'visage': {'découvert': {}}}, 'par': {'ailleurs': {}, 'acquit': {'de': {'conscience': {}}}}}