fix formatting

This commit is contained in:
Crudu Cristian 2025-06-09 19:28:29 +03:00
parent 1582ec4c78
commit 21f46f5231
8 changed files with 935 additions and 1038 deletions

View file

@ -1,129 +1,115 @@
exports.dialog = { exports.dialog = {
en_US: [ 'en_US': [{
{ type: 'ModalAlert',
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Are you sure you want to see the solution?", '## Are you sure you want to see the solution?',
"", '',
"I believe in you! You can do it", 'I believe in you! You can do it'
], ]
}, }
}, }],
], 'de_DE': [{
de_DE: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Bist du sicher, dass du die Lösung sehen willst?", '## Bist du sicher, dass du die Lösung sehen willst?',
"", '',
"Ich glaube an dich! Du schaffst das schon!", 'Ich glaube an dich! Du schaffst das schon!'
], ]
}, }
}, }],
], 'zh_CN': [{
zh_CN: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: {
markdowns: ["## 确定要看答案吗?", "", "相信自己,你可以的!"],
},
},
],
zh_TW: [
{
type: "ModalAlert",
options: {
markdowns: ["## 確定偷看解答嗎?", "", "我相信你!你可以的"],
},
},
],
es_AR: [
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## ¿Realmente querés ver la solución?", '## 确定要看答案吗?',
"", '',
"¡Creo en vos! ¡Dale que podés!", '相信自己,你可以的!'
], ]
}, }
}, }],
], 'zh_TW': [{
es_MX: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## ¿Estás seguro de que quieres ver la solución?", '## 確定偷看解答嗎?',
"", '',
"¡Creo en ti! ¡Yo sé que puedes!", '我相信你!你可以的'
], ]
}, }
}, }],
], 'es_AR': [{
es_ES: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## ¿Estás seguro de que quieres ver la solución?", '## ¿Realmente querés ver la solución?',
"", '',
"¡Creo en ti! ¡Ánimo!", '¡Creo en vos! ¡Dale que podés!'
], ]
}, }
}, }],
], 'es_MX': [{
pt_BR: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Tem certeza que quer ver a solução?", '## ¿Estás seguro de que quieres ver la solución?',
"", '',
"Vamos lá, acredito que você consegue!", '¡Creo en ti! ¡Yo sé que puedes!'
], ]
}, }
}, }],
], 'es_ES': [{
gl: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## ¿Queres ver a solución?", '## ¿Estás seguro de que quieres ver la solución?',
"", '',
"Seguro que podes, ¡inténtao unha vez máis!", '¡Creo en ti! ¡Ánimo!'
], ]
}, }
}, }],
], 'pt_BR': [{
fr_FR: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Êtes-vous sûr de vouloir voir la solution ?", '## Tem certeza que quer ver a solução?',
"", '',
"Je crois en vous ! Vous pouvez le faire !", 'Vamos lá, acredito que você consegue!'
], ]
}, }
}, }],
], 'gl': [{
ja: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## どうしても正解がみたいですか?", '## ¿Queres ver a solución?',
"", '',
"あなたならきっとできるって信じてます!", 'Seguro que podes, ¡inténtao unha vez máis!'
], ]
}, }
}, }],
], 'fr_FR': [{
ro: [ type: 'ModalAlert',
options: {
markdowns: [
'## Êtes-vous sûr de vouloir voir la solution ?',
'',
'Je crois en vous ! Vous pouvez le faire !'
]
}
}],
'ja': [{
type: 'ModalAlert',
options: {
markdowns: [
'## どうしても正解がみたいですか?',
'',
'あなたならきっとできるって信じてます!'
]
}
}],
'ro': [
{ {
type: "ModalAlert", type: "ModalAlert",
options: { options: {
@ -135,79 +121,67 @@ exports.dialog = {
}, },
}, },
], ],
ru_RU: [ 'ru_RU': [{
{ type: 'ModalAlert',
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Уверен, что хочешь посмотреть решение?", '## Уверен, что хочешь посмотреть решение?',
"", '',
"Мы верим в тебя! Не прыгай! Ты сможешь!", 'Мы верим в тебя! Не прыгай! Ты сможешь!'
], ]
}, }
}, }],
], 'uk': [{
uk: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Впевнений, що хочеш побачити розв’язок?", '## Впевнений, що хочеш побачити розв’язок?',
"", '',
"Я вірю в тебе! Ти впораєшся!", 'Я вірю в тебе! Ти впораєшся!'
], ]
}, }
}, }],
], 'vi': [{
vi: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Bạn chắc là muốn xem đáp án chứ?", '## Bạn chắc là muốn xem đáp án chứ?',
"", '',
"Tôi tin ở bạn! Bạn có thể làm được!", 'Tôi tin ở bạn! Bạn có thể làm được!'
], ]
}, }
}, }],
], 'sl_SI': [{
sl_SI: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Si prepričan, da hočeš videti rešitev?", '## Si prepričan, da hočeš videti rešitev?',
"", '',
"Verjamem vate! Maš ti to! Ali pač ne?", 'Verjamem vate! Maš ti to! Ali pač ne?'
], ]
}, }
}, }],
], 'pl': [{
pl: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Czy na pewno chcesz zobaczyć rozwiązanie?", '## Czy na pewno chcesz zobaczyć rozwiązanie?',
"", '',
"Wierzę w Ciebie! Możesz to zrobić", 'Wierzę w Ciebie! Możesz to zrobić'
], ]
}, }
}, }],
], 'ta_IN': [{
ta_IN: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## நீங்கள் நிச்சயமாக தீர்வை காண விரும்புகிறீர்களா?", '## நீங்கள் நிச்சயமாக தீர்வை காண விரும்புகிறீர்களா?',
"", '',
"நான் உங்களால் அதை செய்ய முடியும் என நினைக்கிறேன்!", 'நான் உங்களால் அதை செய்ய முடியும் என நினைக்கிறேன்!'
], ]
}, }
}, }],
], "it_IT": [
it_IT: [
{ {
type: "ModalAlert", type: "ModalAlert",
options: { options: {
@ -219,18 +193,16 @@ exports.dialog = {
}, },
}, },
], ],
tr_TR: [ 'tr_TR': [{
{ type: 'ModalAlert',
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Çözümü görmek istediğine emin misin?", '## Çözümü görmek istediğine emin misin?',
"", '',
"Sana inanıyorum bunu yapabilirsin!", 'Sana inanıyorum bunu yapabilirsin!'
], ]
}, }
}, }],
],
}; };

View file

