Skip to content

Commit

Permalink
🤖 Automatically update generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
boryanagoncharenko authored and actions-user committed Oct 23, 2024
1 parent 575def3 commit e225936
Show file tree
Hide file tree
Showing 8 changed files with 262 additions and 5 deletions.
54 changes: 54 additions & 0 deletions grammars/keywords-ta.lark
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
_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?
59 changes: 59 additions & 0 deletions highlighting/highlighting-trad.json
Original file line number Diff line number Diff line change
Expand Up @@ -2772,6 +2772,65 @@
"yellow": "yellow",
"DIGIT": "0123456789"
},
"ta": {
"False": "False",
"True": "True",
"add": "add",
"and": "and",
"ask": "ask",
"at": "at",
"black": "black",
"blue": "blue",
"brown": "brown",
"call": "call",
"clear": "clear",
"color": "color",
"comma": ",",
"def": "def",
"define": "define",
"echo": "echo",
"elif": "elif",
"else": "else",
"false": "false",
"for": "for",
"forward": "forward",
"from": "from",
"gray": "gray",
"green": "green",
"if": "if",
"in": "in",
"input": "input",
"is": "is",
"left": "left",
"length": "length",
"not_in": "not in",
"or": "or",
"orange": "orange",
"pink": "pink",
"play": "play",
"pressed": "pressed",
"print": "print",
"purple": "purple",
"random": "random",
"range": "range",
"red": "red",
"remove": "remove",
"repeat": "repeat",
"return": "return",
"right": "right",
"sleep": "sleep",
"step": "step",
"times": "times",
"to": "to",
"to_list": "to",
"true": "true",
"turn": "turn",
"while": "while",
"white": "white",
"with": "with",
"yellow": "yellow",
"DIGIT": "0123456789"
},
"te": {
"False": "False",
"True": "True",
Expand Down
104 changes: 102 additions & 2 deletions static/js/appbundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -9682,8 +9682,8 @@ Read more: ${P}#error-${t4}`;
}
const Js2 = Zs;
var Xs2 = Ei2 && Ei2.isMap;
var ta = Xs2 ? Ai2(Xs2) : Js2;
const ea = ta;
var ta2 = Xs2 ? Ai2(Xs2) : Js2;
const ea = ta2;
var na2 = "[object Set]";
function oa2(t4) {
return te3(t4) && is18(t4) == na2;
Expand Down Expand Up @@ -62568,6 +62568,46 @@ ${o3}` : i3;
"turtle": "\u{1F422}",
"unsaved_class_changes": "There are unsaved changes, are you sure you want to leave this page?"
},
"ta": {
"CheckInternet": "\u0B89\u0B99\u0BCD\u0B95\u0BB3\u0BCD \u0B87\u0BA3\u0BC8\u0BAF \u0B87\u0BA3\u0BC8\u0BAA\u0BCD\u0BAA\u0BC1 \u0B9A\u0BC6\u0BAF\u0BB2\u0BCD\u0BAA\u0B9F\u0BC1\u0B95\u0BBF\u0BB1\u0BA4\u0BBE \u0B8E\u0BA9 \u0B9A\u0BB0\u0BBF\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BB5\u0BC1\u0BAE\u0BCD.",
"Connection_error": "\u0B8E\u0B99\u0BCD\u0B95\u0BB3\u0BBE\u0BB2\u0BCD \u0B9A\u0BC7\u0BB5\u0BC8\u0BAF\u0B95\u0BA4\u0BCD\u0BA4\u0BC8 \u0B85\u0B9F\u0BC8\u0BAF \u0BAE\u0BC1\u0B9F\u0BBF\u0BAF\u0BB5\u0BBF\u0BB2\u0BCD\u0BB2\u0BC8.",
"Empty_output": "This code works but does not print anything. Add a print command to your code or use the turtle to get output.",
"Errors_found": "\u0B89\u0B99\u0BCD\u0B95\u0BB3\u0BCD \u0BA8\u0BBF\u0BB0\u0BB2\u0BBF\u0BB2\u0BCD \u0BAA\u0BBF\u0BB4\u0BC8\u0B95\u0BB3\u0BCD \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95\u0BBF\u0BA9\u0BCD\u0BB1\u0BA9! \u0B8E\u0BA9\u0BBF\u0BA9\u0BC1\u0BAE\u0BCD \u0B95\u0BB5\u0BB2\u0BC8\u0BAF\u0BC1\u0BB1 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BBE\u0BAE\u0BCD. \u0B87\u0BB0\u0BC1\u0BAA\u0BCD\u0BAA\u0BBF\u0BA9\u0BC1\u0BAE\u0BCD \u0B89\u0B99\u0BCD\u0B95\u0BB3\u0BCD \u0BA8\u0BBF\u0BB0\u0BB2\u0BC8 \u0B87\u0BAF\u0B95\u0BCD\u0B95 \u0BAE\u0BC1\u0B9F\u0BBF\u0BA8\u0BCD\u0BA4\u0BA4\u0BC1",
"Execute_error": "Something went wrong while running the program.",
"Other_error": "Oops! Maybe we made a little mistake.",
"Program_repair": "This could be the correct code, can you fix it?",
"Program_too_long": "Your program takes too long to run.",
"ServerError": "You wrote a program we weren't expecting. If you want to help, send us an email with the level and your program at [email protected]. In the meantime, try something a little different and take another look at the examples. Thanks!",
"Transpile_error": "We can't run your program.",
"Transpile_success": "Good job!\nAmazing!\nWell done!\nExcellent!\nYou did great!",
"Transpile_warning": "Warning!",
"Unsaved_Changes": "You have an unsaved program. Do you want to leave without saving it?",
"adventures_completed": "Adventures completed: {number_of_adventures}",
"adventures_restored": "The default adventures have been restored.",
"adventures_tried": "Adventures tried",
"copy_link_to_share": "Copy link to share",
"customization_deleted": "Customizations successfully deleted.",
"dice": "\u{1F3B2}",
"directly_available": "Directly open",
"disabled": "Disabled",
"errors": "Errors",
"fortune": "\u{1F52E}, \u2728",
"graph_title": "Errors per adventure completed on level {level}",
"haunted": "\u{1F987}, \u{1F47B}, \u{1F383}",
"level_title": "Level",
"multiple_keywords_warning": "You are trying to use the keyword {orig_keyword}, but this keyword might have several meanings. Please choose the one you're trying to use from this list and copy paste it in your code, curly braces included: {keyword_list}",
"number_of_errors": "Number of errors: {number_of_errors}",
"one_level_error": "You need to select at least one level.",
"restaurant": "\u{1F363}, \u{1F355}, \u{1F354}",
"rock": "\u2702\uFE0F, \u{1F4DC}, \u{1F5FB}",
"select_all": "Select all",
"selected": "Selected",
"songs": "\u{1F3B5},\u{1F3B6}",
"successful_runs": "Successful runs: {successful_runs}",
"teacher_welcome": "Welcome to Hedy! Your are now the proud owner of a teachers account which allows you to create classes and invite students.",
"turtle": "\u{1F422}",
"unsaved_class_changes": "There are unsaved changes, are you sure you want to leave this page?"
},
"te": {
"CheckInternet": "Check whether your Internet connection is working.",
"Connection_error": "We couldn't reach the server.",
Expand Down Expand Up @@ -99511,6 +99551,65 @@ def note_with_error(value, err):
yellow: "yellow",
DIGIT: "0123456789"
};
var ta = {
False: "False",
True: "True",
add: "add",
and: "and",
ask: "ask",
at: "at",
black: "black",
blue: "blue",
brown: "brown",
call: "call",
clear: "clear",
color: "color",
comma: ",",
def: "def",
define: "define",
echo: "echo",
elif: "elif",
else: "else",
false: "false",
for: "for",
forward: "forward",
from: "from",
gray: "gray",
green: "green",
if: "if",
in: "in",
input: "input",
is: "is",
left: "left",
length: "length",
not_in: "not in",
or: "or",
orange: "orange",
pink: "pink",
play: "play",
pressed: "pressed",
print: "print",
purple: "purple",
random: "random",
range: "range",
red: "red",
remove: "remove",
repeat: "repeat",
return: "return",
right: "right",
sleep: "sleep",
step: "step",
times: "times",
to: "to",
to_list: "to",
true: "true",
turn: "turn",
while: "while",
white: "white",
with: "with",
yellow: "yellow",
DIGIT: "0123456789"
};
var te = {
False: "False",
True: "True",
Expand Down Expand Up @@ -100208,6 +100307,7 @@ def note_with_error(value, err):
sr,
sv,
sw,
ta,
te,
th,
tl,
Expand Down
4 changes: 2 additions & 2 deletions static/js/appbundle.js.map

Large diffs are not rendered by default.

40 changes: 40 additions & 0 deletions static/js/message-translations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1883,6 +1883,46 @@ export const TRANSLATIONS: Record<string, Record<MessageKey, string>> = {
"turtle": "🐢",
"unsaved_class_changes": "There are unsaved changes, are you sure you want to leave this page?"
},
"ta": {
"CheckInternet": "உங்கள் இணைய இணைப்பு செயல்படுகிறதா என சரிபார்க்கவும்.",
"Connection_error": "எங்களால் சேவையகத்தை அடைய முடியவில்லை.",
"Empty_output": "This code works but does not print anything. Add a print command to your code or use the turtle to get output.",
"Errors_found": "உங்கள் நிரலில் பிழைகள் இருக்கின்றன! எனினும் கவலையுற வேண்டாம். இருப்பினும் உங்கள் நிரலை இயக்க முடிந்தது",
"Execute_error": "Something went wrong while running the program.",
"Other_error": "Oops! Maybe we made a little mistake.",
"Program_repair": "This could be the correct code, can you fix it?",
"Program_too_long": "Your program takes too long to run.",
"ServerError": "You wrote a program we weren't expecting. If you want to help, send us an email with the level and your program at [email protected]. In the meantime, try something a little different and take another look at the examples. Thanks!",
"Transpile_error": "We can't run your program.",
"Transpile_success": "Good job!\nAmazing!\nWell done!\nExcellent!\nYou did great!",
"Transpile_warning": "Warning!",
"Unsaved_Changes": "You have an unsaved program. Do you want to leave without saving it?",
"adventures_completed": "Adventures completed: {number_of_adventures}",
"adventures_restored": "The default adventures have been restored.",
"adventures_tried": "Adventures tried",
"copy_link_to_share": "Copy link to share",
"customization_deleted": "Customizations successfully deleted.",
"dice": "🎲",
"directly_available": "Directly open",
"disabled": "Disabled",
"errors": "Errors",
"fortune": "🔮, ✨",
"graph_title": "Errors per adventure completed on level {level}",
"haunted": "🦇, 👻, 🎃",
"level_title": "Level",
"multiple_keywords_warning": "You are trying to use the keyword {orig_keyword}, but this keyword might have several meanings. Please choose the one you're trying to use from this list and copy paste it in your code, curly braces included: {keyword_list}",
"number_of_errors": "Number of errors: {number_of_errors}",
"one_level_error": "You need to select at least one level.",
"restaurant": "🍣, 🍕, 🍔",
"rock": "✂️, 📜, 🗻",
"select_all": "Select all",
"selected": "Selected",
"songs": "🎵,🎶",
"successful_runs": "Successful runs: {successful_runs}",
"teacher_welcome": "Welcome to Hedy! Your are now the proud owner of a teachers account which allows you to create classes and invite students.",
"turtle": "🐢",
"unsaved_class_changes": "There are unsaved changes, are you sure you want to leave this page?"
},
"te": {
"CheckInternet": "Check whether your Internet connection is working.",
"Connection_error": "We couldn't reach the server.",
Expand Down
2 changes: 2 additions & 0 deletions static_babel_content.json
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@
"sr": "\u0421\u0440\u043f\u0441\u043a\u0438",
"sv": "Svenska",
"sw": "Kiswahili",
"ta": "\u0ba4\u0bae\u0bbf\u0bb4\u0bcd",
"te": "\u0c24\u0c46\u0c32\u0c41\u0c17\u0c41",
"th": "\u0e44\u0e17\u0e22",
"tl": "Filipino (Pilipinas)",
Expand Down Expand Up @@ -358,6 +359,7 @@
"sr": "ltr",
"sv": "ltr",
"sw": "ltr",
"ta": "ltr",
"te": "ltr",
"th": "ltr",
"tl": "ltr",
Expand Down
3 changes: 2 additions & 1 deletion translations/ta/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Translations template for PROJECT.
# Tamil translations for PROJECT.
# Copyright (C) 2024 ORGANIZATION
# This file is distributed under the same license as the PROJECT project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
Expand Down Expand Up @@ -1894,3 +1894,4 @@ msgstr ""

msgid "your_program"
msgstr ""

1 change: 1 addition & 0 deletions translations/vi/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -2822,3 +2822,4 @@ msgstr "Your program"

#~ msgid "student_not_allowed_in_class"
#~ msgstr "Student not allowed in class"

0 comments on commit e225936

Please sign in to comment.