Skip to content

Commit

Permalink
Translations update from Hosted Weblate (#6156)
Browse files Browse the repository at this point in the history
Translations update from [Hosted Weblate](https://hosted.weblate.org) for [Hedy/Adventures](https://hosted.weblate.org/projects/hedy/adventures/).


It also includes following components:

* [Hedy/client-messages](https://hosted.weblate.org/projects/hedy/client-messages/)

* [Hedy/Webpages](https://hosted.weblate.org/projects/hedy/webpages/)

* [Hedy/Keywords](https://hosted.weblate.org/projects/hedy/keywords/)

* [Hedy/slides](https://hosted.weblate.org/projects/hedy/slides/)

* [Hedy/Texts](https://hosted.weblate.org/projects/hedy/web-texts/)

* [Hedy/Workbooks](https://hosted.weblate.org/projects/hedy/workbooks/)



Current translation status:

![Weblate translation status](https://hosted.weblate.org/widget/hedy/adventures/horizontal-auto.svg)

Co-Authored-By: Lynn <lynn.van.hauwe@gmail.com>
Co-Authored-By: Languages add-on <noreply-addon-languages@weblate.org>
  • Loading branch information
3 people authored Feb 3, 2025
1 parent 938ab87 commit 9c66bb6
Show file tree
Hide file tree
Showing 13 changed files with 2,250 additions and 2 deletions.
1 change: 1 addition & 0 deletions content/adventures/jbo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions content/client-messages/jbo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
25 changes: 25 additions & 0 deletions content/keywords/jbo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
comma: ','
d1: '1'
d6: '6'
d0: '0'
d2: '2'
brown: bunre
color: skari
ask: retsku
at: bu'u
black: xekri
blue: blanu
d3: '3'
d4: '4'
d5: '5'
d9: '9'
def: ca'e
define: smudu'a
echo: mirsku
elif: va'onaiva'o
else: va'onai
'false': jitfa
and: je
d7: '7'
d8: '8'
'False': Jitfa
1 change: 1 addition & 0 deletions content/pages/jbo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions content/slides/jbo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions content/workbooks/jbo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
54 changes: 54 additions & 0 deletions grammars/keywords-jbo.lark
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
_DEFINE: ("smudu'a" | "define") _SPACE?
_CALL: ("call" | "call") _SPACE?
_WITH: ("with" | "with") _SPACE?
_DEF: ("ca'e" | "def") _SPACE?
_RETURN: ("return" | "return") _SPACE?
_PRINT: ("print" | "print") _SPACE?
_PLAY: ("play" | "play") _SPACE
_ASK: ("retsku" | "ask")
_ECHO: ("mirsku" | "echo") _SPACE?
_FORWARD: ("forward" | "forward") _SPACE?
_TURN: ("turn" | "turn") _SPACE?
left: ("left" | "left") _SPACE?
right: ("right" | "right") _SPACE?
black: ("xekri" | "black") _SPACE?
blue: ("blanu" | "blue") _SPACE?
brown: ("bunre" | "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")
_REMOVE: ("remove" | "remove") _SPACE
_FROM: _SPACE? ("from" | "from")
_AT: _SPACE ("bu'u" | "at") _SPACE
random: ("random" | "random") _SPACE?
_IN: _SPACE ("in" | "in") _SPACE
_NOT_IN: _SPACE ("not in" | "not in") _SPACE
_IF: ("if" | "if") _SPACE
_ELSE: "va'onai" | "else"
_AND: _SPACE? ("je" | "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? ("va'onaiva'o" | "elif") _SPACE
_INPUT: ("input" | "input")
_OR: _SPACE? ("or" | "or") _SPACE
_WHILE: ("while" | "while") _SPACE
_LENGTH: "length" | "length"
_COLOR : ("skari" | "color") _SPACE?
_PRESSED: ("pressed" | "pressed") _SPACE?
clear: ("clear" | "clear") _SPACE?
TRUE: ("true" | "True" | "true" | "True") _SPACE?
FALSE: ("jitfa" | "Jitfa" | "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 @@ -1651,6 +1651,65 @@
"yellow": "きいろ|yellow",
"DIGIT": "00112233445566778899"
},
"jbo": {
"False": "Jitfa|False",
"True": "True",
"add": "add",
"and": "je|and",
"ask": "retsku|ask",
"at": "bu'u|at",
"black": "xekri|black",
"blue": "blanu|blue",
"brown": "bunre|brown",
"call": "call",
"clear": "clear",
"color": "skari|color",
"comma": ",",
"def": "ca'e|def",
"define": "smudu'a|define",
"echo": "mirsku|echo",
"elif": "va'onaiva'o|elif",
"else": "va'onai|else",
"false": "jitfa|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"
},
"kab": {
"False": "Yecceḍ|False",
"True": "Swaswa|True",
Expand Down
100 changes: 100 additions & 0 deletions static/js/appbundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -61812,6 +61812,46 @@ ${o3}` : i3;
"turtle": "\u{1F422}",
"unsaved_class_changes": "There are unsaved changes, are you sure you want to leave this page?"
},
"jbo": {
"CheckInternet": "Check whether your Internet connection is working.",
"Connection_error": "We couldn't reach the server.",
"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": "You made a mistake! Don't worry, we still ran the program",
"Execute_error": "Something went wrong.",
"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 can help us out by sending an email with the level and your program to hello@hedy.org. In the meantime, try something a little different. 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?"
},
"kab": {
"CheckInternet": "Senqed tuqqna-k \u0263er Internet tetteddu akken iwata.",
"Connection_error": "Ur nessawe\u1E0D ara \u0263er uqeddac.",
Expand Down Expand Up @@ -98633,6 +98673,65 @@ def note_with_error(value, err):
yellow: "\u304D\u3044\u308D|yellow",
DIGIT: "0\uFF101\uFF112\uFF123\uFF134\uFF145\uFF156\uFF167\uFF178\uFF189\uFF19"
};
var jbo = {
False: "Jitfa|False",
True: "True",
add: "add",
and: "je|and",
ask: "retsku|ask",
at: "bu'u|at",
black: "xekri|black",
blue: "blanu|blue",
brown: "bunre|brown",
call: "call",
clear: "clear",
color: "skari|color",
comma: ",",
def: "ca'e|def",
define: "smudu'a|define",
echo: "mirsku|echo",
elif: "va'onaiva'o|elif",
else: "va'onai|else",
false: "jitfa|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 kab = {
False: "Yecce\u1E0D|False",
True: "Swaswa|True",
Expand Down Expand Up @@ -100786,6 +100885,7 @@ def note_with_error(value, err):
id,
it,
ja,
jbo,
kab,
kmr,
kn,
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 @@ -1123,6 +1123,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?"
},
"jbo": {
"CheckInternet": "Check whether your Internet connection is working.",
"Connection_error": "We couldn't reach the server.",
"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": "You made a mistake! Don't worry, we still ran the program",
"Execute_error": "Something went wrong.",
"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 can help us out by sending an email with the level and your program to hello@hedy.org. In the meantime, try something a little different. 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?"
},
"kab": {
"CheckInternet": "Senqed tuqqna-k ɣer Internet tetteddu akken iwata.",
"Connection_error": "Ur nessaweḍ ara ɣer uqeddac.",
Expand Down
2 changes: 2 additions & 0 deletions static_babel_content.json
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@
"id": "Indonesia",
"it": "Italiano",
"ja": "\u65e5\u672c\u8a9e",
"jbo": "La .Lojban.",
"kab": "Taqbaylit",
"kmr": "Kurd\u00ee (Tirkiye)",
"kn": "\u0c95\u0ca8\u0ccd\u0ca8\u0ca1",
Expand Down Expand Up @@ -346,6 +347,7 @@
"id": "ltr",
"it": "ltr",
"ja": "ltr",
"jbo": "ltr",
"kab": "ltr",
"kmr": "ltr",
"kn": "ltr",
Expand Down
Loading

0 comments on commit 9c66bb6

Please sign in to comment.