From 662f9ea5064326a7c42207a4bf99bcd02dc2e990 Mon Sep 17 00:00:00 2001 From: "shigeru.nakajima" Date: Mon, 30 Nov 2026 20:23:04 +0900 Subject: [PATCH] Distinguish Windows shells in all Introduction translations --- problems/introduction/problem_es.md | 20 ++++++++++++++++---- problems/introduction/problem_fr.md | 18 ++++++++++++++---- problems/introduction/problem_it.md | 18 ++++++++++++++---- problems/introduction/problem_ko.md | 16 ++++++++++++---- problems/introduction/problem_nb-no.md | 18 ++++++++++++++---- problems/introduction/problem_nl.md | 20 +++++++++++++++----- problems/introduction/problem_pt-br.md | 17 ++++++++++++++--- problems/introduction/problem_ru.md | 18 ++++++++++++++---- problems/introduction/problem_uk.md | 18 ++++++++++++++---- problems/introduction/problem_zh-cn.md | 22 ++++++++++++++++++++-- problems/introduction/problem_zh-tw.md | 22 ++++++++++++++++++++-- 11 files changed, 167 insertions(+), 40 deletions(-) diff --git a/problems/introduction/problem_es.md b/problems/introduction/problem_es.md index 8e0a2cae..bfbca24d 100644 --- a/problems/introduction/problem_es.md +++ b/problems/introduction/problem_es.md @@ -12,15 +12,27 @@ Cambia de directorio a la carpeta que acabas de crear: cd javascripting ``` -Crea un archivo llamado `introduction.js` utilizando: +Crea un archivo llamado `introduction.js`. + +En macOS o Linux: + ```bash touch introduction.js ``` -, o si utilizas Windows -```bash + +En Windows PowerShell: + +```powershell +New-Item introduction.js -ItemType File +``` + +En el símbolo del sistema de Windows (`cmd.exe`): + +```bat type NUL > introduction.js ``` -(`type` es parte del comando!) + +También puedes crear el archivo en tu editor de texto. Guárdalo con la codificación UTF-8. Agrega el siguiente texto al archivo: diff --git a/problems/introduction/problem_fr.md b/problems/introduction/problem_fr.md index 27153e78..f3974b78 100644 --- a/problems/introduction/problem_fr.md +++ b/problems/introduction/problem_fr.md @@ -12,17 +12,27 @@ Allez dans le dossier `javascripting` avec cette commande : cd javascripting ``` -Créez un fichier nommé `introduction.js` : +Créez un fichier nommé `introduction.js`. + +Sous macOS ou Linux : ```bash touch introduction.js ``` -ou si vous êtes sur Windows : -```bash +Dans Windows PowerShell : + +```powershell +New-Item introduction.js -ItemType File +``` + +Dans l’invite de commandes Windows (`cmd.exe`) : + +```bat type NUL > introduction.js ``` -( `type` fait partie de la commande ! ) + +Vous pouvez aussi créer le fichier dans votre éditeur de texte. Enregistrez-le en UTF-8. Ouvrez le fichier dans votre éditeur favori, et ajoutez ce texte : diff --git a/problems/introduction/problem_it.md b/problems/introduction/problem_it.md index 4db1108a..1a9146df 100644 --- a/problems/introduction/problem_it.md +++ b/problems/introduction/problem_it.md @@ -12,17 +12,27 @@ Cambia la directory di lavoro con la directory `javascripting`: cd javascripting ``` -Crea un file dal nome `introduction.js`: +Crea un file chiamato `introduction.js`. + +Su macOS o Linux: ```bash touch introduction.js ``` -oppure, se ti trovi su Windows, -```bash +In Windows PowerShell: + +```powershell +New-Item introduction.js -ItemType File +``` + +Nel prompt dei comandi di Windows (`cmd.exe`): + +```bat type NUL > introduction.js ``` -(`type` è parte del comando!) + +Puoi anche creare il file nel tuo editor di testo. Salvalo con la codifica UTF-8. Apri il file nel tuo editor preferito, e aggiungi questo testo: diff --git a/problems/introduction/problem_ko.md b/problems/introduction/problem_ko.md index c9425698..afc163b3 100644 --- a/problems/introduction/problem_ko.md +++ b/problems/introduction/problem_ko.md @@ -12,19 +12,27 @@ cd javascripting 을 통해 `javascripting` 폴더 안으로 디렉터리를 변경하세요. +`introduction.js` 파일을 만드세요. + +macOS 또는 Linux에서: + ```bash touch introduction.js ``` -를 입력해 `introduction.js`이라는 파일을 만드세요. +Windows PowerShell에서: -윈도우라면 +```powershell +New-Item introduction.js -ItemType File +``` -```bash +Windows 명령 프롬프트(`cmd.exe`)에서: + +```bat type NUL > introduction.js ``` -(`type`도 명령어의 일부입니다!)로 만들 수 있습니다. +텍스트 편집기에서 직접 파일을 만들어도 됩니다. 파일을 UTF-8로 저장하세요. 좋아하는 편집기에서 파일을 열고 다음 내용을 넣으세요. diff --git a/problems/introduction/problem_nb-no.md b/problems/introduction/problem_nb-no.md index 44cbb8b8..0efc266f 100644 --- a/problems/introduction/problem_nb-no.md +++ b/problems/introduction/problem_nb-no.md @@ -12,17 +12,27 @@ Bytt til `javascripting` katalogen: cd javascripting ``` -Lag en fil som heter `introduction.js`: +Lag en fil som heter `introduction.js`. + +På macOS eller Linux: ```bash touch introduction.js ``` - eller hvis du bruker Windows, -```bash +I Windows PowerShell: + +```powershell +New-Item introduction.js -ItemType File +``` + +I ledeteksten i Windows (`cmd.exe`): + +```bat type NUL > introduction.js ``` -(`type` er en del av kommandoen!) + +Du kan også opprette fila direkte i et tekstredigeringsprogram. Lagre den med UTF-8-koding. Åpne filen i din favoritt editor og legg til følgende tekst: diff --git a/problems/introduction/problem_nl.md b/problems/introduction/problem_nl.md index bed9c0f8..77286a40 100755 --- a/problems/introduction/problem_nl.md +++ b/problems/introduction/problem_nl.md @@ -12,19 +12,29 @@ Ga nu naar de `javascripting` folder: cd javascripting ``` -Maak een nieuw bestand met de naam `introduction.js`: +Maak een bestand met de naam `introduction.js`. + +Op macOS of Linux: ```bash touch introduction.js ``` -Of, als je op Windows werkt: -```bash +In Windows PowerShell: + +```powershell +New-Item introduction.js -ItemType File +``` + +In de Windows-opdrachtprompt (`cmd.exe`): + +```bat type NUL > introduction.js ``` -(`type` is deel van het commando!) -Open thet bestand in je favoriete editor en voeg deze tekst toe: +Je kunt het bestand ook rechtstreeks in je teksteditor maken. Sla het op met de tekencodering UTF-8. + +Open het bestand in je favoriete editor en voeg deze tekst toe: ```js console.log('hello') diff --git a/problems/introduction/problem_pt-br.md b/problems/introduction/problem_pt-br.md index 85ce3335..daae4366 100644 --- a/problems/introduction/problem_pt-br.md +++ b/problems/introduction/problem_pt-br.md @@ -12,17 +12,28 @@ Mude o diretório do console para a pasta que você acabou de criar: cd javascripting ``` -Crie um arquivo chamado `introduction.js`: +Crie um arquivo chamado `introduction.js`. + +No macOS ou no Linux: ```bash touch introduction.js ``` - ou se você estiver no Windows execute o comando: -```bash +No Windows PowerShell: + +```powershell +New-Item introduction.js -ItemType File +``` + +No Prompt de Comando do Windows (`cmd.exe`): + +```bat type NUL > introduction.js ``` +Você também pode criar o arquivo diretamente no seu editor de texto. Salve-o com a codificação UTF-8. + Abra o arquivo no seu editor favorito, e adicione este texto: ```js diff --git a/problems/introduction/problem_ru.md b/problems/introduction/problem_ru.md index 984fc782..e47b325d 100644 --- a/problems/introduction/problem_ru.md +++ b/problems/introduction/problem_ru.md @@ -12,17 +12,27 @@ mkdir javascripting cd javascripting ``` -Создайте файл `introduction.js`: +Создайте файл `introduction.js`. + +В macOS или Linux: ```bash touch introduction.js ``` -или, если у вас Windows, -```bash +В Windows PowerShell: + +```powershell +New-Item introduction.js -ItemType File +``` + +В командной строке Windows (`cmd.exe`): + +```bat type NUL > introduction.js ``` -(`type` это тоже часть команды!) + +Файл также можно создать в текстовом редакторе. Сохраните его в кодировке UTF-8. Откройте этот файл в вашем любимом редакторе и добавьте следующий текст: diff --git a/problems/introduction/problem_uk.md b/problems/introduction/problem_uk.md index 2083c3db..cb17b790 100644 --- a/problems/introduction/problem_uk.md +++ b/problems/introduction/problem_uk.md @@ -12,17 +12,27 @@ mkdir javascripting cd javascripting ``` -Створіть файл `introduction.js`: +Створіть файл `introduction.js`. + +У macOS або Linux: ```bash touch introduction.js ``` - або якщо ви на Windows, -```bash +У Windows PowerShell: + +```powershell +New-Item introduction.js -ItemType File +``` + +У командному рядку Windows (`cmd.exe`): + +```bat type NUL > introduction.js ``` - (`type` це частина команди!) + +Файл також можна створити в текстовому редакторі. Збережіть його в кодуванні UTF-8. Відкрийте файл у вашому улюбленому текстовому редакторі та додайте цей текст: diff --git a/problems/introduction/problem_zh-cn.md b/problems/introduction/problem_zh-cn.md index 6311c4f9..ff57d0e5 100644 --- a/problems/introduction/problem_zh-cn.md +++ b/problems/introduction/problem_zh-cn.md @@ -12,9 +12,27 @@ mkdir javascripting cd javascripting ``` -创建一个名为 `introduction.js` 的文件: +创建一个名为 `introduction.js` 的文件。 -非 Windows 用户,请执行 `touch introduction.js`;Windows 用户,请执行 `type NUL > introduction.js`(注意,`type` 也是这个命令的一部分!) +在 macOS 或 Linux 中: + +```bash +touch introduction.js +``` + +在 Windows PowerShell 中: + +```powershell +New-Item introduction.js -ItemType File +``` + +在 Windows 命令提示符(`cmd.exe`)中: + +```bat +type NUL > introduction.js +``` + +你也可以直接在文本编辑器中创建文件。请使用 UTF-8 编码保存。 使用你最喜欢的编辑器,打开这个文件,然后将下面这行加入到文件中: diff --git a/problems/introduction/problem_zh-tw.md b/problems/introduction/problem_zh-tw.md index ff7f0d36..255bd627 100644 --- a/problems/introduction/problem_zh-tw.md +++ b/problems/introduction/problem_zh-tw.md @@ -12,9 +12,27 @@ mkdir javascripting cd javascripting ``` -建立一個名為 `introduction.js` 的檔案: +建立一個名為 `introduction.js` 的檔案。 -非 Windows 用戶,請執行 `touch introduction.js`;Windows 用戶,請執行 `type NUL > introduction.js`(注意,`type` 也是這個命令的一部分!) +在 macOS 或 Linux 中: + +```bash +touch introduction.js +``` + +在 Windows PowerShell 中: + +```powershell +New-Item introduction.js -ItemType File +``` + +在 Windows 命令提示字元(`cmd.exe`)中: + +```bat +type NUL > introduction.js +``` + +你也可以直接在文字編輯器中建立檔案。請使用 UTF-8 編碼儲存。 使用你最喜歡的編輯器,打開這個檔案,然後將下面這行程式碼加入到檔案中: