From 6b5e60ee1231353face99b3b154486f6a716e965 Mon Sep 17 00:00:00 2001 From: Boryana Goncharenko <3010723+boryanagoncharenko@users.noreply.github.com> Date: Thu, 19 Sep 2024 15:46:49 +0300 Subject: [PATCH] Remove enm lang files #5797 --- grammars/keywords-enm.lark | 54 -------------------------------------- hedy_content.py | 3 --- 2 files changed, 57 deletions(-) delete mode 100644 grammars/keywords-enm.lark diff --git a/grammars/keywords-enm.lark b/grammars/keywords-enm.lark deleted file mode 100644 index 2f844c60471..00000000000 --- a/grammars/keywords-enm.lark +++ /dev/null @@ -1,54 +0,0 @@ -_DEFINE: ("define" | "define") _SPACE? -_CALL: ("call" | "call") _SPACE? -_WITH: ("with" | "with") _SPACE? -_DEF: ("def" | "def") _SPACE? -_RETURN: ("return" | "return") _SPACE? -_PRINT: ("print" | "print") _SPACE? -_PLAY: ("play" | "play") _SPACE -_ASK: ("ask" | "ask") -_ECHO: ("echo" | "echo") _SPACE? -_FORWARD: ("forward" | "forward") _SPACE? -_TURN: ("turn" | "turn") _SPACE? -left: ("left" | "left") _SPACE? -right: ("right" | "right") _SPACE? -black: ("black" | "black") _SPACE? -blue: ("blue" | "blue") _SPACE? -brown: ("brown" | "brown") _SPACE? -gray: ("gray" | "gray") _SPACE? -green: ("green" | "green") _SPACE? -orange: ("orange" | "orange") _SPACE? -pink: ("pink" | "pink") _SPACE? -purple: ("purple" | "purple") _SPACE? -red: ("red" | "red") _SPACE? -white: ("white" | "white") _SPACE? -yellow: ("yellow" | "yellow") _SPACE? -_IS: _SPACE ("is" | "is") _SPACE -_STANDALONE_IS: ("is" | "is") -_SLEEP: ("sleep" | "sleep") _SPACE? -_ADD_LIST: ("add" | "add") _SPACE -_TO_LIST: _SPACE? ("to" | "to") _SPACE -_REMOVE: ("remove" | "remove") _SPACE -_FROM: _SPACE? ("from" | "from") _SPACE -_AT: _SPACE ("at" | "at") _SPACE -random: ("random" | "random") _SPACE? -_IN: _SPACE ("in" | "in") _SPACE -_NOT_IN: _SPACE ("not in" | "not in") _SPACE -_IF: ("if" | "if") _SPACE -_ELSE: "else" | "else" -_AND: _SPACE? ("and" | "and") _SPACE -_REPEAT: ("repeat" | "repeat") _SPACE -_TIMES: _SPACE ("times" | "times") -_FOR: ("for" | "for") _SPACE -_RANGE: ("range" | "range") _SPACE? -_TO: _SPACE ("to" | "to") _SPACE -_STEP: "step" | "step" -_ELIF: _SPACE? ("elif" | "elif") _SPACE -_INPUT: ("input" | "input") -_OR: _SPACE? ("or" | "or") _SPACE -_WHILE: ("while" | "while") _SPACE -_LENGTH: "length" | "length" -_COLOR : ("color" | "color") _SPACE? -_PRESSED: ("pressed" | "pressed") _SPACE? -clear: ("clear" | "clear") _SPACE? -TRUE: ("true" | "True" | "true" | "True") _SPACE? -FALSE: ("false" | "False" | "false" | "False") _SPACE? diff --git a/hedy_content.py b/hedy_content.py index d6970ac3f8e..30e1b87253e 100644 --- a/hedy_content.py +++ b/hedy_content.py @@ -24,15 +24,12 @@ 'tl': 'en', 'iba': 'en', 'peo': 'fa', - 'enm': 'en', - 'zun': 'en' } # For the non-existing language manually overwrite the display language to make sure it is displayed correctly CUSTOM_LANGUAGE_TRANSLATIONS = {'kmr': 'Kurdî (Tirkiye)', 'tl': 'ᜆᜄᜎᜓᜄ᜔', 'peo': 'Old Persian', - 'enm': 'English (Middle)', 'iba': 'Iban'} customize_babel_locale(CUSTOM_BABEL_LANGUAGES)