Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📜 Fix Weblate errors #6203

Merged
merged 4 commits into from
Feb 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
106 changes: 52 additions & 54 deletions content/adventures/de.yaml

Large diffs are not rendered by default.

9 changes: 8 additions & 1 deletion content/adventures/mi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,12 @@ adventures:
story_text: "I te kaupae tuatahi, ka tuhi koe i tētahi kōrero paki. Ka tāuru koe i te ingoa o kiripuaki mātāmua.\n\nI te rārangi tuatahi, whakamahia `{ask}` kia pātai ko wai a kiripuaki mātāmua.\n\nWhai muri i tērā, tīmatahia te rārangi ki te `{print}` mehemea me tuhi te rerenga ki te mata.\nWhakamahia `{echo}` kia tuhia a kiripuaki mātāmua ki te mutunga o te rerenga.\n"
2:
story_text: "I te kaupae tuarua, ka whakapārekareka koe i tō kōrero paki. Ināianei, ka taea te ingoa o tō kiripuaki mātāmua te noho i hea, i hea rānei.\n\nMe tuhiwaehere anō koe mō tērā. Ka tahi, me whakaingoa tō kiripuaki mātāmua.\n\nKātahi ka taea taua ingoa ki hea, ki hea rānei i roto i te rerenga.\n"
story_text_2: "### Hei mahi\n"
story_text_2: "### Hei mahi\nInāianei ka whakamahia he taurangi e koe i roto i tāu ake kōrero pake i hangaia ai i tērā kaupae.\nHaere ki \"Āku tuhinga waehere\", kimihia tō kōrero paki o te kaupae tuatahi, tāruatia te waehere. Tāpia te waehere ki te maka tāuru o te kaupae nei.\n\nKāore tēnei waehere te mahi i roto i tēnei kaupae, nā te mea kāore anō koe kia whakamahi i ngā taurangi.\nPanonitia te whakahau `{ask}` me te `{echo}` i tō waehere ki te āhua tika i akona ai i tēnei kaupae.\n\n**Mahi tāpiri:** tāpiria he whakahau `{sleep}` ki tō waehere kia whakakaha te manawa pā o tō kōrero paki.\n"
example_code: "```\ningoa {is} {ask} Ko wai te ingoa o te kiripuaki mātāmua?\n{print} Ināianei ka oma atu a ingoa ki te ngahere\n{print} Kei te āhua āmaimai a ingoa\n{print} E rongo ohorere koe i tētahi turituri rerekē\n{sleep}\n{print} Kei te uruwehi a ingoa kei te kēhuatia te ngahere nei\n```"
3:
example_code_3: "```\n{print} I taumaha rawa tāna pīkau\n{print} Kei roto he pātara wai, he rama, he pereki\npēke {is} wai, rama, pereki\nākiri {is} {ask} Me ākiri ia i tēhea mea?\n```\n"
example_code: "```\nngā_kararehe {is} 🦔, 🐿, 🦉, 🦇\n{print} Ka rongo ia i ngā turituri o ngā_kararehe {at} {random}\n```\n"
story_text_2: "Ka whai take te whakahau `{add}` i roto i tō kōrero paki.\n"
story_text_3: "He tauira tēnei o te whakahau `{remove}` i roto i tō kōrero paki\n\n### Hei mahi\nTāruatia tō kōrero paki mai i ērā kaupae ki tēnei kaupae.\nI tēnei kaupae, kua ako koe i ngā whakahau hou e toru: `{at} {random}`, `{add} {to_list}`, `{remove} {from}`.\nTāpiria ēnei rārangi hou ki tō kōrero paki kia whakamahia ai ngā whakahau hou katoa kotahi te wā i te iti rawa.\n"
example_code_2: "```\n{print} E rangona ana he turituri e ia\nngā_kararehe {is} 🐿, 🦔, 🦇, 🦉\nkararehe {is} {ask} He aha tērā ki ō whakaaro\n{add} kararehe {to_list} ngā_kararehe\n{print} He ngā_kararehe {at} {random}\n```\n"
name: Kōrero paki
12 changes: 12 additions & 0 deletions content/keywords/mi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,15 @@ orange: karaka
pink: māwhero
purple: waiporoporo
quote: "'"
sleep: e moe
to: ki
to_list: ki
not_in: kāore i roto i
call: whakahaere
clear: whakawāteatia
in: i roto i
is: he
length: roa
or: rānei
print: tāngia
range: whānui
26 changes: 13 additions & 13 deletions grammars/keywords-mi.lark
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
_DEFINE: ("define" | "define") _SPACE?
_CALL: ("call" | "call") _SPACE?
_CALL: ("whakahaere" | "call") _SPACE?
_WITH: ("with" | "with") _SPACE?
_DEF: ("def" | "def") _SPACE?
_RETURN: ("whakahoki" | "return") _SPACE?
_PRINT: ("print" | "print") _SPACE?
_PRINT: ("tāngia" | "print") _SPACE?
_PLAY: ("whakatangihia" | "play") _SPACE
_ASK: ("pātai" | "ask")
_ECHO: ("echo" | "echo") _SPACE?
Expand All @@ -22,33 +22,33 @@ purple: ("waiporoporo" | "purple") _SPACE?
red: ("whero" | "red") _SPACE?
white: ("mā" | "white") _SPACE?
yellow: ("kōwhai" | "yellow") _SPACE?
_IS: _SPACE ("is" | "is") _SPACE
_STANDALONE_IS: ("is" | "is")
_SLEEP: ("sleep" | "sleep") _SPACE?
_IS: _SPACE ("he" | "is") _SPACE
_STANDALONE_IS: ("he" | "is")
_SLEEP: ("e moe" | "sleep") _SPACE?
_ADD_LIST: ("tāpiri" | "add") _SPACE
_TO_LIST: _SPACE? ("to" | "to")
_TO_LIST: _SPACE? ("ki" | "to")
_REMOVE: ("tangohia" | "remove") _SPACE
_FROM: _SPACE? ("i" | "from")
_AT: _SPACE ("at" | "at") _SPACE
random: ("random" | "random") _SPACE?
_IN: _SPACE ("in" | "in") _SPACE
_NOT_IN: _SPACE ("not in" | "not in") _SPACE
_IN: _SPACE ("i roto i" | "in") _SPACE
_NOT_IN: _SPACE ("kāore i roto i" | "not in") _SPACE
_IF: ("mehemea" | "if") _SPACE
_ELSE: "else" | "else"
_AND: _SPACE? ("and" | "and") _SPACE
_REPEAT: ("repeat" | "repeat") _SPACE
_TIMES: _SPACE ("times" | "times")
_FOR: ("mō" | "for") _SPACE
_RANGE: ("range" | "range") _SPACE?
_TO: _SPACE ("to" | "to") _SPACE
_RANGE: ("whānui" | "range") _SPACE?
_TO: _SPACE ("ki" | "to") _SPACE
_STEP: "step" | "step"
_ELIF: _SPACE? ("elif" | "elif") _SPACE
_INPUT: ("tāuru" | "input")
_OR: _SPACE? ("or" | "or") _SPACE
_OR: _SPACE? ("rānei" | "or") _SPACE
_WHILE: ("while" | "while") _SPACE
_LENGTH: "length" | "length"
_LENGTH: "roa" | "length"
_COLOR : ("kara" | "color") _SPACE?
_PRESSED: ("pressed" | "pressed") _SPACE?
clear: ("clear" | "clear") _SPACE?
clear: ("whakawāteatia" | "clear") _SPACE?
TRUE: ("true" | "True" | "true" | "True") _SPACE?
FALSE: ("false" | "False" | "false" | "False") _SPACE?
24 changes: 12 additions & 12 deletions highlighting/highlighting-trad.json
Original file line number Diff line number Diff line change
Expand Up @@ -2133,8 +2133,8 @@
"black": "pango|black",
"blue": "kikorangi|blue",
"brown": "parauri|brown",
"call": "call",
"clear": "clear",
"call": "whakahaere|call",
"clear": "whakawāteatia|clear",
"color": "kara|color",
"comma": ",",
"def": "def",
Expand All @@ -2149,31 +2149,31 @@
"gray": "kiwikiwi|gray",
"green": "kākāriki|green",
"if": "mehemea|if",
"in": "in",
"in": "i roto i|in",
"input": "tāuru|input",
"is": "is",
"is": "he|is",
"left": "whakamauī|left",
"length": "length",
"not_in": "not in",
"or": "or",
"length": "roa|length",
"not_in": "kāore i roto i|not in",
"or": "rānei|or",
"orange": "karaka|orange",
"pink": "māwhero|pink",
"play": "whakatangihia|play",
"pressed": "pressed",
"print": "print",
"print": "tāngia|print",
"purple": "waiporoporo|purple",
"random": "random",
"range": "range",
"range": "whānui|range",
"red": "whero|red",
"remove": "tangohia|remove",
"repeat": "repeat",
"return": "whakahoki|return",
"right": "whakamatau|right",
"sleep": "sleep",
"sleep": "e moe|sleep",
"step": "step",
"times": "times",
"to": "to",
"to_list": "to",
"to": "ki|to",
"to_list": "ki|to",
"true": "true",
"turn": "huri|turn",
"while": "while",
Expand Down
24 changes: 12 additions & 12 deletions static/js/appbundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -103529,8 +103529,8 @@ def note_with_error(value, err):
black: "pango|black",
blue: "kikorangi|blue",
brown: "parauri|brown",
call: "call",
clear: "clear",
call: "whakahaere|call",
clear: "whakaw\u0101teatia|clear",
color: "kara|color",
comma: ",",
def: "def",
Expand All @@ -103545,31 +103545,31 @@ def note_with_error(value, err):
gray: "kiwikiwi|gray",
green: "k\u0101k\u0101riki|green",
if: "mehemea|if",
in: "in",
in: "i roto i|in",
input: "t\u0101uru|input",
is: "is",
is: "he|is",
left: "whakamau\u012B|left",
length: "length",
not_in: "not in",
or: "or",
length: "roa|length",
not_in: "k\u0101ore i roto i|not in",
or: "r\u0101nei|or",
orange: "karaka|orange",
pink: "m\u0101whero|pink",
play: "whakatangihia|play",
pressed: "pressed",
print: "print",
print: "t\u0101ngia|print",
purple: "waiporoporo|purple",
random: "random",
range: "range",
range: "wh\u0101nui|range",
red: "whero|red",
remove: "tangohia|remove",
repeat: "repeat",
return: "whakahoki|return",
right: "whakamatau|right",
sleep: "sleep",
sleep: "e moe|sleep",
step: "step",
times: "times",
to: "to",
to_list: "to",
to: "ki|to",
to_list: "ki|to",
true: "true",
turn: "huri|turn",
while: "while",
Expand Down
2 changes: 1 addition & 1 deletion static/js/appbundle.js.map

Large diffs are not rendered by default.