Skip to content

Commit

Permalink
🤖 Automatically update generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
weblate authored and actions-user committed Oct 28, 2024
1 parent 91be1be commit 0e5adfd
Show file tree
Hide file tree
Showing 9 changed files with 267 additions and 10 deletions.
14 changes: 7 additions & 7 deletions content/adventures/de.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2661,16 +2661,16 @@ adventures:
Benutze diese Vergleiche so in einem `{if}`:
example_code: |
```
age = {ask} 'Wie alt bist du?'
{if} alter > 12
{print} 'Du bist älter als ich!'
age = {ask} 'How old are you?'
{if} age > 12
{print} 'You are older than I am!'
```
```
age = {ask} 'Wie alt bist du?'
{if} alter < 12
{print} 'Du bist jünger als ich!'
age = {ask} 'How old are you?'
{if} age < 12
{print} 'You are younger than me!'
{else}
{print} 'Du bist älter als ich!'
{print} 'You are older than me!'
```
story_text_2: |
Ab diesem Level kannst du zwei Gleichheitszeichen verwenden, um etwas zu vergleichen. Das ist in den meisten Programmiersprachen so:
Expand Down
54 changes: 54 additions & 0 deletions grammars/keywords-kab.lark
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
_DEFINE: ("sbadu" | "define") _SPACE?
_CALL: ("asiwel" | "call") _SPACE?
_WITH: ("akked" | "with") _SPACE?
_DEF: ("def" | "def") _SPACE?
_RETURN: ("uɣal ɣer deffir" | "return") _SPACE?
_PRINT: ("siggez" | "print") _SPACE?
_PLAY: ("urar" | "play") _SPACE
_ASK: ("ssuter" | "ask")
_ECHO: ("yerra-d" | "echo") _SPACE?
_FORWARD: ("welleh" | "forward") _SPACE?
_TURN: ("zzi" | "turn") _SPACE?
left: ("ayeffus" | "left") _SPACE?
right: ("ayeffus" | "right") _SPACE?
black: ("aberkan" | "black") _SPACE?
blue: ("amidadi" | "blue") _SPACE?
brown: ("aqehwi" | "brown") _SPACE?
gray: ("gray" | "gray") _SPACE?
green: ("azegzaw" | "green") _SPACE?
orange: ("aččinawi" | "orange") _SPACE?
pink: ("axuxi" | "pink") _SPACE?
purple: ("purple" | "purple") _SPACE?
red: ("azeggaɣ" | "red") _SPACE?
white: ("amellal" | "white") _SPACE?
yellow: ("awreɣ" | "yellow") _SPACE?
_IS: _SPACE ("d" | "is") _SPACE
_STANDALONE_IS: ("d" | "is")
_SLEEP: ("gen" | "sleep") _SPACE?
_ADD_LIST: ("rnu" | "add") _SPACE
_TO_LIST: _SPACE? ("ɣer" | "to")
_REMOVE: ("kkes" | "remove") _SPACE
_FROM: _SPACE? ("seg" | "from")
_AT: _SPACE ("ar" | "at") _SPACE
random: ("random" | "random") _SPACE?
_IN: _SPACE ("deg" | "in") _SPACE
_NOT_IN: _SPACE ("mačči deg" | "not in") _SPACE
_IF: ("ma yella" | "if") _SPACE
_ELSE: "neɣ" | "else"
_AND: _SPACE? ("akked" | "and") _SPACE
_REPEAT: ("ales" | "repeat") _SPACE
_TIMES: _SPACE ("tikkal" | "times")
_FOR: ("i" | "for") _SPACE
_RANGE: ("range" | "range") _SPACE?
_TO: _SPACE ("ɣer" | "to") _SPACE
_STEP: "takkayt" | "step"
_ELIF: _SPACE? ("neɣ ma yella" | "elif") _SPACE
_INPUT: ("sekcem" | "input")
_OR: _SPACE? ("neɣ" | "or") _SPACE
_WHILE: ("imi" | "while") _SPACE
_LENGTH: "teɣzi" | "length"
_COLOR : ("ini" | "color") _SPACE?
_PRESSED: ("pressed" | "pressed") _SPACE?
clear: ("sfeḍ" | "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 @@ -1592,6 +1592,65 @@
"yellow": "きいろ|yellow",
"DIGIT": "0123456789"
},
"kab": {
"False": "False",
"True": "True",
"add": "rnu|add",
"and": "akked|and",
"ask": "ssuter|ask",
"at": "ar|at",
"black": "aberkan|black",
"blue": "amidadi|blue",
"brown": "aqehwi|brown",
"call": "asiwel|call",
"clear": "sfeḍ|clear",
"color": "ini|color",
"comma": ",",
"def": "def",
"define": "sbadu|define",
"echo": "yerra-d|echo",
"elif": "neɣ ma yella|elif",
"else": "neɣ|else",
"false": "false",
"for": "i|for",
"forward": "welleh|forward",
"from": "seg|from",
"gray": "gray",
"green": "azegzaw|green",
"if": "ma yella|if",
"in": "deg|in",
"input": "sekcem|input",
"is": "d|is",
"left": "ayeffus|left",
"length": "teɣzi|length",
"not_in": "mačči deg|not in",
"or": "neɣ|or",
"orange": "aččinawi|orange",
"pink": "axuxi|pink",
"play": "urar|play",
"pressed": "pressed",
"print": "siggez|print",
"purple": "purple",
"random": "random",
"range": "range",
"red": "azeggaɣ|red",
"remove": "kkes|remove",
"repeat": "ales|repeat",
"return": "uɣal ɣer deffir|return",
"right": "ayeffus|right",
"sleep": "gen|sleep",
"step": "takkayt|step",
"times": "tikkal|times",
"to": "ɣer|to",
"to_list": "ɣer|to",
"true": "true",
"turn": "zzi|turn",
"while": "imi|while",
"white": "amellal|white",
"with": "akked|with",
"yellow": "awreɣ|yellow",
"DIGIT": "0123456789"
},
"kmr": {
"False": "False",
"True": "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 @@ -61770,6 +61770,46 @@ ${o3}` : i3;
"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.",
"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": "Tgi\u1E0D tucc\u1E0Da ! Ur ttagad, nselkem ahil",
"Execute_error": "Yella wayen ur neddi ara akken ilaq lawan n uselkem n wahil.",
"Other_error": "Ihuh! Waqil nga tucc\u1E0Da tamec\u1E6Du\u1E25t.",
"Program_repair": "Yezmer wagi d tangalt tame\u0263tut, tzemre\u1E0D ad t-t\u1E63eggme\u1E0D ?",
"Program_too_long": "Ahil-ik yetta\u1E6D\u1E6Daf a\u1E6Das n wakud i wakken ad yekker.",
"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": "Ur nezmir ara ad nseddu ahil-ik.",
"Transpile_success": "Igerrez!\nGedha!\nYelha!\nIzad!\nD amahil izaden!",
"Transpile_warning": "\u0194ur-k!",
"Unsaved_Changes": "Ahil-a ur yettwasekles ara. Teb\u0263i\u1E0D ad teff\u0263e\u1E0D war ma teskelse\u1E0D-t?",
"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?"
},
"kmr": {
"CheckInternet": "Check whether your Internet connection is working.",
"Connection_error": "We couldn't reach the server.",
Expand Down Expand Up @@ -98373,6 +98413,65 @@ def note_with_error(value, err):
yellow: "\u304D\u3044\u308D|yellow",
DIGIT: "0123456789"
};
var kab = {
False: "False",
True: "True",
add: "rnu|add",
and: "akked|and",
ask: "ssuter|ask",
at: "ar|at",
black: "aberkan|black",
blue: "amidadi|blue",
brown: "aqehwi|brown",
call: "asiwel|call",
clear: "sfe\u1E0D|clear",
color: "ini|color",
comma: ",",
def: "def",
define: "sbadu|define",
echo: "yerra-d|echo",
elif: "ne\u0263 ma yella|elif",
else: "ne\u0263|else",
false: "false",
for: "i|for",
forward: "welleh|forward",
from: "seg|from",
gray: "gray",
green: "azegzaw|green",
if: "ma yella|if",
in: "deg|in",
input: "sekcem|input",
is: "d|is",
left: "ayeffus|left",
length: "te\u0263zi|length",
not_in: "ma\u010D\u010Di deg|not in",
or: "ne\u0263|or",
orange: "a\u010D\u010Dinawi|orange",
pink: "axuxi|pink",
play: "urar|play",
pressed: "pressed",
print: "siggez|print",
purple: "purple",
random: "random",
range: "range",
red: "azegga\u0263|red",
remove: "kkes|remove",
repeat: "ales|repeat",
return: "u\u0263al \u0263er deffir|return",
right: "ayeffus|right",
sleep: "gen|sleep",
step: "takkayt|step",
times: "tikkal|times",
to: "\u0263er|to",
to_list: "\u0263er|to",
true: "true",
turn: "zzi|turn",
while: "imi|while",
white: "amellal|white",
with: "akked|with",
yellow: "awre\u0263|yellow",
DIGIT: "0123456789"
};
var kmr = {
False: "False",
True: "True",
Expand Down Expand Up @@ -100289,6 +100388,7 @@ def note_with_error(value, err):
id,
it,
ja,
kab,
kmr,
ko,
mi,
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 @@ -1083,6 +1083,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?"
},
"kab": {
"CheckInternet": "Senqed tuqqna-k ɣer Internet tetteddu akken iwata.",
"Connection_error": "Ur nessaweḍ ara ɣer uqeddac.",
"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": "Tgiḍ tuccḍa ! Ur ttagad, nselkem ahil",
"Execute_error": "Yella wayen ur neddi ara akken ilaq lawan n uselkem n wahil.",
"Other_error": "Ihuh! Waqil nga tuccḍa tamecṭuḥt.",
"Program_repair": "Yezmer wagi d tangalt tameɣtut, tzemreḍ ad t-tṣeggmeḍ ?",
"Program_too_long": "Ahil-ik yettaṭṭaf aṭas n wakud i wakken ad yekker.",
"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": "Ur nezmir ara ad nseddu ahil-ik.",
"Transpile_success": "Igerrez!\nGedha!\nYelha!\nIzad!\nD amahil izaden!",
"Transpile_warning": "Ɣur-k!",
"Unsaved_Changes": "Ahil-a ur yettwasekles ara. Tebɣiḍ ad teffɣeḍ war ma teskelseḍ-t?",
"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?"
},
"kmr": {
"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 @@ -281,6 +281,7 @@
"id": "Indonesia",
"it": "Italiano",
"ja": "\u65e5\u672c\u8a9e",
"kab": "Taqbaylit",
"kmr": "Kurd\u00ee (Tirkiye)",
"ko": "\ud55c\uad6d\uc5b4",
"mi": "M\u0101ori",
Expand Down Expand Up @@ -340,6 +341,7 @@
"id": "ltr",
"it": "ltr",
"ja": "ltr",
"kab": "ltr",
"kmr": "ltr",
"ko": "ltr",
"mi": "ltr",
Expand Down
3 changes: 2 additions & 1 deletion translations/kab/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Translations template for PROJECT.
# Kabyle 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 @@ -2599,3 +2599,4 @@ msgstr "Aḍris-ik udmawan..."

msgid "your_program"
msgstr "Ahil-ik"

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

#~ msgid "usernames_exist"
#~ msgstr "One or more usernames is already in use."

0 comments on commit 0e5adfd

Please sign in to comment.