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': [{
], type: 'ModalAlert',
de_DE: [ options: {
{ markdowns: [
type: "ModalAlert", '## Bist du sicher, dass du die Lösung sehen willst?',
options: { '',
markdowns: [ 'Ich glaube an dich! Du schaffst das schon!'
"## Bist du sicher, dass du die Lösung sehen willst?", ]
"", }
"Ich glaube an dich! Du schaffst das schon!", }],
], 'zh_CN': [{
}, type: 'ModalAlert',
}, options: {
], markdowns: [
zh_CN: [ '## 确定要看答案吗?',
{ '',
type: "ModalAlert", '相信自己,你可以的!'
options: { ]
markdowns: ["## 确定要看答案吗?", "", "相信自己,你可以的!"], }
}, }],
}, 'zh_TW': [{
], type: 'ModalAlert',
zh_TW: [ options: {
{ markdowns: [
type: "ModalAlert", '## 確定偷看解答嗎?',
options: { '',
markdowns: ["## 確定偷看解答嗎?", "", "我相信你!你可以的"], '我相信你!你可以的'
}, ]
}, }
], }],
es_AR: [ 'es_AR': [{
{ type: 'ModalAlert',
type: "ModalAlert", options: {
options: { markdowns: [
markdowns: [ '## ¿Realmente querés ver la solución?',
"## ¿Realmente querés ver la solución?", '',
"", '¡Creo en vos! ¡Dale que podés!'
"¡Creo en vos! ¡Dale que podés!", ]
], }
}, }],
}, 'es_MX': [{
], type: 'ModalAlert',
es_MX: [ options: {
{ markdowns: [
type: "ModalAlert", '## ¿Estás seguro de que quieres ver la solución?',
options: { '',
markdowns: [ '¡Creo en ti! ¡Yo sé que puedes!'
"## ¿Estás seguro de que quieres ver la solución?", ]
"", }
"¡Creo en ti! ¡Yo sé que puedes!", }],
], 'es_ES': [{
}, type: 'ModalAlert',
}, options: {
], markdowns: [
es_ES: [ '## ¿Estás seguro de que quieres ver la solución?',
{ '',
type: "ModalAlert", '¡Creo en ti! ¡Ánimo!'
options: { ]
markdowns: [ }
"## ¿Estás seguro de que quieres ver la solución?", }],
"", 'pt_BR': [{
"¡Creo en ti! ¡Ánimo!", type: 'ModalAlert',
], options: {
}, markdowns: [
}, '## Tem certeza que quer ver a solução?',
], '',
pt_BR: [ 'Vamos lá, acredito que você consegue!'
{ ]
type: "ModalAlert", }
options: { }],
markdowns: [ 'gl': [{
"## Tem certeza que quer ver a solução?", type: 'ModalAlert',
"", options: {
"Vamos lá, acredito que você consegue!", markdowns: [
], '## ¿Queres ver a solución?',
}, '',
}, 'Seguro que podes, ¡inténtao unha vez máis!'
], ]
gl: [ }
{ }],
type: "ModalAlert", 'fr_FR': [{
options: { type: 'ModalAlert',
markdowns: [ options: {
"## ¿Queres ver a solución?", markdowns: [
"", '## Êtes-vous sûr de vouloir voir la solution ?',
"Seguro que podes, ¡inténtao unha vez máis!", '',
], 'Je crois en vous ! Vous pouvez le faire !'
}, ]
}, }
], }],
fr_FR: [ 'ja': [{
{ type: 'ModalAlert',
type: "ModalAlert", options: {
options: { markdowns: [
markdowns: [ '## どうしても正解がみたいですか?',
"## Êtes-vous sûr de vouloir voir la solution ?", '',
"", 'あなたならきっとできるって信じてます!'
"Je crois en vous ! Vous pouvez le faire !", ]
], }
}, }],
}, 'ro': [
],
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': [{
], type: 'ModalAlert',
uk: [ options: {
{ markdowns: [
type: "ModalAlert", '## Впевнений, що хочеш побачити розв’язок?',
options: { '',
markdowns: [ 'Я вірю в тебе! Ти впораєшся!'
"## Впевнений, що хочеш побачити розв’язок?", ]
"", }
"Я вірю в тебе! Ти впораєшся!", }],
], 'vi': [{
}, type: 'ModalAlert',
}, options: {
], markdowns: [
vi: [ '## Bạn chắc là muốn xem đáp án chứ?',
{ '',
type: "ModalAlert", 'Tôi tin ở bạn! Bạn có thể làm được!'
options: { ]
markdowns: [ }
"## Bạn chắc là muốn xem đáp án chứ?", }],
"", 'sl_SI': [{
"Tôi tin ở bạn! Bạn có thể làm được!", type: 'ModalAlert',
], options: {
}, markdowns: [
}, '## Si prepričan, da hočeš videti rešitev?',
], '',
sl_SI: [ 'Verjamem vate! Maš ti to! Ali pač ne?'
{ ]
type: "ModalAlert", }
options: { }],
markdowns: [ 'pl': [{
"## Si prepričan, da hočeš videti rešitev?", type: 'ModalAlert',
"", options: {
"Verjamem vate! Maš ti to! Ali pač ne?", markdowns: [
], '## Czy na pewno chcesz zobaczyć rozwiązanie?',
}, '',
}, 'Wierzę w Ciebie! Możesz to zrobić'
], ]
pl: [ }
{ }],
type: "ModalAlert", 'ta_IN': [{
options: { type: 'ModalAlert',
markdowns: [ options: {
"## Czy na pewno chcesz zobaczyć rozwiązanie?", markdowns: [
"", '## நீங்கள் நிச்சயமாக தீர்வை காண விரும்புகிறீர்களா?',
"Wierzę w Ciebie! Możesz to zrobić", '',
], 'நான் உங்களால் அதை செய்ய முடியும் என நினைக்கிறேன்!'
}, ]
}, }
], }],
ta_IN: [ "it_IT": [
{
type: "ModalAlert",
options: {
markdowns: [
"## நீங்கள் நிச்சயமாக தீர்வை காண விரும்புகிறீர்களா?",
"",
"நான் உங்களால் அதை செய்ய முடியும் என நினைக்கிறேன்!",
],
},
},
],
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,406 +1,368 @@
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': [{
type: 'ModalAlert',
options: {
markdowns: [
'## Willkommen zum Level-Editor!',
'',
'So funktioniert\'s:',
'',
' * Stelle mit Git-Befehlen die Ausgangssituation her',
' * Leg den Startpunkt mit ```define start``` fest',
' * 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',
' * Gib einen Hinweis mittels ```define hint``` an, wenn du willst',
' * Änder den Namen mittels ```define name```',
' * Wenn du magst, erstelle einen schönen Einführungsdialog mit ```edit dialog```',
' * Gib das Kommando ```finish``` ein, um dein Level als JSON auszugeben'
]
}
}],
'zh_CN': [{
type: 'ModalAlert',
options: {
markdowns: [
'## 欢迎使用关卡生成器!',
'',
'关键步骤如下:',
'',
' * 用 Git 命令建立初始环境',
' * 用 ```define start``` 命令定义初始提交树',
' * 输入一系列 Git 命令作为(最佳)答案',
' * 用 ```define goal``` 命令定义目标提交树。定义目标的同时也定义了答案',
' * (选做)还可以用 ```define hint``` 命令定义提示',
' * 用 ```define name``` 命令设置关卡名称',
' * (选做)还可以用 ```edit dialog``` 定义一个漂亮的开始对话框',
' * 用 ```finish``` 命令就可以输出你的关卡的JSON数据了'
]
}
}],
'zh_TW': [{
type: 'ModalAlert',
options: {
markdowns: [
'## 歡迎使用關卡編輯器!',
'',
'主要步驟如下:',
'',
' * 使用 git 指令建立初始環境',
' * 使用 ```define start``` 指令定義起始樹',
' * 輸入一系列 git 命令,編好答案',
' * 使用 ```define goal``` 指令定義目標樹。定義目標的同時定義答案',
' * 還可以用 ```define hint``` 指令定義一個提示',
' * 用 ```define name``` 修改名稱',
' * 還可以用 ```edit dialog``` 定義一個漂亮的開始對話視窗',
' * 輸入 ```finish``` 即可將您的關卡輸出為 JSON'
]
}
}],
'es_AR': [{
type: 'ModalAlert',
options: {
markdowns: [
'## ¡Te damos la bienvenida al constructor de niveles!',
'',
'Estos son los pasos principales:',
'',
' * Prepará el entorno inicial usando comandos de Git',
' * Definí el árbol inicial con ```define start```',
' * 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',
' * Opcionalmente, definí pistas con ```define hint```',
' * Dale un nombre con ```define name```',
' * Opcionalmente, definí un mensaje inicial con ```edit dialog```',
' * ¡Ingresá el comando ```finish``` para obtener tu nivel en formato JSON!'
]
}
}],
'es_MX': [{
type: 'ModalAlert',
options: {
markdowns: [
'## ¡Bienvenido al constructor de niveles!',
'',
'Estos son los pasos principales:',
'',
' * Preparar el entorno inicial usando comandos de Git',
' * Definir el árbol inicial con ```define start```',
' * 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',
' * Opcionalmente, crea pistas con ```define hint```',
' * Dale un nombre con ```define name```',
' * Opcionalmente, crea un mensaje inicial con ```edit dialog```',
' * ¡Introduce el comando ```finish``` para obtener tu nivel en formato JSON!'
]
}
}],
'es_ES': [{
type: 'ModalAlert',
options: {
markdowns: [
'## ¡Bienvenido al constructor de niveles!',
'',
'Estos son los pasos principales:',
'',
' * Prepara el entorno inicial usando comandos de Git',
' * Define el árbol inicial con ```define start```',
' * 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',
' * Opcionalmente, crea pistas con ```define hint```',
' * Dale un nombre con ```define name```',
' * Opcionalmente, crea un mensaje inicial con ```edit dialog```',
' * ¡Introduce el comando ```finish``` para obtener tu nivel en formato JSON!'
]
}
}],
'pt_BR': [{
type: 'ModalAlert',
options: {
markdowns: [
'## Bem-vindo ao construtor de níveis!',
'',
'Estes são os passos principais:',
'',
' * Prepare o ambiente inicial usando comandos do Git',
' * Define a árvore inicial com ```define start```',
' * 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',
' * Opcionalmente, defina dicas com ```define hint```',
' * Dê um nome com ```define name```',
' * Opcionalmente, defina uma mensagem inicial com ```edit dialog```',
' * Digite o comando ```finish``` para obter seu nível em formato JSON!'
]
}
}],
'gl': [{
type: 'ModalAlert',
options: {
markdowns: [
'## Benvido ó constructor de niveis!',
'',
'Estes son os pasos principais:',
'',
' * Prepara o eido inicial usando comandos de Git',
' * Define a árbore inicial con ```define start```',
' * 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',
' * Opcionalmente, define axudas con ```define hint```',
' * Dalle un nome con ```define name```',
' * Opcionalmente, define unha mensaxe inicial con ```edit dialog```',
' * Escribe o comando ```finish``` para obter seu nivel en formato JSON!'
]
}
}],
'fr_FR': [{
type: 'ModalAlert',
options: {
markdowns: [
'## Bienvenue dans l\'éditeur niveaux !',
'',
'Voici les étapes principales :',
'',
' * Mettez en place l\'environnement initial avec des commandes git',
' * Définissez l\'arbre de départ avec ```define start```',
' * 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',
' * Optionnellement, définissez un indice avec ```define hint```',
' * Changez le nom avec ```define name```',
' * Optionnellement, définissez un joli dialogue de départ avec ```edit dialog```',
' * Entrez la commande ```finish``` pour délivrer votre niveau JSON!'
]
}
}],
'ja': [{
type: 'ModalAlert',
options: {
markdowns: [
'## Levelエディタへようこそ!',
'',
'ここでは、以下の主にステップを踏みます:',
'',
' * Gitコマンドで初期設定をします',
' * ```define start```で開始時のコミットツリーを定義します',
' * 一連のGitコマンドの最適な解答を入力します',
' * ```define goal```でゴールのコミットツリーを定義します(ゴールを定義するということは、解答を定義するということでもあります)',
' * オプションで```define hint```でヒントを定義します',
' * ```define name```で名前を編集します',
' * オプションで```edit dialog```で良い感じに開始時のダイアログを定義します',
' * ```finish```コマンドを打つことであなたのlevelがJSONで出力されます',
'',
'*Note: このダイアログは`help builder`で何回でも表示できます!活用してください!*'
]
}
}],
'ro': [{
type: "ModalAlert",
options: {
markdowns: [
"## Bun venit la constructorul de nivele!",
"",
"Iată pașii principali:",
"",
" * Configurați mediul inițial cu comenzi git",
" * Definiți arborele de start cu ```define start```",
" * Introduceți seria de comenzi git care compun soluția (optimă)",
" * Definiți arborele țintă cu ```define goal```. Definirea țintei definește și soluția",
" * Opțional, definiți un indiciu cu ```define hint```",
"Modificați numele cu ```define name```",
" * Opțional, puteți defini un dialog de start cu ```edit dialog```",
"Introduceți comanda ```finish``` pentru a obține nivelul dvs. în format JSON!",
],
}, },
], }],
de_DE: [ 'ru_RU': [{
{ type: 'ModalAlert',
type: "ModalAlert", options: {
options: { markdowns: [
markdowns: [ '## Добро пожаловать в конструктор уровней!',
"## Willkommen zum Level-Editor!", '',
"", 'Вот основные шаги:',
"So funktioniert's:", '',
"", ' * Настроить стартовое дерево при помощи команд git',
" * Stelle mit Git-Befehlen die Ausgangssituation her", ' * Обозначить старовое дерево при помощи ```define start```',
" * Leg den Startpunkt mit ```define start``` fest", ' * Ввести команды "оптимального" решения уровня',
" * Gib eine Abfolge von Git-Befehlen ein, welche die (optimale) Lösung darstellen", ' * Обозначить цель уровня при помощи ```define goal```. Одновременно обозначится решение.',
" * Leg den Ziel-Baum mit ```define goal``` fest. Damit markierst du den Endpunkt der Lösung", ' * По желанию, можно указать подсказку при помощи ```define hint```',
" * Gib einen Hinweis mittels ```define hint``` an, wenn du willst", ' * Указать название уровня при помощи ```define name```',
" * Änder den Namen mittels ```define name```", ' * По желанию, указать стартовое сообщение при помощи ```edit dialog```',
" * Wenn du magst, erstelle einen schönen Einführungsdialog mit ```edit dialog```", ' * Ввести ```finish``` и получить JSON с описанием уровня!'
" * Gib das Kommando ```finish``` ein, um dein Level als JSON auszugeben", ]
], }
}, }],
}, 'uk': [{
], type: 'ModalAlert',
zh_CN: [ options: {
{ markdowns: [
type: "ModalAlert", '## Ласкаво просимо до конструктора рівнів!',
options: { '',
markdowns: [ 'Ось основні кроки:',
"## 欢迎使用关卡生成器!", '',
"", ' * Налаштувати початкове середовище за допомогою команд git',
"关键步骤如下:", ' * Визначити стартове дерево за допомогою ```define start```',
"", ' * Ввести набір команд, що описують (оптимальний) розв’язок',
" * 用 Git 命令建立初始环境", ' * Визначити кінцеве дерево за допомогою ```define goal```. Одночасно це визначить розв’язок',
" * 用 ```define start``` 命令定义初始提交树", ' * Додатково можна задати підказку за допомогою ```define hint```',
" * 输入一系列 Git 命令作为(最佳)答案", ' * Редагувати назву рівня за допомогою ```define name```',
" * 用 ```define goal``` 命令定义目标提交树。定义目标的同时也定义了答案", ' * Додатково можна вказати файний початковий діалог за допомогою ```edit dialog```',
" * (选做)还可以用 ```define hint``` 命令定义提示", ' * Ввести команду ```finish``` й отримати JSON з описом рівня!'
" * 用 ```define name``` 命令设置关卡名称", ]
" * (选做)还可以用 ```edit dialog``` 定义一个漂亮的开始对话框", }
" * 用 ```finish``` 命令就可以输出你的关卡的JSON数据了", }],
], 'ko': [{
}, type: 'ModalAlert',
}, options: {
], markdowns: [
zh_TW: [ '## 레벨 생성기 입니다. 환영합니다!',
{ '',
type: "ModalAlert", 'Here are the main steps:',
options: { '',
markdowns: [ ' * git 명령어로 초기 환경을 만들어주세요',
"## 歡迎使用關卡編輯器!", ' * 시작 트리를 ```define start```로 정의하세요',
"", ' * (최적화된)정답을 만드는 git 명령어들을 입력하세요',
"主要步驟如下:", ' * 목표 트리를 ```define goal```로 정의해주세요. 목표를 정의하면 정답도 같이 정의됩니다',
"", ' * ```define hint```로 원하면 힌트도 정의해줄수 있습니다',
" * 使用 git 指令建立初始環境", ' * 문제의 이름을 ```define name```로 수정하세요',
" * 使用 ```define start``` 指令定義起始樹", ' * 시작 글이 필요하다면 ```edit dialog```로 쓸 수 있습니다',
" * 輸入一系列 git 命令,編好答案", ' * ```finish```로 여러분의 레벨을 JSON결과로 받을 수 있습니다!'
" * 使用 ```define goal``` 指令定義目標樹。定義目標的同時定義答案", ]
" * 還可以用 ```define hint``` 指令定義一個提示", }
" * 用 ```define name``` 修改名稱", }],
" * 還可以用 ```edit dialog``` 定義一個漂亮的開始對話視窗", 'vi': [{
" * 輸入 ```finish``` 即可將您的關卡輸出為 JSON", type: 'ModalAlert',
], options: {
}, markdowns: [
}, '## Chào mừng đến trình tạo cấp độ!',
], '',
es_AR: [ 'Có những bước chính sau:',
{ '',
type: "ModalAlert", ' * Khởi tạo môi trường với các lệnh git',
options: { ' * Định nghĩa cây để bắt đầu với ```define start```',
markdowns: [ ' * Nhập chuỗi lệnh git để tạo đáp án (tốt nhất) của bạn',
"## ¡Te damos la bienvenida al constructor de niveles!", ' * Đị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```',
"Estos son los pasos principales:", ' * 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```',
" * Prepará el entorno inicial usando comandos de Git", ' * Nhập lệnh ```finish``` xuất cấp độ của bạn dưới dạng JSON!'
" * Definí el árbol inicial con ```define start```", ]
" * 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", }],
" * Opcionalmente, definí pistas con ```define hint```", 'sl_SI': [{
" * Dale un nombre con ```define name```", type: 'ModalAlert',
" * Opcionalmente, definí un mensaje inicial con ```edit dialog```", options: {
" * ¡Ingresá el comando ```finish``` para obtener tu nivel en formato JSON!", markdowns: [
], '## Dobrodošel v graditelju stopenj!',
}, '',
}, 'Tu so glavni koraki:',
], '',
es_MX: [ ' * Postavi začetno stanje z git ukazi',
{ ' * Določi začetno drevo z ```define start```',
type: "ModalAlert", ' * Vnesi zaporedje ukazov, ki predstavljajo (najboljšo) rešitev',
options: { ' * Določi ciljno drevo z ```define goal```. Določanje cilja določi tudi rešitev',
markdowns: [ ' * Opcijsko določi namig z ```define hint```',
"## ¡Bienvenido al constructor de niveles!", ' * Uredi ime z ```define name```',
"", ' * Opcijsko določi ličen začetni dialog z ```edit dialog```',
"Estos son los pasos principales:", ' * Vnesi ukaz ```finish``` za ustvarjanje JSON različice tvoje stopnje!'
"", ]
" * Preparar el entorno inicial usando comandos de Git", }
" * Definir el árbol inicial con ```define start```", }],
" * Introducir la serie de comandos de git que representan la solución óptima", 'pl': [{
" * Crear el árbol objetivo con ```define goal```. El objetivo también determina la solución", type: 'ModalAlert',
" * Opcionalmente, crea pistas con ```define hint```", options: {
" * Dale un nombre con ```define name```", markdowns: [
" * Opcionalmente, crea un mensaje inicial con ```edit dialog```", '## Witamy w kreatorze poziomów!',
" * ¡Introduce el comando ```finish``` para obtener tu nivel en formato JSON!", '',
], 'Oto główne kroki:',
}, '',
}, ' * Przygotuj środowisko początkowe za pomocą poleceń GIT-a',
], ' * Zdefiniuj drzewo początkowe za pomocą ```define start```',
es_ES: [ ' * 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',
type: "ModalAlert", ' * Opcjonalnie utwórz podpowiedzi (wskazówkę) za pomocą ```define hint```',
options: { ' * Nadaj nazwę za pomocą ```define name```',
markdowns: [ ' * Opcjonalnie, utwórz wiadomość początkową za pomocą ```edit dialog```',
"## ¡Bienvenido al constructor de niveles!", ' * Wpisz polecenie ```finish```, aby wyświetlić swój poziom w JSON!'
"", ]
"Estos son los pasos principales:", }
"", }],
" * Prepara el entorno inicial usando comandos de Git", 'ta_IN': [{
" * Define el árbol inicial con ```define start```", type: 'ModalAlert',
" * Introduce la serie de comandos de git que representan la solución óptima", options: {
" * Crea el árbol objetivo con ```define goal```. El objetivo también determina la solución", markdowns: [
" * Opcionalmente, crea pistas con ```define hint```", '## நிலைகளை நிருவகிக்கும் கட்டமைப்பிற்க்கு வருக!',
" * Dale un nombre con ```define name```", '',
" * Opcionalmente, crea un mensaje inicial con ```edit dialog```", 'அடிப்படை நடைமுறைகள்:',
" * ¡Introduce el comando ```finish``` para obtener tu nivel en formato JSON!", '',
], ' * முதலாவதாக ஆரம்ப சூழலை git கட்டளைகள் கொன்டுகொன்டு அமைக்கவும்.',
}, ' * ```define start``` தொடக்க செயல் முறையை வரையறுக்கவும்.',
}, ' * உகந்த தீர்வினை அடையும் git கட்டளைகளின் தொடரை உள்ளிடவும்.',
], ' * ```define goal``` கொண்டு இலக்கினை அடையும் கிளை வரைமுரைகளை தீர்வுடன் அமைக்கவும்.',
pt_BR: [ ' * தேவை எனில் ```define hint``` கொண்டு உதவி குறிப்பை வரையறுக்கவும்.',
{ ' * ```define name``` கொண்டு பெயரைத் திருத்தவும்.',
type: "ModalAlert", ' * தேவை எனில் ```edit dialog``` கொண்டு ஒரு நல்ல முன்னுறையை வரையறுக்கவும்.',
options: { ' * ```finish``` கொண்டு இந்த நிலையின் JSON!-ஐ அச்சிடுக.'
markdowns: [ ]
"## Bem-vindo ao construtor de níveis!", }
"", }],
"Estes são os passos principais:", "it_IT": [
"",
" * Prepare o ambiente inicial usando comandos do Git",
" * Define a árvore inicial com ```define start```",
" * 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",
" * Opcionalmente, defina dicas com ```define hint```",
" * Dê um nome com ```define name```",
" * Opcionalmente, defina uma mensagem inicial com ```edit dialog```",
" * Digite o comando ```finish``` para obter seu nível em formato JSON!",
],
},
},
],
gl: [
{
type: "ModalAlert",
options: {
markdowns: [
"## Benvido ó constructor de niveis!",
"",
"Estes son os pasos principais:",
"",
" * Prepara o eido inicial usando comandos de Git",
" * Define a árbore inicial con ```define start```",
" * 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",
" * Opcionalmente, define axudas con ```define hint```",
" * Dalle un nome con ```define name```",
" * Opcionalmente, define unha mensaxe inicial con ```edit dialog```",
" * Escribe o comando ```finish``` para obter seu nivel en formato JSON!",
],
},
},
],
fr_FR: [
{
type: "ModalAlert",
options: {
markdowns: [
"## Bienvenue dans l'éditeur niveaux !",
"",
"Voici les étapes principales :",
"",
" * Mettez en place l'environnement initial avec des commandes git",
" * Définissez l'arbre de départ avec ```define start```",
" * 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",
" * Optionnellement, définissez un indice avec ```define hint```",
" * Changez le nom avec ```define name```",
" * Optionnellement, définissez un joli dialogue de départ avec ```edit dialog```",
" * Entrez la commande ```finish``` pour délivrer votre niveau JSON!",
],
},
},
],
ja: [
{
type: "ModalAlert",
options: {
markdowns: [
"## Levelエディタへようこそ!",
"",
"ここでは、以下の主にステップを踏みます:",
"",
" * Gitコマンドで初期設定をします",
" * ```define start```で開始時のコミットツリーを定義します",
" * 一連のGitコマンドの最適な解答を入力します",
" * ```define goal```でゴールのコミットツリーを定義します(ゴールを定義するということは、解答を定義するということでもあります)",
" * オプションで```define hint```でヒントを定義します",
" * ```define name```で名前を編集します",
" * オプションで```edit dialog```で良い感じに開始時のダイアログを定義します",
" * ```finish```コマンドを打つことであなたのlevelがJSONで出力されます",
"",
"*Note: このダイアログは`help builder`で何回でも表示できます!活用してください!*",
],
},
},
],
ro: [
{
type: "ModalAlert",
options: {
markdowns: [
"## Bun venit la constructorul de nivele!",
"",
"Iată pașii principali:",
"",
" * Configurați mediul inițial cu comenzi git",
" * Definiți arborele de start cu ```define start```",
" * Introduceți seria de comenzi git care compun soluția (optimă)",
" * Definiți arborele țintă cu ```define goal```. Definirea țintei definește și soluția",
" * Opțional, definiți un indiciu cu ```define hint```",
"Modificați numele cu ```define name```",
" * Opțional, puteți defini un dialog de start cu ```edit dialog```",
"Introduceți comanda ```finish``` pentru a obține nivelul dvs. în format JSON!",
],
},
},
],
ru_RU: [
{
type: "ModalAlert",
options: {
markdowns: [
"## Добро пожаловать в конструктор уровней!",
"",
"Вот основные шаги:",
"",
" * Настроить стартовое дерево при помощи команд git",
" * Обозначить старовое дерево при помощи ```define start```",
' * Ввести команды "оптимального" решения уровня',
" * Обозначить цель уровня при помощи ```define goal```. Одновременно обозначится решение.",
" * По желанию, можно указать подсказку при помощи ```define hint```",
" * Указать название уровня при помощи ```define name```",
" * По желанию, указать стартовое сообщение при помощи ```edit dialog```",
" * Ввести ```finish``` и получить JSON с описанием уровня!",
],
},
},
],
uk: [
{
type: "ModalAlert",
options: {
markdowns: [
"## Ласкаво просимо до конструктора рівнів!",
"",
"Ось основні кроки:",
"",
" * Налаштувати початкове середовище за допомогою команд git",
" * Визначити стартове дерево за допомогою ```define start```",
" * Ввести набір команд, що описують (оптимальний) розв’язок",
" * Визначити кінцеве дерево за допомогою ```define goal```. Одночасно це визначить розв’язок",
" * Додатково можна задати підказку за допомогою ```define hint```",
" * Редагувати назву рівня за допомогою ```define name```",
" * Додатково можна вказати файний початковий діалог за допомогою ```edit dialog```",
" * Ввести команду ```finish``` й отримати JSON з описом рівня!",
],
},
},
],
ko: [
{
type: "ModalAlert",
options: {
markdowns: [
"## 레벨 생성기 입니다. 환영합니다!",
"",
"Here are the main steps:",
"",
" * git 명령어로 초기 환경을 만들어주세요",
" * 시작 트리를 ```define start```로 정의하세요",
" * (최적화된)정답을 만드는 git 명령어들을 입력하세요",
" * 목표 트리를 ```define goal```로 정의해주세요. 목표를 정의하면 정답도 같이 정의됩니다",
" * ```define hint```로 원하면 힌트도 정의해줄수 있습니다",
" * 문제의 이름을 ```define name```로 수정하세요",
" * 시작 글이 필요하다면 ```edit dialog```로 쓸 수 있습니다",
" * ```finish```로 여러분의 레벨을 JSON결과로 받을 수 있습니다!",
],
},
},
],
vi: [
{
type: "ModalAlert",
options: {
markdowns: [
"## Chào mừng đến trình tạo cấp độ!",
"",
"Có những bước chính sau:",
"",
" * 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ậ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",
" * Có thể định nghĩa gợi ý với ```define hint```",
" * 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```",
" * Nhập lệnh ```finish``` xuất cấp độ của bạn dưới dạng JSON!",
],
},
},
],
sl_SI: [
{
type: "ModalAlert",
options: {
markdowns: [
"## Dobrodošel v graditelju stopenj!",
"",
"Tu so glavni koraki:",
"",
" * Postavi začetno stanje z git ukazi",
" * Določi začetno drevo z ```define start```",
" * Vnesi zaporedje ukazov, ki predstavljajo (najboljšo) rešitev",
" * Določi ciljno drevo z ```define goal```. Določanje cilja določi tudi rešitev",
" * Opcijsko določi namig z ```define hint```",
" * Uredi ime z ```define name```",
" * Opcijsko določi ličen začetni dialog z ```edit dialog```",
" * Vnesi ukaz ```finish``` za ustvarjanje JSON različice tvoje stopnje!",
],
},
},
],
pl: [
{
type: "ModalAlert",
options: {
markdowns: [
"## Witamy w kreatorze poziomów!",
"",
"Oto główne kroki:",
"",
" * Przygotuj środowisko początkowe za pomocą poleceń GIT-a",
" * Zdefiniuj drzewo początkowe za pomocą ```define start```",
" * 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",
" * Opcjonalnie utwórz podpowiedzi (wskazówkę) za pomocą ```define hint```",
" * Nadaj nazwę za pomocą ```define name```",
" * Opcjonalnie, utwórz wiadomość początkową za pomocą ```edit dialog```",
" * Wpisz polecenie ```finish```, aby wyświetlić swój poziom w JSON!",
],
},
},
],
ta_IN: [
{
type: "ModalAlert",
options: {
markdowns: [
"## நிலைகளை நிருவகிக்கும் கட்டமைப்பிற்க்கு வருக!",
"",
"அடிப்படை நடைமுறைகள்:",
"",
" * முதலாவதாக ஆரம்ப சூழலை git கட்டளைகள் கொன்டுகொன்டு அமைக்கவும்.",
" * ```define start``` தொடக்க செயல் முறையை வரையறுக்கவும்.",
" * உகந்த தீர்வினை அடையும் git கட்டளைகளின் தொடரை உள்ளிடவும்.",
" * ```define goal``` கொண்டு இலக்கினை அடையும் கிளை வரைமுரைகளை தீர்வுடன் அமைக்கவும்.",
" * தேவை எனில் ```define hint``` கொண்டு உதவி குறிப்பை வரையறுக்கவும்.",
" * ```define name``` கொண்டு பெயரைத் திருத்தவும்.",
" * தேவை எனில் ```edit dialog``` கொண்டு ஒரு நல்ல முன்னுறையை வரையறுக்கவும்.",
" * ```finish``` கொண்டு இந்த நிலையின் JSON!-ஐ அச்சிடுக.",
],
},
},
],
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': [{
], type: 'ModalAlert',
de_DE: [ options: {
{ markdowns: [
type: "ModalAlert", '## Super gemacht!!!',
options: { '',
markdowns: [ 'Du hast das Level mit *{numCommands}* Befehl(en) gelöst;',
"## Super gemacht!!!", 'unsere Lösung nutzt {best}.'
"", ]
"Du hast das Level mit *{numCommands}* Befehl(en) gelöst;", }
"unsere Lösung nutzt {best}.", }],
], 'ja': [{
}, type: 'ModalAlert',
}, options: {
], markdowns: [
ja: [ '## 完成!!!',
{ '',
type: "ModalAlert", 'あなたは*{numCommands}*回のコマンドでこの課題をクリアしました; ',
options: { '模範解答では{best}回です。',
markdowns: [ '',
"## 完成!!!", '模範解答は、右下の`?`メニューの`Solution`から見ることができます。'
"", ]
"あなたは*{numCommands}*回のコマンドでこの課題をクリアしました; ", }
"模範解答では{best}回です。", }],
"", 'zh_CN': [{
"模範解答は、右下の`?`メニューの`Solution`から見ることができます。", type: 'ModalAlert',
], options: {
}, markdowns: [
}, '## 好样的!!!',
], '',
zh_CN: [ '你用 *{numCommands}* 条命令通过了这一关;',
{ '我们的答案要用 {best} 条命令。'
type: "ModalAlert", ]
options: { }
markdowns: [ }],
"## 好样的!!!", 'zh_TW': [{
"", type: 'ModalAlert',
"你用 *{numCommands}* 条命令通过了这一关;", options: {
"我们的答案要用 {best} 条命令。", markdowns: [
], '## 太棒了!!!',
}, '',
}, '您用了 *{numCommands}* 個指令完成這一關,',
], '我們的解答用了 {best} 個。'
zh_TW: [ ]
{ }
type: "ModalAlert", }],
options: { 'es_AR': [{
markdowns: [ type: 'ModalAlert',
"## 太棒了!!!", options: {
"", markdowns: [
"您用了 *{numCommands}* 個指令完成這一關,", '## ¡Buen trabajo!!!',
"我們的解答用了 {best} 個。", '',
], 'Resolviste el nivel en *{numCommands}* comandos; ',
}, 'nuestra mejor solución usa {best}.'
}, ]
], }
es_AR: [ }],
{ '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_MX: [ type: 'ModalAlert',
{ options: {
type: "ModalAlert", markdowns: [
options: { '## ¡Buen trabajo!!!',
markdowns: [ '',
"## ¡Buen trabajo!!!", 'Resolviste el nivel en *{numCommands}* comandos; ',
"", 'nuestra mejor solución usa {best}.'
"Resolviste el nivel en *{numCommands}* comandos; ", ]
"nuestra mejor solución usa: {best}.", }
], }],
}, 'pt_BR': [{
}, type: 'ModalAlert',
], options: {
es_ES: [ markdowns: [
{ '## Bom trabalho!!!',
type: "ModalAlert", '',
options: { 'Você resolveu o nível usando *{numCommands}* comandos; ',
markdowns: [ 'nossa melhor solução usa {best}.'
"## ¡Buen trabajo!!!", ]
"", }
"Resolviste el nivel en *{numCommands}* comandos; ", }],
"nuestra mejor solución usa {best}.", 'gl': [{
], type: 'ModalAlert',
}, options: {
}, markdowns: [
], '## Bo traballo!!!',
pt_BR: [ '',
{ 'Resolviches o nivel empregando *{numCommands}* comandos; ',
type: "ModalAlert", 'a nosa mellor solución é en {best}.'
options: { ]
markdowns: [ }
"## Bom trabalho!!!", }],
"", 'fr_FR': [{
"Você resolveu o nível usando *{numCommands}* comandos; ", type: 'ModalAlert',
"nossa melhor solução usa {best}.", options: {
], markdowns: [
}, '## Beau Travail!!!',
}, '',
], 'Vous avez résolu le niveau en *{numCommands}* commande(s); ',
gl: [ 'notre solution le fait en {best}.'
{ ]
type: "ModalAlert", }
options: { }],
markdowns: [ 'ro': [
"## Bo traballo!!!",
"",
"Resolviches o nivel empregando *{numCommands}* comandos; ",
"a nosa mellor solución é en {best}.",
],
},
},
],
fr_FR: [
{
type: "ModalAlert",
options: {
markdowns: [
"## Beau Travail!!!",
"",
"Vous avez résolu le niveau en *{numCommands}* commande(s); ",
"notre solution le fait en {best}.",
],
},
},
],
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': [{
], type: 'ModalAlert',
uk: [ options: {
{ markdowns: [
type: "ModalAlert", '## Молодець!!!',
options: { '',
markdowns: [ 'Ти пройшов рівень. Кількість використаних команд \u2014 *{numCommands}*; ',
"## Молодець!!!", 'наш розв’язок складається з {best}.'
"", ]
"Ти пройшов рівень. Кількість використаних команд \u2014 *{numCommands}*; ", }
"наш розв’язок складається з {best}.", }],
], 'ko': [{
}, type: 'ModalAlert',
}, options: {
], markdowns: [
ko: [ '## 훌륭합니다!!!',
{ '',
type: "ModalAlert", '*{numCommands}*개의 명령으로 레벨을 통과했습니다; ',
options: { '모범 답안은 {best}개를 사용합니다.'
markdowns: [ ]
"## 훌륭합니다!!!", }
"", }],
"*{numCommands}*개의 명령으로 레벨을 통과했습니다; ", 'vi': [{
"모범 답안은 {best}개를 사용합니다.", type: 'ModalAlert',
], options: {
}, markdowns: [
}, '## Làm tốt lắm!!!',
], '',
vi: [ '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}.'
type: "ModalAlert", ]
options: { }
markdowns: [ }],
"## Làm tốt lắm!!!", 'sl_SI': [{
"", type: 'ModalAlert',
"Bạn hoàn thành cấp độ này với *{numCommands}* câu lệnh; ", options: {
"Đáp án của chúng tôi sử dụng {best}.", markdowns: [
], '## Dobro opravljeno!!!',
}, '',
}, 'Rešil si stopnjo z *{numCommands}* ukazi; ',
], 'naša rešitev uporabi {best}.'
sl_SI: [ ]
{ }
type: "ModalAlert", }],
options: { 'pl': [{
markdowns: [ type: 'ModalAlert',
"## Dobro opravljeno!!!", options: {
"", markdowns: [
"Rešil si stopnjo z *{numCommands}* ukazi; ", '## Dobra robota!!!',
"naša rešitev uporabi {best}.", '',
], 'Rozwiązałeś poziom używając *{numCommands}* poleceń/ia; ',
}, 'nasze rozwiązanie składa się z {best}.'
}, ]
], }
pl: [ }],
{ 'ta_IN': [{
type: "ModalAlert", type: 'ModalAlert',
options: { options: {
markdowns: [ markdowns: [
"## Dobra robota!!!", '## ஆக சிரந்த செயல்!!!',
"", '',
"Rozwiązałeś poziom używając *{numCommands}* poleceń/ia; ", 'நீங்கள் *{numCommands}* நிலைக்கான கட்டளை(கள்) கொண்டு தீர்வை அடிந்து விட்டீர்கள்; ',
"nasze rozwiązanie składa się z {best}.", 'நமது தீர்வு {best}-ஐ பயன்படுத்து கின்றது.'
], ]
}, }
}, }],
], "it_IT": [
ta_IN: [
{
type: "ModalAlert",
options: {
markdowns: [
"## ஆக சிரந்த செயல்!!!",
"",
"நீங்கள் *{numCommands}* நிலைக்கான கட்டளை(கள்) கொண்டு தீர்வை அடிந்து விட்டீர்கள்; ",
"நமது தீர்வு {best}-ஐ பயன்படுத்து கின்றது.",
],
},
},
],
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,37 +629,36 @@ 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: [
"## Bine ați venit la Learn Git Branching", "## Bine ați venit la Learn Git Branching",
"", "",
"Vrei să înveți Git? Atunci ai ajuns în locul potrivit! ", "Vrei să înveți Git? Atunci ai ajuns în locul potrivit! ",
'"Learn Git Branching" este cea mai vizuală și interactivă modalitate de a învăța Git ', '"Learn Git Branching" este cea mai vizuală și interactivă modalitate de a învăța Git ',
"pe web; vei fi provocat cu niveluri interesante, vei primi ", "pe web; vei fi provocat cu niveluri interesante, vei primi ",
"demonstrații pas cu pas ale funcțiilor puternice ale Git-ului și poate chiar te vei distra puțin pe parcurs.", "demonstrații pas cu pas ale funcțiilor puternice ale Git-ului și poate chiar te vei distra puțin pe parcurs.",
"", "",
"După acest dialog, vei vedea o varietate de niveluri pe care le avem de oferit. Dacă ești începător, ", "După acest dialog, vei vedea o varietate de niveluri pe care le avem de oferit. Dacă ești începător, ",
"poți începe cu primul nivel. Dacă deja cunoști câteva noțiuni de bază despre Git, ", "poți începe cu primul nivel. Dacă deja cunoști câteva noțiuni de bază despre Git, ",
"încercă unele dintre nivelurile noastre mai provocatoare de la final.", "încercă unele dintre nivelurile noastre mai provocatoare de la final.",
"", "",
"Poți vedea toate comenzile disponibile cu `show commands` în terminal.", "Poți vedea toate comenzile disponibile cu `show commands` în terminal.",
"", "",
"P.S. Vrei să ajungi direct în sandbox data viitoare?", "P.S. Vrei să ajungi direct în sandbox data viitoare?",
"Încearcă ", "Încearcă ",
"[acest link special](https://pcottle.github.io/learnGitBranching/?NODEMO)", "[acest link special](https://pcottle.github.io/learnGitBranching/?NODEMO)",
"", "",
"P.S.S. GitHub a început să numească ramura implicită `main` în loc de `master` ", "P.S.S. GitHub a început să numească ramura implicită `main` în loc de `master` ",
"pentru a migra de la terminologia învechită [(mai multe detalii disponibile aici)](https://github.com/github/renaming).", "pentru a migra de la terminologia învechită [(mai multe detalii disponibile aici)](https://github.com/github/renaming).",
"În conformitate cu acest demers la nivel de industrie, am actualizat și noi „Learn Git Branching” pentru ", "În conformitate cu acest demers la nivel de industrie, am actualizat și noi „Learn Git Branching” pentru ",
"a utiliza `main` în loc de `master` în lecțiile noastre. Această redenumire ar trebui să fie destul de consistentă deja, ", "a utiliza `main` în loc de `master` în lecțiile noastre. Această redenumire ar trebui să fie destul de consistentă deja, ",
"î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`",