Skip to content

Commit

Permalink
Translations update from Hosted Weblate (#6169)
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/Texts](https://hosted.weblate.org/projects/hedy/web-texts/)

* [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/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: Ivan Klimchuk <alroniks@gmail.com>
Co-Authored-By: Languages add-on <noreply-addon-languages@weblate.org>
Co-Authored-By: Bob Idle <102661087+bobidle@users.noreply.github.com>
Co-Authored-By: Nicola Bortoletto <nicola.bortoletto@live.com>
  • Loading branch information
5 people authored Feb 9, 2025
1 parent 975eb09 commit e2a3dc1
Show file tree
Hide file tree
Showing 17 changed files with 2,245 additions and 31 deletions.
1 change: 1 addition & 0 deletions content/adventures/be.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
20 changes: 10 additions & 10 deletions content/adventures/cs.yaml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions content/client-messages/be.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
5 changes: 3 additions & 2 deletions content/client-messages/it.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
CheckInternet: Dai un'occhiata se la tua connessione Internet funziona correttamente.
CheckInternet: Controlla se la connessione a Internet funzioni correttamente.
Connection_error: Non siamo riuscito a contattare il server.
Empty_output: Questo codice funziona ma non stampa nulla. Aggiungi un comando print al tuo codice o usa la tartaruga per ottenere l'output.
Errors_found: Hai fatto un errore! Non preoccuparti, abbiamo comunque eseguito il programma
Execute_error: Qualcosa è andato storto nell'esecuzione del tuo codice.
Execute_error: Qualcosa è andato storto.
Other_error: Ops! Forse abbiamo fatto un errore.
Program_repair: Questo potrebbe essere il codice corretto, puoi risolverlo?
Program_too_long: Il tuo programma impiega troppo tempo per essere eseguito.
Expand All @@ -22,3 +22,4 @@ restaurant: Ristorante
rock: Roccia
songs: Suono
turtle: Tartaruga
ServerError: Puoi aiutarci inviandoci un'email con il livello e il tuo programma a hello@hedy.org. Nel frattempo, prova qualcosa di diverso. Grazie!
1 change: 1 addition & 0 deletions content/keywords/be.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
13 changes: 13 additions & 0 deletions content/keywords/it.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,16 @@ to_list: a
'True': Vero
with: con
play: esegui
quote: "'"
d9: '9'
d2: '2'
d3: '3'
d4: '4'
d5: '5'
d6: '6'
d7: '7'
d8: '8'
d0: '0'
d1: '1'
def: def
define: definire
1 change: 1 addition & 0 deletions content/pages/be.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions content/slides/be.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions content/workbooks/be.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
54 changes: 54 additions & 0 deletions grammars/keywords-be.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")
_REMOVE: ("remove" | "remove") _SPACE
_FROM: _SPACE? ("from" | "from")
_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?
2 changes: 1 addition & 1 deletion grammars/keywords-it.lark
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
_DEFINE: ("define" | "define") _SPACE?
_DEFINE: ("definire" | "define") _SPACE?
_CALL: ("chiama" | "call") _SPACE?
_WITH: ("con" | "with") _SPACE?
_DEF: ("def" | "def") _SPACE?
Expand Down
61 changes: 60 additions & 1 deletion highlighting/highlighting-trad.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,65 @@
"yellow": "ـ*اـ*صـ*فـ*رـ*|yellow",
"DIGIT": "0٠1١2٢3٣4٤5٥6٦7٧8٨9٩"
},
"be": {
"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"
},
"bg": {
"False": "Невярно|False",
"True": "Вярно|True",
Expand Down Expand Up @@ -1548,7 +1607,7 @@
"color": "colore|color",
"comma": ",",
"def": "def",
"define": "define",
"define": "definire|define",
"echo": "eco|echo",
"elif": "altrimenti se|elif",
"else": "altrimenti|else",
Expand Down
124 changes: 112 additions & 12 deletions static/js/appbundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -8961,11 +8961,11 @@ Read more: ${P}#error-${t4}`;
return typeof n3 == "function" && n3 instanceof n3 && he2.call(n3) == ge2;
}
const pe2 = fe;
function be2() {
function be3() {
this.__data__ = [];
this.size = 0;
}
const ke2 = be2;
const ke2 = be3;
function we2(t4, e3) {
return t4 === e3 || t4 !== t4 && e3 !== e3;
}
Expand Down Expand Up @@ -60728,6 +60728,46 @@ ${o3}` : i3;
"turtle": "\u{1F422}",
"unsaved_class_changes": "There are unsaved changes, are you sure you want to leave this page?"
},
"be": {
"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?"
},
"bg": {
"CheckInternet": "\u041F\u0440\u043E\u0432\u0435\u0440\u0438 \u0434\u0430\u043B\u0438 \u0438\u043C\u0430\u0448 \u0432\u0440\u044A\u0437\u043A\u0430 \u0441 \u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442.",
"Connection_error": "\u0418\u0437\u0433\u0443\u0431\u0438\u0445\u043C\u0435 \u0432\u0440\u044A\u0437\u043A\u0430 \u0441\u044A\u0441 \u0441\u044A\u0440\u0432\u044A\u0440\u0430.",
Expand Down Expand Up @@ -61729,15 +61769,15 @@ ${o3}` : i3;
"unsaved_class_changes": "Ada perubahan yang belum disimpan, yakin ingin meninggalkan halaman ini?"
},
"it": {
"CheckInternet": "Dai un'occhiata se la tua connessione Internet funziona correttamente.",
"CheckInternet": "Controlla se la connessione a Internet funzioni correttamente.",
"Connection_error": "Non siamo riuscito a contattare il server.",
"Empty_output": "Questo codice funziona ma non stampa nulla. Aggiungi un comando print al tuo codice o usa la tartaruga per ottenere l'output.",
"Errors_found": "Hai fatto un errore! Non preoccuparti, abbiamo comunque eseguito il programma",
"Execute_error": "Qualcosa \xE8 andato storto nell'esecuzione del tuo codice.",
"Execute_error": "Qualcosa \xE8 andato storto.",
"Other_error": "Ops! Forse abbiamo fatto un errore.",
"Program_repair": "Questo potrebbe essere il codice corretto, puoi risolverlo?",
"Program_too_long": "Il tuo programma impiega troppo tempo per essere eseguito.",
"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!",
"ServerError": "Puoi aiutarci inviandoci un'email con il livello e il tuo programma a hello@hedy.org. Nel frattempo, prova qualcosa di diverso. Grazie!",
"Transpile_error": "Non possiamo eseguire il tuo programma.",
"Transpile_success": "Ottimo lavoro!\nFantastico!\nBen fatto!\nEccellente!\nSei stato bravissimo!",
"Transpile_warning": "Attenzione!",
Expand Down Expand Up @@ -96794,6 +96834,65 @@ def note_with_error(value, err):
yellow: "\u0640*\u0627\u0640*\u0635\u0640*\u0641\u0640*\u0631\u0640*|yellow",
DIGIT: "0\u06601\u06612\u06623\u06634\u06645\u06656\u06667\u06678\u06689\u0669"
};
var be = {
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 bg = {
False: "\u041D\u0435\u0432\u044F\u0440\u043D\u043E|False",
True: "\u0412\u044F\u0440\u043D\u043E|True",
Expand Down Expand Up @@ -98284,7 +98383,7 @@ def note_with_error(value, err):
color: "colore|color",
comma: ",",
def: "def",
define: "define",
define: "definire|define",
echo: "eco|echo",
elif: "altrimenti se|elif",
else: "altrimenti|else",
Expand Down Expand Up @@ -100631,6 +100730,7 @@ def note_with_error(value, err):
};
var highlighting_trad_default = {
ar,
be,
bg,
bn,
ca,
Expand Down Expand Up @@ -123139,7 +123239,7 @@ def note_with_error(value, err):
function Tt(s) {
return s.split("-")[0];
}
var be = Math.max;
var be2 = Math.max;
var sn = Math.min;
var ze = Math.round;
function Io() {
Expand Down Expand Up @@ -123230,7 +123330,7 @@ def note_with_error(value, err):
return ["top", "bottom"].indexOf(s) >= 0 ? "x" : "y";
}
function Si(s, t2, e) {
return be(s, sn(t2, e));
return be2(s, sn(t2, e));
}
function ad(s, t2, e) {
var i = Si(s, t2, e);
Expand Down Expand Up @@ -123445,8 +123545,8 @@ def note_with_error(value, err):
};
}
function bd(s) {
var t2, e = ee(s), i = or7(s), n = (t2 = s.ownerDocument) == null ? void 0 : t2.body, o = be(e.scrollWidth, e.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), r = be(e.scrollHeight, e.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), a = -i.scrollLeft + rr(s), l = -i.scrollTop;
return Ct(n || e).direction === "rtl" && (a += be(e.clientWidth, n ? n.clientWidth : 0) - o), {
var t2, e = ee(s), i = or7(s), n = (t2 = s.ownerDocument) == null ? void 0 : t2.body, o = be2(e.scrollWidth, e.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), r = be2(e.scrollHeight, e.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), a = -i.scrollLeft + rr(s), l = -i.scrollTop;
return Ct(n || e).direction === "rtl" && (a += be2(e.clientWidth, n ? n.clientWidth : 0) - o), {
width: o,
height: r,
x: a,
Expand Down Expand Up @@ -123490,7 +123590,7 @@ def note_with_error(value, err):
function Ed(s, t2, e, i) {
var n = t2 === "clippingParents" ? Td(s) : [].concat(t2), o = [].concat(n, [e]), r = o[0], a = o.reduce(function(l, p) {
var u = $r(s, p, i);
return l.top = be(u.top, l.top), l.right = sn(u.right, l.right), l.bottom = sn(u.bottom, l.bottom), l.left = be(u.left, l.left), l;
return l.top = be2(u.top, l.top), l.right = sn(u.right, l.right), l.bottom = sn(u.bottom, l.bottom), l.left = be2(u.left, l.left), l;
}, $r(s, r, i));
return a.width = a.right - a.left, a.height = a.bottom - a.top, a.x = a.left, a.y = a.top, a;
}
Expand Down Expand Up @@ -123754,7 +123854,7 @@ def note_with_error(value, err):
var P, tt = T === "y" ? Q : J, et2 = T === "y" ? dt : ut, U = T === "y" ? "height" : "width", bt = k[T], Gi = bt + v[tt], se = bt - v[et2], qi = g ? -O[U] / 2 : 0, mn = w === Te ? I[U] : O[U], oi = w === Te ? -O[U] : -I[U], Zi = t2.elements.arrow, ye = g && Zi ? er(Zi) : {
width: 0,
height: 0
}, Ht = t2.modifiersData["arrow#persistent"] ? t2.modifiersData["arrow#persistent"].padding : Tc(), ri = Ht[tt], Qi = Ht[et2], ne2 = Si(0, I[U], ye[U]), gn = E ? I[U] / 2 - qi - ne2 - ri - L.mainAxis : mn - ne2 - ri - L.mainAxis, Lh = E ? -I[U] / 2 + qi + ne2 + Qi + L.mainAxis : oi + ne2 + Qi + L.mainAxis, bn2 = t2.elements.arrow && Vi(t2.elements.arrow), Nh = bn2 ? T === "y" ? bn2.clientTop || 0 : bn2.clientLeft || 0 : 0, br = (P = S == null ? void 0 : S[T]) != null ? P : 0, Mh = bt + gn - br - Nh, Rh = bt + Lh - br, vr = Si(g ? sn(Gi, Mh) : Gi, bt, g ? be(se, Rh) : se);
}, Ht = t2.modifiersData["arrow#persistent"] ? t2.modifiersData["arrow#persistent"].padding : Tc(), ri = Ht[tt], Qi = Ht[et2], ne2 = Si(0, I[U], ye[U]), gn = E ? I[U] / 2 - qi - ne2 - ri - L.mainAxis : mn - ne2 - ri - L.mainAxis, Lh = E ? -I[U] / 2 + qi + ne2 + Qi + L.mainAxis : oi + ne2 + Qi + L.mainAxis, bn2 = t2.elements.arrow && Vi(t2.elements.arrow), Nh = bn2 ? T === "y" ? bn2.clientTop || 0 : bn2.clientLeft || 0 : 0, br = (P = S == null ? void 0 : S[T]) != null ? P : 0, Mh = bt + gn - br - Nh, Rh = bt + Lh - br, vr = Si(g ? sn(Gi, Mh) : Gi, bt, g ? be2(se, Rh) : se);
k[T] = vr, N[T] = vr - bt;
}
if (a) {
Expand Down
4 changes: 2 additions & 2 deletions static/js/appbundle.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit e2a3dc1

Please sign in to comment.