@ -1,239 +1,216 @@
exports.dialog = { exports.dialog = {
en_US: [ 'en_US': [{
{ type: 'ModalAlert',
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Welcome to the level builder!", '## Welcome to the level builder!',
"", '',
"Here are the main steps:", 'Here are the main steps:',
"", '',
" * Set up the initial environment with git commands", ' * Set up the initial environment with git commands',
" * Define the starting tree with ```define start```", ' * Define the starting tree with ```define start```',
" * Enter the series of git commands that compose the (optimal) solution", ' * Enter the series of git commands that compose the (optimal) solution',
" * Define the goal tree with ```define goal```. Defining the goal also defines the solution", ' * Define the goal tree with ```define goal```. Defining the goal also defines the solution',
" * Optionally define a hint with ```define hint```", ' * Optionally define a hint with ```define hint```',
" * Edit the name with ```define name```", ' * Edit the name with ```define name```',
" * Optionally define a nice start dialog with ```edit dialog```", ' * Optionally define a nice start dialog with ```edit dialog```',
" * Enter the command ```finish``` to output your level JSON!", ' * Enter the command ```finish``` to output your level JSON!'
], ]
}, }
}, }],
], 'de_DE': [{
de_DE: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Willkommen zum Level-Editor!", '## Willkommen zum Level-Editor!',
"", '',
"So funktioniert's:", 'So funktioniert\'s:',
"", '',
" * Stelle mit Git-Befehlen die Ausgangssituation her", ' * Stelle mit Git-Befehlen die Ausgangssituation her',
" * Leg den Startpunkt mit ```define start``` fest", ' * Leg den Startpunkt mit ```define start``` fest',
" * Gib eine Abfolge von Git-Befehlen ein, welche die (optimale) Lösung darstellen", ' * Gib eine Abfolge von Git-Befehlen ein, welche die (optimale) Lösung darstellen',
" * Leg den Ziel-Baum mit ```define goal``` fest. Damit markierst du den Endpunkt der Lösung", ' * Leg den Ziel-Baum mit ```define goal``` fest. Damit markierst du den Endpunkt der Lösung',
" * Gib einen Hinweis mittels ```define hint``` an, wenn du willst", ' * Gib einen Hinweis mittels ```define hint``` an, wenn du willst',
" * Änder den Namen mittels ```define name```", ' * Änder den Namen mittels ```define name```',
" * Wenn du magst, erstelle einen schönen Einführungsdialog mit ```edit dialog```", ' * Wenn du magst, erstelle einen schönen Einführungsdialog mit ```edit dialog```',
" * Gib das Kommando ```finish``` ein, um dein Level als JSON auszugeben", ' * Gib das Kommando ```finish``` ein, um dein Level als JSON auszugeben'
], ]
}, }
}, }],
], 'zh_CN': [{
zh_CN: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## 欢迎使用关卡生成器!", '## 欢迎使用关卡生成器!',
"", '',
"关键步骤如下:", '关键步骤如下:',
"", '',
" * 用 Git 命令建立初始环境", ' * 用 Git 命令建立初始环境',
" * 用 ```define start``` 命令定义初始提交树", ' * 用 ```define start``` 命令定义初始提交树',
" * 输入一系列 Git 命令作为(最佳)答案", ' * 输入一系列 Git 命令作为(最佳)答案',
" * 用 ```define goal``` 命令定义目标提交树。定义目标的同时也定义了答案", ' * 用 ```define goal``` 命令定义目标提交树。定义目标的同时也定义了答案',
" * (选做)还可以用 ```define hint``` 命令定义提示", ' * (选做)还可以用 ```define hint``` 命令定义提示',
" * 用 ```define name``` 命令设置关卡名称", ' * 用 ```define name``` 命令设置关卡名称',
" * (选做)还可以用 ```edit dialog``` 定义一个漂亮的开始对话框", ' * (选做)还可以用 ```edit dialog``` 定义一个漂亮的开始对话框',
" * 用 ```finish``` 命令就可以输出你的关卡的JSON数据了", ' * 用 ```finish``` 命令就可以输出你的关卡的JSON数据了'
], ]
}, }
}, }],
], 'zh_TW': [{
zh_TW: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## 歡迎使用關卡編輯器!", '## 歡迎使用關卡編輯器!',
"", '',
"主要步驟如下:", '主要步驟如下:',
"", '',
" * 使用 git 指令建立初始環境", ' * 使用 git 指令建立初始環境',
" * 使用 ```define start``` 指令定義起始樹", ' * 使用 ```define start``` 指令定義起始樹',
" * 輸入一系列 git 命令,編好答案", ' * 輸入一系列 git 命令,編好答案',
" * 使用 ```define goal``` 指令定義目標樹。定義目標的同時定義答案", ' * 使用 ```define goal``` 指令定義目標樹。定義目標的同時定義答案',
" * 還可以用 ```define hint``` 指令定義一個提示", ' * 還可以用 ```define hint``` 指令定義一個提示',
" * 用 ```define name``` 修改名稱", ' * 用 ```define name``` 修改名稱',
" * 還可以用 ```edit dialog``` 定義一個漂亮的開始對話視窗", ' * 還可以用 ```edit dialog``` 定義一個漂亮的開始對話視窗',
" * 輸入 ```finish``` 即可將您的關卡輸出為 JSON", ' * 輸入 ```finish``` 即可將您的關卡輸出為 JSON'
], ]
}, }
}, }],
], 'es_AR': [{
es_AR: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## ¡Te damos la bienvenida al constructor de niveles!", '## ¡Te damos la bienvenida al constructor de niveles!',
"", '',
"Estos son los pasos principales:", 'Estos son los pasos principales:',
"", '',
" * Prepará el entorno inicial usando comandos de Git", ' * Prepará el entorno inicial usando comandos de Git',
" * Definí el árbol inicial con ```define start```", ' * Definí el árbol inicial con ```define start```',
" * Ingresá la serie de comandos de git que representan la solución óptima", ' * Ingresá la serie de comandos de git que representan la solución óptima',
" * Definí el árbol objetivo con ```define goal```. El objetivo también determina la solución", ' * Definí el árbol objetivo con ```define goal```. El objetivo también determina la solución',
" * Opcionalmente, definí pistas con ```define hint```", ' * Opcionalmente, definí pistas con ```define hint```',
" * Dale un nombre con ```define name```", ' * Dale un nombre con ```define name```',
" * Opcionalmente, definí un mensaje inicial con ```edit dialog```", ' * Opcionalmente, definí un mensaje inicial con ```edit dialog```',
" * ¡Ingresá el comando ```finish``` para obtener tu nivel en formato JSON!", ' * ¡Ingresá el comando ```finish``` para obtener tu nivel en formato JSON!'
], ]
}, }
}, }],
], 'es_MX': [{
es_MX: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## ¡Bienvenido al constructor de niveles!", '## ¡Bienvenido al constructor de niveles!',
"", '',
"Estos son los pasos principales:", 'Estos son los pasos principales:',
"", '',
" * Preparar el entorno inicial usando comandos de Git", ' * Preparar el entorno inicial usando comandos de Git',
" * Definir el árbol inicial con ```define start```", ' * Definir el árbol inicial con ```define start```',
" * Introducir la serie de comandos de git que representan la solución óptima", ' * Introducir la serie de comandos de git que representan la solución óptima',
" * Crear el árbol objetivo con ```define goal```. El objetivo también determina la solución", ' * Crear el árbol objetivo con ```define goal```. El objetivo también determina la solución',
" * Opcionalmente, crea pistas con ```define hint```", ' * Opcionalmente, crea pistas con ```define hint```',
" * Dale un nombre con ```define name```", ' * Dale un nombre con ```define name```',
" * Opcionalmente, crea un mensaje inicial con ```edit dialog```", ' * Opcionalmente, crea un mensaje inicial con ```edit dialog```',
" * ¡Introduce el comando ```finish``` para obtener tu nivel en formato JSON!", ' * ¡Introduce el comando ```finish``` para obtener tu nivel en formato JSON!'
], ]
}, }
}, }],
], 'es_ES': [{
es_ES: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## ¡Bienvenido al constructor de niveles!", '## ¡Bienvenido al constructor de niveles!',
"", '',
"Estos son los pasos principales:", 'Estos son los pasos principales:',
"", '',
" * Prepara el entorno inicial usando comandos de Git", ' * Prepara el entorno inicial usando comandos de Git',
" * Define el árbol inicial con ```define start```", ' * Define el árbol inicial con ```define start```',
" * Introduce la serie de comandos de git que representan la solución óptima", ' * Introduce la serie de comandos de git que representan la solución óptima',
" * Crea el árbol objetivo con ```define goal```. El objetivo también determina la solución", ' * Crea el árbol objetivo con ```define goal```. El objetivo también determina la solución',
" * Opcionalmente, crea pistas con ```define hint```", ' * Opcionalmente, crea pistas con ```define hint```',
" * Dale un nombre con ```define name```", ' * Dale un nombre con ```define name```',
" * Opcionalmente, crea un mensaje inicial con ```edit dialog```", ' * Opcionalmente, crea un mensaje inicial con ```edit dialog```',
" * ¡Introduce el comando ```finish``` para obtener tu nivel en formato JSON!", ' * ¡Introduce el comando ```finish``` para obtener tu nivel en formato JSON!'
], ]
}, }
}, }],
], 'pt_BR': [{
pt_BR: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Bem-vindo ao construtor de níveis!", '## Bem-vindo ao construtor de níveis!',
"", '',
"Estes são os passos principais:", 'Estes são os passos principais:',
"", '',
" * Prepare o ambiente inicial usando comandos do Git", ' * Prepare o ambiente inicial usando comandos do Git',
" * Define a árvore inicial com ```define start```", ' * Define a árvore inicial com ```define start```',
" * Insira a série de comandos do git que representam a solução ótima", ' * Insira a série de comandos do git que representam a solução ótima',
" * Defina a árvore objetivo com ```define goal```. O objetivo também determina a solução", ' * Defina a árvore objetivo com ```define goal```. O objetivo também determina a solução',
" * Opcionalmente, defina dicas com ```define hint```", ' * Opcionalmente, defina dicas com ```define hint```',
" * Dê um nome com ```define name```", ' * Dê um nome com ```define name```',
" * Opcionalmente, defina uma mensagem inicial com ```edit dialog```", ' * Opcionalmente, defina uma mensagem inicial com ```edit dialog```',
" * Digite o comando ```finish``` para obter seu nível em formato JSON!", ' * Digite o comando ```finish``` para obter seu nível em formato JSON!'
], ]
}, }
}, }],
], 'gl': [{
gl: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Benvido ó constructor de niveis!", '## Benvido ó constructor de niveis!',
"", '',
"Estes son os pasos principais:", 'Estes son os pasos principais:',
"", '',
" * Prepara o eido inicial usando comandos de Git", ' * Prepara o eido inicial usando comandos de Git',
" * Define a árbore inicial con ```define start```", ' * Define a árbore inicial con ```define start```',
" * Inserta a secuencia de comandos de git que representan a mellor solución", ' * Inserta a secuencia de comandos de git que representan a mellor solución',
" * Define a árbore obxectivo con ```define goal```. O obxectivo tamén determina a solución", ' * Define a árbore obxectivo con ```define goal```. O obxectivo tamén determina a solución',
" * Opcionalmente, define axudas con ```define hint```", ' * Opcionalmente, define axudas con ```define hint```',
" * Dalle un nome con ```define name```", ' * Dalle un nome con ```define name```',
" * Opcionalmente, define unha mensaxe inicial con ```edit dialog```", ' * Opcionalmente, define unha mensaxe inicial con ```edit dialog```',
" * Escribe o comando ```finish``` para obter seu nivel en formato JSON!", ' * Escribe o comando ```finish``` para obter seu nivel en formato JSON!'
], ]
}, }
}, }],
], 'fr_FR': [{
fr_FR: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Bienvenue dans l'éditeur niveaux !", '## Bienvenue dans l\'éditeur niveaux !',
"", '',
"Voici les étapes principales :", 'Voici les étapes principales :',
"", '',
" * Mettez en place l'environnement initial avec des commandes git", ' * Mettez en place l\'environnement initial avec des commandes git',
" * Définissez l'arbre de départ avec ```define start```", ' * Définissez l\'arbre de départ avec ```define start```',
" * Saisissez la série de commandes git qui composent la solution (optimale)", ' * Saisissez la série de commandes git qui composent la solution (optimale)',
" * Définissez l'arbre cible avec ```define goal```. Cela définit aussi la solution", ' * Définissez l\'arbre cible avec ```define goal```. Cela définit aussi la solution',
" * Optionnellement, définissez un indice avec ```define hint```", ' * Optionnellement, définissez un indice avec ```define hint```',
" * Changez le nom avec ```define name```", ' * Changez le nom avec ```define name```',
" * Optionnellement, définissez un joli dialogue de départ avec ```edit dialog```", ' * Optionnellement, définissez un joli dialogue de départ avec ```edit dialog```',
" * Entrez la commande ```finish``` pour délivrer votre niveau JSON!", ' * Entrez la commande ```finish``` pour délivrer votre niveau JSON!'
], ]
}, }
}, }],
], 'ja': [{
ja: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Levelエディタへようこそ!", '## Levelエディタへようこそ!',
"", '',
"ここでは、以下の主にステップを踏みます:", 'ここでは、以下の主にステップを踏みます:',
"", '',
" * Gitコマンドで初期設定をします", ' * Gitコマンドで初期設定をします',
" * ```define start```で開始時のコミットツリーを定義します", ' * ```define start```で開始時のコミットツリーを定義します',
" * 一連のGitコマンドの最適な解答を入力します", ' * 一連のGitコマンドの最適な解答を入力します',
" * ```define goal```でゴールのコミットツリーを定義します(ゴールを定義するということは、解答を定義するということでもあります)", ' * ```define goal```でゴールのコミットツリーを定義します(ゴールを定義するということは、解答を定義するということでもあります)',
" * オプションで```define hint```でヒントを定義します", ' * オプションで```define hint```でヒントを定義します',
" * ```define name```で名前を編集します", ' * ```define name```で名前を編集します',
" * オプションで```edit dialog```で良い感じに開始時のダイアログを定義します", ' * オプションで```edit dialog```で良い感じに開始時のダイアログを定義します',
" * ```finish```コマンドを打つことであなたのlevelがJSONで出力されます", ' * ```finish```コマンドを打つことであなたのlevelがJSONで出力されます',
"", '',
"*Note: このダイアログは`help builder`で何回でも表示できます!活用してください!*", '*Note: このダイアログは`help builder`で何回でも表示できます!活用してください!*'
], ]
}, }
}, }],
], 'ro': [{
ro: [
{
type: "ModalAlert", type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
@ -251,156 +228,141 @@ exports.dialog = {
"Introduceți comanda ```finish``` pentru a obține nivelul dvs. în format JSON!", "Introduceți comanda ```finish``` pentru a obține nivelul dvs. în format JSON!",
], ],
}, },
}, }],
], 'ru_RU': [{
ru_RU: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Добро пожаловать в конструктор уровней!", '## Добро пожаловать в конструктор уровней!',
"", '',
"Вот основные шаги:", 'Вот основные шаги:',
"", '',
" * Настроить стартовое дерево при помощи команд git", ' * Настроить стартовое дерево при помощи команд git',
" * Обозначить старовое дерево при помощи ```define start```", ' * Обозначить старовое дерево при помощи ```define start```',
' * Ввести команды "оптимального" решения уровня', ' * Ввести команды "оптимального" решения уровня',
" * Обозначить цель уровня при помощи ```define goal```. Одновременно обозначится решение.", ' * Обозначить цель уровня при помощи ```define goal```. Одновременно обозначится решение.',
" * По желанию, можно указать подсказку при помощи ```define hint```", ' * По желанию, можно указать подсказку при помощи ```define hint```',
" * Указать название уровня при помощи ```define name```", ' * Указать название уровня при помощи ```define name```',
" * По желанию, указать стартовое сообщение при помощи ```edit dialog```", ' * По желанию, указать стартовое сообщение при помощи ```edit dialog```',
" * Ввести ```finish``` и получить JSON с описанием уровня!", ' * Ввести ```finish``` и получить JSON с описанием уровня!'
], ]
}, }
}, }],
], 'uk': [{
uk: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Ласкаво просимо до конструктора рівнів!", '## Ласкаво просимо до конструктора рівнів!',
"", '',
"Ось основні кроки:", 'Ось основні кроки:',
"", '',
" * Налаштувати початкове середовище за допомогою команд git", ' * Налаштувати початкове середовище за допомогою команд git',
" * Визначити стартове дерево за допомогою ```define start```", ' * Визначити стартове дерево за допомогою ```define start```',
" * Ввести набір команд, що описують (оптимальний) розв’язок", ' * Ввести набір команд, що описують (оптимальний) розв’язок',
" * Визначити кінцеве дерево за допомогою ```define goal```. Одночасно це визначить розв’язок", ' * Визначити кінцеве дерево за допомогою ```define goal```. Одночасно це визначить розв’язок',
" * Додатково можна задати підказку за допомогою ```define hint```", ' * Додатково можна задати підказку за допомогою ```define hint```',
" * Редагувати назву рівня за допомогою ```define name```", ' * Редагувати назву рівня за допомогою ```define name```',
" * Додатково можна вказати файний початковий діалог за допомогою ```edit dialog```", ' * Додатково можна вказати файний початковий діалог за допомогою ```edit dialog```',
" * Ввести команду ```finish``` й отримати JSON з описом рівня!", ' * Ввести команду ```finish``` й отримати JSON з описом рівня!'
], ]
}, }
}, }],
], 'ko': [{
ko: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## 레벨 생성기 입니다. 환영합니다!", '## 레벨 생성기 입니다. 환영합니다!',
"", '',
"Here are the main steps:", 'Here are the main steps:',
"", '',
" * git 명령어로 초기 환경을 만들어주세요", ' * git 명령어로 초기 환경을 만들어주세요',
" * 시작 트리를 ```define start```로 정의하세요", ' * 시작 트리를 ```define start```로 정의하세요',
" * (최적화된)정답을 만드는 git 명령어들을 입력하세요", ' * (최적화된)정답을 만드는 git 명령어들을 입력하세요',
" * 목표 트리를 ```define goal```로 정의해주세요. 목표를 정의하면 정답도 같이 정의됩니다", ' * 목표 트리를 ```define goal```로 정의해주세요. 목표를 정의하면 정답도 같이 정의됩니다',
" * ```define hint```로 원하면 힌트도 정의해줄수 있습니다", ' * ```define hint```로 원하면 힌트도 정의해줄수 있습니다',
" * 문제의 이름을 ```define name```로 수정하세요", ' * 문제의 이름을 ```define name```로 수정하세요',
" * 시작 글이 필요하다면 ```edit dialog```로 쓸 수 있습니다", ' * 시작 글이 필요하다면 ```edit dialog```로 쓸 수 있습니다',
" * ```finish```로 여러분의 레벨을 JSON결과로 받을 수 있습니다!", ' * ```finish```로 여러분의 레벨을 JSON결과로 받을 수 있습니다!'
], ]
}, }
}, }],
], 'vi': [{
vi: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Chào mừng đến trình tạo cấp độ!", '## Chào mừng đến trình tạo cấp độ!',
"", '',
"Có những bước chính sau:", 'Có những bước chính sau:',
"", '',
" * Khởi tạo môi trường với các lệnh git", ' * Khởi tạo môi trường với các lệnh git',
" * Định nghĩa cây để bắt đầu với ```define start```", ' * Định nghĩa cây để bắt đầu với ```define start```',
" * Nhập chuỗi lệnh git để tạo đáp án (tốt nhất) của bạn", ' * Nhập chuỗi lệnh git để tạo đáp án (tốt nhất) của bạn',
" * Định nghĩa cây mục tiêu với ```define goal```. Định nghĩa mục tiêu đồng thời cũng xác định đáp án", ' * Định nghĩa cây mục tiêu với ```define goal```. Định nghĩa mục tiêu đồng thời cũng xác định đáp án',
" * Có thể định nghĩa gợi ý với ```define hint```", ' * Có thể định nghĩa gợi ý với ```define hint```',
" * Chỉnh sửa tên với ```define name```", ' * Chỉnh sửa tên với ```define name```',
" * Có thể định nghĩa hộp thoại bắt đầu với ```edit dialog```", ' * Có thể định nghĩa hộp thoại bắt đầu với ```edit dialog```',
" * Nhập lệnh ```finish``` xuất cấp độ của bạn dưới dạng JSON!", ' * Nhập lệnh ```finish``` xuất cấp độ của bạn dưới dạng JSON!'
], ]
}, }
}, }],
], 'sl_SI': [{
sl_SI: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Dobrodošel v graditelju stopenj!", '## Dobrodošel v graditelju stopenj!',
"", '',
"Tu so glavni koraki:", 'Tu so glavni koraki:',
"", '',
" * Postavi začetno stanje z git ukazi", ' * Postavi začetno stanje z git ukazi',
" * Določi začetno drevo z ```define start```", ' * Določi začetno drevo z ```define start```',
" * Vnesi zaporedje ukazov, ki predstavljajo (najboljšo) rešitev", ' * Vnesi zaporedje ukazov, ki predstavljajo (najboljšo) rešitev',
" * Določi ciljno drevo z ```define goal```. Določanje cilja določi tudi rešitev", ' * Določi ciljno drevo z ```define goal```. Določanje cilja določi tudi rešitev',
" * Opcijsko določi namig z ```define hint```", ' * Opcijsko določi namig z ```define hint```',
" * Uredi ime z ```define name```", ' * Uredi ime z ```define name```',
" * Opcijsko določi ličen začetni dialog z ```edit dialog```", ' * Opcijsko določi ličen začetni dialog z ```edit dialog```',
" * Vnesi ukaz ```finish``` za ustvarjanje JSON različice tvoje stopnje!", ' * Vnesi ukaz ```finish``` za ustvarjanje JSON različice tvoje stopnje!'
], ]
}, }
}, }],
], 'pl': [{
pl: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Witamy w kreatorze poziomów!", '## Witamy w kreatorze poziomów!',
"", '',
"Oto główne kroki:", 'Oto główne kroki:',
"", '',
" * Przygotuj środowisko początkowe za pomocą poleceń GIT-a", ' * Przygotuj środowisko początkowe za pomocą poleceń GIT-a',
" * Zdefiniuj drzewo początkowe za pomocą ```define start```", ' * Zdefiniuj drzewo początkowe za pomocą ```define start```',
" * Wprowadź serię poleceń GIT-a, które tworzą (optymalne) rozwiązanie", ' * Wprowadź serię poleceń GIT-a, które tworzą (optymalne) rozwiązanie',
" * Utwórz drzewo celów za pomocą ```define goal```. Określenie celu określa również rozwiązanie", ' * Utwórz drzewo celów za pomocą ```define goal```. Określenie celu określa również rozwiązanie',
" * Opcjonalnie utwórz podpowiedzi (wskazówkę) za pomocą ```define hint```", ' * Opcjonalnie utwórz podpowiedzi (wskazówkę) za pomocą ```define hint```',
" * Nadaj nazwę za pomocą ```define name```", ' * Nadaj nazwę za pomocą ```define name```',
" * Opcjonalnie, utwórz wiadomość początkową za pomocą ```edit dialog```", ' * Opcjonalnie, utwórz wiadomość początkową za pomocą ```edit dialog```',
" * Wpisz polecenie ```finish```, aby wyświetlić swój poziom w JSON!", ' * Wpisz polecenie ```finish```, aby wyświetlić swój poziom w JSON!'
], ]
}, }
}, }],
], 'ta_IN': [{
ta_IN: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## நிலைகளை நிருவகிக்கும் கட்டமைப்பிற்க்கு வருக!", '## நிலைகளை நிருவகிக்கும் கட்டமைப்பிற்க்கு வருக!',
"", '',
"அடிப்படை நடைமுறைகள்:", 'அடிப்படை நடைமுறைகள்:',
"", '',
" * முதலாவதாக ஆரம்ப சூழலை git கட்டளைகள் கொன்டுகொன்டு அமைக்கவும்.", ' * முதலாவதாக ஆரம்ப சூழலை git கட்டளைகள் கொன்டுகொன்டு அமைக்கவும்.',
" * ```define start``` தொடக்க செயல் முறையை வரையறுக்கவும்.", ' * ```define start``` தொடக்க செயல் முறையை வரையறுக்கவும்.',
" * உகந்த தீர்வினை அடையும் git கட்டளைகளின் தொடரை உள்ளிடவும்.", ' * உகந்த தீர்வினை அடையும் git கட்டளைகளின் தொடரை உள்ளிடவும்.',
" * ```define goal``` கொண்டு இலக்கினை அடையும் கிளை வரைமுரைகளை தீர்வுடன் அமைக்கவும்.", ' * ```define goal``` கொண்டு இலக்கினை அடையும் கிளை வரைமுரைகளை தீர்வுடன் அமைக்கவும்.',
" * தேவை எனில் ```define hint``` கொண்டு உதவி குறிப்பை வரையறுக்கவும்.", ' * தேவை எனில் ```define hint``` கொண்டு உதவி குறிப்பை வரையறுக்கவும்.',
" * ```define name``` கொண்டு பெயரைத் திருத்தவும்.", ' * ```define name``` கொண்டு பெயரைத் திருத்தவும்.',
" * தேவை எனில் ```edit dialog``` கொண்டு ஒரு நல்ல முன்னுறையை வரையறுக்கவும்.", ' * தேவை எனில் ```edit dialog``` கொண்டு ஒரு நல்ல முன்னுறையை வரையறுக்கவும்.',
" * ```finish``` கொண்டு இந்த நிலையின் JSON!-ஐ அச்சிடுக.", ' * ```finish``` கொண்டு இந்த நிலையின் JSON!-ஐ அச்சிடுக.'
], ]
}, }
}, }],
], "it_IT": [
it_IT: [
{ {
type: "ModalAlert", type: "ModalAlert",
options: { options: {
@ -421,25 +383,23 @@ exports.dialog = {
}, },
}, },
], ],
tr_TR: [ 'tr_TR': [{
{ type: 'ModalAlert',
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Level oluşturucusuna hoş geldiniz!", '## Level oluşturucusuna hoş geldiniz!',
"", '',
"İşte ana adımlar:", 'İşte ana adımlar:',
"", '',
" * Git komutlarıyla başlangıç ortamını ayarlayın", ' * Git komutlarıyla başlangıç ortamını ayarlayın',
" * Başlangıç ağacını ```define start``` ile tanımlayın", ' * Başlangıç ağacını ```define start``` ile tanımlayın',
" * (İdeal) çözümü oluşturan git komutlarını girin", ' * (İdeal) çözümü oluşturan git komutlarını girin',
" * Hedef ağacını ```define goal``` ile tanımlayın. Hedefi tanımlamak aynı zamanda çözümü tanımlar", ' * Hedef ağacını ```define goal``` ile tanımlayın. Hedefi tanımlamak aynı zamanda çözümü tanımlar',
" * İsteğe bağlı olarak ipucu ekleyin ```define hint```", ' * İsteğe bağlı olarak ipucu ekleyin ```define hint```',
" * İsmi düzenleyin ```define name```", ' * İsmi düzenleyin ```define name```',
" * İsteğe bağlı olarak hoş bir başlangıç diyalogu tanımlayın ```edit dialog```", ' * İsteğe bağlı olarak hoş bir başlangıç diyalogu tanımlayın ```edit dialog```',
" * Level JSON'unuzu çıkarmak için ```finish``` komutunu girin!", ' * Level JSON\'unuzu çıkarmak için ```finish``` komutunu girin!'
], ]
}, }
}, }],
],
}; };

View file

@ -1,150 +1,128 @@
exports.dialog = { exports.dialog = {
en_US: [ 'en_US': [{
{ type: 'ModalAlert',
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Great Job!!!", '## Great Job!!!',
"", '',
"You solved the level in *{numCommands}* command(s); ", 'You solved the level in *{numCommands}* command(s); ',
"our solution uses {best}.", 'our solution uses {best}.'
], ]
}, }
}, }],
], 'de_DE': [{
de_DE: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Super gemacht!!!", '## Super gemacht!!!',
"", '',
"Du hast das Level mit *{numCommands}* Befehl(en) gelöst;", 'Du hast das Level mit *{numCommands}* Befehl(en) gelöst;',
"unsere Lösung nutzt {best}.", 'unsere Lösung nutzt {best}.'
], ]
}, }
}, }],
], 'ja': [{
ja: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## 完成!!!", '## 完成!!!',
"", '',
"あなたは*{numCommands}*回のコマンドでこの課題をクリアしました; ", 'あなたは*{numCommands}*回のコマンドでこの課題をクリアしました; ',
"模範解答では{best}回です。", '模範解答では{best}回です。',
"", '',
"模範解答は、右下の`?`メニューの`Solution`から見ることができます。", '模範解答は、右下の`?`メニューの`Solution`から見ることができます。'
], ]
}, }
}, }],
], 'zh_CN': [{
zh_CN: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## 好样的!!!", '## 好样的!!!',
"", '',
"你用 *{numCommands}* 条命令通过了这一关;", '你用 *{numCommands}* 条命令通过了这一关;',
"我们的答案要用 {best} 条命令。", '我们的答案要用 {best} 条命令。'
], ]
}, }
}, }],
], 'zh_TW': [{
zh_TW: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## 太棒了!!!", '## 太棒了!!!',
"", '',
"您用了 *{numCommands}* 個指令完成這一關,", '您用了 *{numCommands}* 個指令完成這一關,',
"我們的解答用了 {best} 個。", '我們的解答用了 {best} 個。'
], ]
}, }
}, }],
], 'es_AR': [{
es_AR: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## ¡Buen trabajo!!!", '## ¡Buen trabajo!!!',
"", '',
"Resolviste el nivel en *{numCommands}* comandos; ", 'Resolviste el nivel en *{numCommands}* comandos; ',
"nuestra mejor solución usa {best}.", 'nuestra mejor solución usa {best}.'
], ]
}, }
}, }],
], 'es_MX': [{
es_MX: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## ¡Buen trabajo!!!", '## ¡Buen trabajo!!!',
"", '',
"Resolviste el nivel en *{numCommands}* comandos; ", 'Resolviste el nivel en *{numCommands}* comandos; ',
"nuestra mejor solución usa: {best}.", 'nuestra mejor solución usa: {best}.'
], ]
}, }
}, }],
], 'es_ES': [{
es_ES: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## ¡Buen trabajo!!!", '## ¡Buen trabajo!!!',
"", '',
"Resolviste el nivel en *{numCommands}* comandos; ", 'Resolviste el nivel en *{numCommands}* comandos; ',
"nuestra mejor solución usa {best}.", 'nuestra mejor solución usa {best}.'
], ]
}, }
}, }],
], 'pt_BR': [{
pt_BR: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Bom trabalho!!!", '## Bom trabalho!!!',
"", '',
"Você resolveu o nível usando *{numCommands}* comandos; ", 'Você resolveu o nível usando *{numCommands}* comandos; ',
"nossa melhor solução usa {best}.", 'nossa melhor solução usa {best}.'
], ]
}, }
}, }],
], 'gl': [{
gl: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Bo traballo!!!", '## Bo traballo!!!',
"", '',
"Resolviches o nivel empregando *{numCommands}* comandos; ", 'Resolviches o nivel empregando *{numCommands}* comandos; ',
"a nosa mellor solución é en {best}.", 'a nosa mellor solución é en {best}.'
], ]
}, }
}, }],
], 'fr_FR': [{
fr_FR: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Beau Travail!!!", '## Beau Travail!!!',
"", '',
"Vous avez résolu le niveau en *{numCommands}* commande(s); ", 'Vous avez résolu le niveau en *{numCommands}* commande(s); ',
"notre solution le fait en {best}.", 'notre solution le fait en {best}.'
], ]
}, }
}, }],
], 'ro': [
ro: [
{ {
type: "ModalAlert", type: "ModalAlert",
options: { options: {
@ -157,98 +135,84 @@ exports.dialog = {
}, },
}, },
], ],
ru_RU: [ 'ru_RU': [{
{ type: 'ModalAlert',
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Супер!!!", '## Супер!!!',
"", '',
"Ты прошёл уровень. Количество использованных команд - *{numCommands}* ; ", 'Ты прошёл уровень. Количество использованных команд - *{numCommands}* ; ',
"а наше решение состоит из {best}.", 'а наше решение состоит из {best}.'
], ]
}, }
}, }],
], 'uk': [{
uk: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Молодець!!!", '## Молодець!!!',
"", '',
"Ти пройшов рівень. Кількість використаних команд \u2014 *{numCommands}*; ", 'Ти пройшов рівень. Кількість використаних команд \u2014 *{numCommands}*; ',
"наш розв’язок складається з {best}.", 'наш розв’язок складається з {best}.'
], ]
}, }
}, }],
], 'ko': [{
ko: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## 훌륭합니다!!!", '## 훌륭합니다!!!',
"", '',
"*{numCommands}*개의 명령으로 레벨을 통과했습니다; ", '*{numCommands}*개의 명령으로 레벨을 통과했습니다; ',
"모범 답안은 {best}개를 사용합니다.", '모범 답안은 {best}개를 사용합니다.'
], ]
}, }
}, }],
], 'vi': [{
vi: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Làm tốt lắm!!!", '## Làm tốt lắm!!!',
"", '',
"Bạn hoàn thành cấp độ này với *{numCommands}* câu lệnh; ", 'Bạn hoàn thành cấp độ này với *{numCommands}* câu lệnh; ',
"Đáp án của chúng tôi sử dụng {best}.", 'Đáp án của chúng tôi sử dụng {best}.'
], ]
}, }
}, }],
], 'sl_SI': [{
sl_SI: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Dobro opravljeno!!!", '## Dobro opravljeno!!!',
"", '',
"Rešil si stopnjo z *{numCommands}* ukazi; ", 'Rešil si stopnjo z *{numCommands}* ukazi; ',
"naša rešitev uporabi {best}.", 'naša rešitev uporabi {best}.'
], ]
}, }
}, }],
], 'pl': [{
pl: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Dobra robota!!!", '## Dobra robota!!!',
"", '',
"Rozwiązałeś poziom używając *{numCommands}* poleceń/ia; ", 'Rozwiązałeś poziom używając *{numCommands}* poleceń/ia; ',
"nasze rozwiązanie składa się z {best}.", 'nasze rozwiązanie składa się z {best}.'
], ]
}, }
}, }],
], 'ta_IN': [{
ta_IN: [ type: 'ModalAlert',
{
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## ஆக சிரந்த செயல்!!!", '## ஆக சிரந்த செயல்!!!',
"", '',
"நீங்கள் *{numCommands}* நிலைக்கான கட்டளை(கள்) கொண்டு தீர்வை அடிந்து விட்டீர்கள்; ", 'நீங்கள் *{numCommands}* நிலைக்கான கட்டளை(கள்) கொண்டு தீர்வை அடிந்து விட்டீர்கள்; ',
"நமது தீர்வு {best}-ஐ பயன்படுத்து கின்றது.", 'நமது தீர்வு {best}-ஐ பயன்படுத்து கின்றது.'
], ]
}, }
}, }],
], "it_IT": [
it_IT: [
{ {
type: "ModalAlert", type: "ModalAlert",
options: { options: {
@ -261,18 +225,16 @@ exports.dialog = {
}, },
}, },
], ],
tr_TR: [ 'tr_TR': [{
{ type: 'ModalAlert',
type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
"## Muhteşem!!!", '## Muhteşem!!!',
"", '',
"Bu seviyeyi *{numCommands}* komut ile çözdünüz.", 'Bu seviyeyi *{numCommands}* komut ile çözdünüz.',
"İdeal çözüm {best} komuttan oluşuyor.", 'İdeal çözüm {best} komuttan oluşuyor.'
], ]
}, }
}, }],
],
}; };

View file

@ -629,8 +629,8 @@ exports.dialog = {
'Mais tout de suite commencez sur les `levels`…' 'Mais tout de suite commencez sur les `levels`…'
] ]
} }
}],ro: [ }],
{ 'ro': [{
type: "ModalAlert", type: "ModalAlert",
options: { options: {
markdowns: [ markdowns: [
@ -658,8 +658,7 @@ exports.dialog = {
"însă dacă observi vreo eroare, nu ezita să trimiți un PR (sau să deschizi o problemă).", "însă dacă observi vreo eroare, nu ezita să trimiți un PR (sau să deschizi o problemă).",
], ],
}, },
}, }],
],
'ru_RU': [{ 'ru_RU': [{
type: 'ModalAlert', type: 'ModalAlert',
options: { options: {

View file

@ -446,7 +446,8 @@ exports.strings = {
'es_ES': '¡Ya existe un origen! No puedes crearlo de nuevo.', 'es_ES': '¡Ya existe un origen! No puedes crearlo de nuevo.',
'pt_BR': 'A origem já existe! Você não pode criar uma nova', 'pt_BR': 'A origem já existe! Você não pode criar uma nova',
'gl' : 'A orixe xa existe! Non podes crear unha nova', 'gl' : 'A orixe xa existe! Non podes crear unha nova',
'fr_FR': 'Une origine existe déjà ! Vous ne pouvez pas en créer une nouvelle', 'ro': "Un origin deja există! Nu poți crea unul nou", 'fr_FR': 'Une origine existe déjà ! Vous ne pouvez pas en créer une nouvelle',
'ro': "Un origin deja există! Nu poți crea unul nou",
'ru_RU': 'Origin уже существует! Невозможно создать еще один', 'ru_RU': 'Origin уже существует! Невозможно создать еще один',
'uk': 'Origin вже існує! Неможливо створити ще один', 'uk': 'Origin вже існує! Неможливо створити ще один',
'ko': 'origin이 이미 존재합니다! 새로 만들 수 없습니다.', 'ko': 'origin이 이미 존재합니다! 새로 만들 수 없습니다.',
@ -713,7 +714,8 @@ exports.strings = {
'es_MX': 'No es necesario hacer add a los archivos en ésta demo', 'es_MX': 'No es necesario hacer add a los archivos en ésta demo',
'pt_BR': 'As opções que você especificou são incompatíveis ou incorretas', 'pt_BR': 'As opções que você especificou são incompatíveis ou incorretas',
'gl' : 'As opcións que especificaches son incompatibles ou incorrectas', 'gl' : 'As opcións que especificaches son incompatibles ou incorrectas',
'fr_FR': 'Les options que vous avez spécifiées sont incompatibles ou incorrectes', 'ro': "Opțiunile specificate sunt incompatibile sau incorecte", 'fr_FR': 'Les options que vous avez spécifiées sont incompatibles ou incorrectes',
'ro': "Opțiunile specificate sunt incompatibile sau incorecte",
'ru_RU': 'Неправильные опции', 'ru_RU': 'Неправильные опции',
'uk': 'Опції, які ти ввів, або некорректні або не підтримуються', 'uk': 'Опції, які ти ввів, або некорректні або не підтримуються',
'ko': '지정한 옵션이 호환되지 않거나 올바르지 않습니다.', 'ko': '지정한 옵션이 호환되지 않거나 올바르지 않습니다.',
@ -1540,7 +1542,8 @@ exports.strings = {
'es_ES': 'El mapa resuelto fue eliminado, estás empezando de un estado limpio.', 'es_ES': 'El mapa resuelto fue eliminado, estás empezando de un estado limpio.',
'pt_BR': 'Mapa de resolvidos descartado, você está começando com ficha limpa!', 'pt_BR': 'Mapa de resolvidos descartado, você está começando com ficha limpa!',
'gl' : 'O mapa resolto foi eliminado, estás arrancando dende un estado limpo.', 'gl' : 'O mapa resolto foi eliminado, estás arrancando dende un estado limpo.',
'fr_FR': 'La carte des niveaux résolus a été effacée, vous repartez de zéro !', 'ro': "Totul a fost resetat, începi de la zero!", 'fr_FR': 'La carte des niveaux résolus a été effacée, vous repartez de zéro !',
'ro': "Totul a fost resetat, începi de la zero!",
'ru_RU': 'Всё сброшено! Можно начать с чистого листа!', 'ru_RU': 'Всё сброшено! Можно начать с чистого листа!',
'uk': 'Все скинуте! Можна починати з чистого аркушу!', 'uk': 'Все скинуте! Можна починати з чистого аркушу!',
'ko': '해결된 맵이 초기화 되었습니다. 이제 초기 상태에서 시작합니다!', 'ko': '해결된 맵이 초기화 되었습니다. 이제 초기 상태에서 시작합니다!',
@ -2204,7 +2207,8 @@ exports.strings = {
'pt_BR': 'Não existe tradução para {key} :( Pule no GitHub e sugira uma! :)', 'pt_BR': 'Não existe tradução para {key} :( Pule no GitHub e sugira uma! :)',
'gl' : 'Non existe tradución para {key} :( Axúdanos en GitHub e suxire unha! :)', 'gl' : 'Non existe tradución para {key} :( Axúdanos en GitHub e suxire unha! :)',
'fr_FR': 'La traduction pour {key} n\'existe pas encore :( Venez sur GitHub pour en offrir une !', 'fr_FR': 'La traduction pour {key} n\'existe pas encore :( Venez sur GitHub pour en offrir une !',
'ja' : '{key}の翻訳がまだ存在しません :( GitHubでの、翻訳の協力をお願いします m(_)m','ro': "Traducerea pentru {key} nu există încă :( Te rog să vii pe GitHub și să oferi o traducere!", 'ja' : '{key}の翻訳がまだ存在しません :( GitHubでの、翻訳の協力をお願いします m(_)m',
'ro': "Traducerea pentru {key} nu există încă :( Te rog să vii pe GitHub și să oferi o traducere!",
'ru_RU': 'Перевода для {key} не создано :( Пожалуйста, предложи перевод на GitHub', 'ru_RU': 'Перевода для {key} не создано :( Пожалуйста, предложи перевод на GitHub',
'uk': 'Немає перекладу для {key} :( Будь-ласка, запропонуй переклад на GitHub', 'uk': 'Немає перекладу для {key} :( Будь-ласка, запропонуй переклад на GitHub',
'ko': '{key}를 위한 번역은 아직 존재하지 않습니다 :( github로 오셔서 번역을 제공해주세요!', 'ko': '{key}를 위한 번역은 아직 존재하지 않습니다 :( github로 오셔서 번역을 제공해주세요!',

View file

@ -861,11 +861,11 @@ exports.level = {
] ]
}, },
"it_IT": { "it_IT": {
"childViews": [ childViews: [
{ {
"type": "ModalAlert", type: "ModalAlert",
"options": { options: {
"markdowns": [ markdowns: [
"## Git Commits", "## Git Commits",
"Un commit in git memorizza un'instantanea di tutti i file (tracciati) della cartella di lavoro. È come un enorme copia-incolla, ma migliore!", "Un commit in git memorizza un'instantanea di tutti i file (tracciati) della cartella di lavoro. È come un enorme copia-incolla, ma migliore!",
"", "",
@ -878,24 +878,24 @@ exports.level = {
}, },
}, },
{ {
"type": "GitDemonstrationView", type: "GitDemonstrationView",
"options": { options: {
"beforeMarkdowns": [ beforeMarkdowns: [
"Vediamolo in pratica. Sulla destra abbiamo l'immagine di un (piccolo) repository git. Ci sono due commit -- il primo commit, `C0`, e un altro dopo, `C1`, che potrebbe avere modifiche importanti.", "Vediamolo in pratica. Sulla destra abbiamo l'immagine di un (piccolo) repository git. Ci sono due commit -- il primo commit, `C0`, e un altro dopo, `C1`, che potrebbe avere modifiche importanti.",
"", "",
"Premi il pulsante qua sotto per eseguire un nuovo commit.", "Premi il pulsante qua sotto per eseguire un nuovo commit.",
], ],
"afterMarkdowns": [ afterMarkdowns: [
"Ecco qua! Fantastico. Abbiamo modificato il repository e salvato con un commit. Il commit che abbiamo creato ha un genitore, `C1`, che ci indica su chi è basato il nostro commit.", "Ecco qua! Fantastico. Abbiamo modificato il repository e salvato con un commit. Il commit che abbiamo creato ha un genitore, `C1`, che ci indica su chi è basato il nostro commit.",
], ],
"command": "git commit", command: "git commit",
"beforeCommand": "", beforeCommand: "",
}, },
}, },
{ {
"type": "ModalAlert", type: "ModalAlert",
"options": { options: {
"markdowns": [ markdowns: [
"Vai avanti e prova da solo! Dopo che questa finestra si chiude, crea due commit per completare il livello.", "Vai avanti e prova da solo! Dopo che questa finestra si chiude, crea due commit per completare il livello.",
], ],
}, },

View file

@ -1365,9 +1365,9 @@ exports.level = {
"it_IT": { "it_IT": {
childViews: [ childViews: [
{ {
"type": "ModalAlert", type: "ModalAlert",
"options": { options: {
"markdowns": [ markdowns: [
"## Rami e fusione", "## Rami e fusione",
"", "",
"Ottimo! Ora sappiamo come funzionano i commit e i rami. Adesso dobbiamo trovare il modo per unire il lavoro di due rami diversi. Questo ci permetterà di creare un nuovo ramo, aggiungere una nuova funzionalità, e poi riunire il tutto.", "Ottimo! Ora sappiamo come funzionano i commit e i rami. Adesso dobbiamo trovare il modo per unire il lavoro di due rami diversi. Questo ci permetterà di creare un nuovo ramo, aggiungere una nuova funzionalità, e poi riunire il tutto.",
@ -1379,43 +1379,43 @@ exports.level = {
}, },
}, },
{ {
"type": "GitDemonstrationView", type: "GitDemonstrationView",
"options": { options: {
"beforeMarkdowns": [ beforeMarkdowns: [
'Qui abbiamo due rami; ognuno di essi ha un commit univoco. Ciò significa che nessuno dei rami contiene per intero il "lavoro" del repository. Sistemiamo le cose con una fusione.', 'Qui abbiamo due rami; ognuno di essi ha un commit univoco. Ciò significa che nessuno dei rami contiene per intero il "lavoro" del repository. Sistemiamo le cose con una fusione.',
"", "",
"Ora facciamo `merge` del ramo `bugFix` nel `main`.", "Ora facciamo `merge` del ramo `bugFix` nel `main`.",
], ],
"afterMarkdowns": [ afterMarkdowns: [
"WOW! Visto? Prima di tutto, `main` ora punta a un commit con due genitori. Se ripercorri l'albero dei commit dal `main`, potrai attraversare tutti i commit fino alla radice (root). Questo significa che `main` ora contiene tutto il lavoro del repository.", "WOW! Visto? Prima di tutto, `main` ora punta a un commit con due genitori. Se ripercorri l'albero dei commit dal `main`, potrai attraversare tutti i commit fino alla radice (root). Questo significa che `main` ora contiene tutto il lavoro del repository.",
"", "",
"Hai visto come è cambiato il colore del commit? Per imparare più facilmente, ho aggiunto i colori. Ogni ramo ha un colore univoco. Ogni (merge) commit ha un colore che è la combinazione dei colori dei rami che lo compongono.", "Hai visto come è cambiato il colore del commit? Per imparare più facilmente, ho aggiunto i colori. Ogni ramo ha un colore univoco. Ogni (merge) commit ha un colore che è la combinazione dei colori dei rami che lo compongono.",
"", "",
"Qui vediamo che il colore del ramo `main` è la combinazione di tutti i commit , ma il colore di `bugFix` è diverso. Sistemiamolo...", "Qui vediamo che il colore del ramo `main` è la combinazione di tutti i commit , ma il colore di `bugFix` è diverso. Sistemiamolo...",
], ],
"command": "git merge bugFix", command: "git merge bugFix",
"beforeCommand": beforeCommand:
"git checkout -b bugFix; git commit; git checkout main; git commit", "git checkout -b bugFix; git commit; git checkout main; git commit",
}, },
}, },
{ {
"type": "GitDemonstrationView", type: "GitDemonstrationView",
"options": { options: {
"beforeMarkdowns": ["Fondiamo `main` in `bugFix`:"], beforeMarkdowns: ["Fondiamo `main` in `bugFix`:"],
"afterMarkdowns": [ afterMarkdowns: [
"Visto che `bugFix` era un antenato di `main`, git non ha dovuto fare nulla di che; ha semplicemente spostato `bugFix` sullo stesso commit in cui era collegato `main`.", "Visto che `bugFix` era un antenato di `main`, git non ha dovuto fare nulla di che; ha semplicemente spostato `bugFix` sullo stesso commit in cui era collegato `main`.",
"", "",
"Ora tutti i commit hanno lo stesso colore, il che significa che ogni ramo contiene tutto il lavoro del repository! WoWoWoW!", "Ora tutti i commit hanno lo stesso colore, il che significa che ogni ramo contiene tutto il lavoro del repository! WoWoWoW!",
], ],
"command": "git checkout bugFix; git merge main", command: "git checkout bugFix; git merge main",
"beforeCommand": beforeCommand:
"git checkout -b bugFix; git commit; git checkout main; git commit; git merge bugFix", "git checkout -b bugFix; git commit; git checkout main; git commit; git merge bugFix",
}, },
}, },
{ {
"type": "ModalAlert", type: "ModalAlert",
"options": { options: {
"markdowns": [ markdowns: [
"Per completare questo livello, esegui i seguenti passaggi:", "Per completare questo livello, esegui i seguenti passaggi:",
"", "",
"* Crea un nuovo ramo di nome `bugFix`", "* Crea un nuovo ramo di nome `bugFix`",

View file

@ -1261,11 +1261,11 @@ exports.level = {
] ]
}, },
"it_IT": { "it_IT": {
"childViews": [ childViews: [
{ {
"type": "ModalAlert", type: "ModalAlert",
"options": { options: {
"markdowns": [ markdowns: [
"## Git Rebase", "## Git Rebase",
"", "",
'Il secondo modo per unire il lavoro tra rami è il *rebasing* (ribasare). Quando si ribasa vengono presi una serie di commit, vengono "copiati", e incollati da qualche parte.', 'Il secondo modo per unire il lavoro tra rami è il *rebasing* (ribasare). Quando si ribasa vengono presi una serie di commit, vengono "copiati", e incollati da qualche parte.',
@ -1277,44 +1277,44 @@ exports.level = {
}, },
}, },
{ {
"type": "GitDemonstrationView", type: "GitDemonstrationView",
"options": { options: {
"beforeMarkdowns": [ beforeMarkdowns: [
"Anche qui abbiamo ancora due rami; prestate attenzione al fatto che il ramo selezionato è bugFix (notare l'asterisco*)", "Anche qui abbiamo ancora due rami; prestate attenzione al fatto che il ramo selezionato è bugFix (notare l'asterisco*)",
"", "",
"Ora vogliamo spostare il nostro lavoro dal ramo bugFix direttamente sul ramo main. In questo modo sembrerà che i due lavori sono stati sviluppati in sequenza, quando in realtà sono stati sviluppati in parallelo.", "Ora vogliamo spostare il nostro lavoro dal ramo bugFix direttamente sul ramo main. In questo modo sembrerà che i due lavori sono stati sviluppati in sequenza, quando in realtà sono stati sviluppati in parallelo.",
"", "",
"Vediamo il comando `git rebase` all'opera.", "Vediamo il comando `git rebase` all'opera.",
], ],
"afterMarkdowns": [ afterMarkdowns: [
"Fantastico! Ora il lavoro del ramo bugFix è sopra al main e abbiamo una sequenza lineare di commit.", "Fantastico! Ora il lavoro del ramo bugFix è sopra al main e abbiamo una sequenza lineare di commit.",
"", "",
'Nota che il commit C3 continua ad esistere (messo in trasparenza), e C3\' è la "copia" che abbiamo ribasato sul main.', 'Nota che il commit C3 continua ad esistere (messo in trasparenza), e C3\' è la "copia" che abbiamo ribasato sul main.',
"", "",
"L'unico problema è che il main non è ancora stato aggiornato, facciamolo ora...", "L'unico problema è che il main non è ancora stato aggiornato, facciamolo ora...",
], ],
"command": "git rebase main", command: "git rebase main",
"beforeCommand": "git commit; git checkout -b bugFix C1; git commit", beforeCommand: "git commit; git checkout -b bugFix C1; git commit",
}, },
}, },
{ {
"type": "GitDemonstrationView", type: "GitDemonstrationView",
"options": { options: {
"beforeMarkdowns": [ beforeMarkdowns: [
"Ora il ramo selezionato è il main. Procediamo e facciamo rebase su `bugFix`...", "Ora il ramo selezionato è il main. Procediamo e facciamo rebase su `bugFix`...",
], ],
"afterMarkdowns": [ afterMarkdowns: [
"Ecco qua! Visto che main era un antenato di `bugFix`, git sposta semplicemente il riferimento al ramo `main` in avanti.", "Ecco qua! Visto che main era un antenato di `bugFix`, git sposta semplicemente il riferimento al ramo `main` in avanti.",
], ],
"command": "git rebase bugFix", command: "git rebase bugFix",
"beforeCommand": beforeCommand:
"git commit; git checkout -b bugFix C1; git commit; git rebase main; git checkout main", "git commit; git checkout -b bugFix C1; git commit; git rebase main; git checkout main",
}, },
}, },
{ {
"type": "ModalAlert", type: "ModalAlert",
"options": { options: {
"markdowns": [ markdowns: [
"Per completare questo livello, esegui i seguenti passaggi", "Per completare questo livello, esegui i seguenti passaggi",
"", "",
"* Crea un nuovo ramo di nome `bugFix`", "* Crea un nuovo ramo di nome `bugFix`",