From ecfc2c474575c6cdbc6d273c94c13181bd1dbaa6 Mon Sep 17 00:00:00 2001 From: Mael Le Guen Date: Thu, 20 Feb 2020 19:54:44 +0100 Subject: [PATCH] fix(locales): remove extra space in French for 'default' (#1564) --- lib/usage.js | 2 +- locales/be.json | 1 + locales/de.json | 1 + locales/en.json | 1 + locales/es.json | 1 + locales/fi.json | 1 + locales/fr.json | 1 + locales/hi.json | 1 + locales/hu.json | 1 + locales/id.json | 1 + locales/it.json | 1 + locales/ja.json | 1 + locales/ko.json | 1 + locales/nb.json | 1 + locales/nl.json | 1 + locales/nn.json | 1 + locales/pl.json | 1 + locales/pt.json | 1 + locales/ru.json | 1 + locales/th.json | 1 + locales/tr.json | 1 + locales/zh_CN.json | 1 + locales/zh_TW.json | 1 + 23 files changed, 23 insertions(+), 1 deletion(-) diff --git a/lib/usage.js b/lib/usage.js index 02ddb030a..4ad140e1d 100644 --- a/lib/usage.js +++ b/lib/usage.js @@ -221,7 +221,7 @@ module.exports = function usage (yargs, y18n) { { text: command[1] } ) const hints = [] - if (command[2]) hints.push(`[${__('default:').slice(0, -1)}]`) // TODO hacking around i18n here + if (command[2]) hints.push(`[${__('default')}]`) if (command[3] && command[3].length) { hints.push(`[${__('aliases:')} ${command[3].join(', ')}]`) } diff --git a/locales/be.json b/locales/be.json index 332ef0a07..e28fa3013 100644 --- a/locales/be.json +++ b/locales/be.json @@ -8,6 +8,7 @@ "number": "лік", "array": "масіў", "required": "неабходна", + "default": "па змаўчанні", "default:": "па змаўчанні:", "choices:": "магчымасці:", "aliases:": "аліасы:", diff --git a/locales/de.json b/locales/de.json index 8551e348d..dc73ec3f0 100644 --- a/locales/de.json +++ b/locales/de.json @@ -8,6 +8,7 @@ "number": "Zahl", "array": "array", "required": "erforderlich", + "default": "Standard", "default:": "Standard:", "choices:": "Möglichkeiten:", "aliases:": "Aliase:", diff --git a/locales/en.json b/locales/en.json index a03c1388b..32586becc 100644 --- a/locales/en.json +++ b/locales/en.json @@ -8,6 +8,7 @@ "number": "number", "array": "array", "required": "required", + "default": "default", "default:": "default:", "choices:": "choices:", "aliases:": "aliases:", diff --git a/locales/es.json b/locales/es.json index 631a45c67..d77b4616a 100644 --- a/locales/es.json +++ b/locales/es.json @@ -8,6 +8,7 @@ "number": "número", "array": "tabla", "required": "requerido", + "default": "defecto", "default:": "defecto:", "choices:": "selección:", "aliases:": "alias:", diff --git a/locales/fi.json b/locales/fi.json index e65beee80..0728c5784 100644 --- a/locales/fi.json +++ b/locales/fi.json @@ -8,6 +8,7 @@ "number": "numero", "array": "taulukko", "required": "pakollinen", + "default": "oletusarvo", "default:": "oletusarvo:", "choices:": "vaihtoehdot:", "aliases:": "aliakset:", diff --git a/locales/fr.json b/locales/fr.json index 82b3df401..ac84f391d 100644 --- a/locales/fr.json +++ b/locales/fr.json @@ -8,6 +8,7 @@ "number": "nombre", "array": "tableau", "required": "requis", + "default": "défaut", "default:": "défaut :", "choices:": "choix :", "aliases:": "alias :", diff --git a/locales/hi.json b/locales/hi.json index 021f005f8..a9de77cce 100644 --- a/locales/hi.json +++ b/locales/hi.json @@ -8,6 +8,7 @@ "number": "अंक", "array": "सरणी", "required": "आवश्यक", + "default": "डिफॉल्ट", "default:": "डिफॉल्ट:", "choices:": "विकल्प:", "aliases:": "उपनाम:", diff --git a/locales/hu.json b/locales/hu.json index 1ddad5cc9..21492d05a 100644 --- a/locales/hu.json +++ b/locales/hu.json @@ -8,6 +8,7 @@ "number": "szám", "array": "tömb", "required": "kötelező", + "default": "alapértelmezett", "default:": "alapértelmezett:", "choices:": "lehetőségek:", "aliases:": "aliaszok:", diff --git a/locales/id.json b/locales/id.json index 075857e34..125867cbb 100644 --- a/locales/id.json +++ b/locales/id.json @@ -9,6 +9,7 @@ "string": "string", "array": "larik", "required": "diperlukan", + "default": "bawaan", "default:": "bawaan:", "aliases:": "istilah lain:", "choices:": "pilihan:", diff --git a/locales/it.json b/locales/it.json index ae61cc4a7..fde575618 100644 --- a/locales/it.json +++ b/locales/it.json @@ -8,6 +8,7 @@ "number": "numero", "array": "vettore", "required": "richiesto", + "default": "predefinito", "default:": "predefinito:", "choices:": "scelte:", "aliases:": "alias:", diff --git a/locales/ja.json b/locales/ja.json index f7c96eedc..c01c3a66f 100644 --- a/locales/ja.json +++ b/locales/ja.json @@ -8,6 +8,7 @@ "number": "数値", "array": "配列", "required": "必須", + "default": "デフォルト", "default:": "デフォルト:", "choices:": "選択してください:", "aliases:": "エイリアス:", diff --git a/locales/ko.json b/locales/ko.json index a56fde92b..e3187eafd 100644 --- a/locales/ko.json +++ b/locales/ko.json @@ -8,6 +8,7 @@ "number": "숫자", "array": "배열", "required": "필수", + "default": "기본", "default:": "기본:", "choices:": "선택:", "aliases:": "별칭:", diff --git a/locales/nb.json b/locales/nb.json index 7d5f73e9d..6f410ed09 100644 --- a/locales/nb.json +++ b/locales/nb.json @@ -8,6 +8,7 @@ "number": "nummer", "array": "matrise", "required": "obligatorisk", + "default": "standard", "default:": "standard:", "choices:": "valg:", "generated-value": "generert-verdi", diff --git a/locales/nl.json b/locales/nl.json index b42a323a9..9ff95c559 100644 --- a/locales/nl.json +++ b/locales/nl.json @@ -8,6 +8,7 @@ "number": "getal", "array": "lijst", "required": "verplicht", + "default": "standaard", "default:": "standaard:", "choices:": "keuzes:", "aliases:": "aliassen:", diff --git a/locales/nn.json b/locales/nn.json index 545c0641d..24479ac94 100644 --- a/locales/nn.json +++ b/locales/nn.json @@ -8,6 +8,7 @@ "number": "nummer", "array": "matrise", "required": "obligatorisk", + "default": "standard", "default:": "standard:", "choices:": "val:", "generated-value": "generert-verdi", diff --git a/locales/pl.json b/locales/pl.json index 5f6c578e0..a41d4bd50 100644 --- a/locales/pl.json +++ b/locales/pl.json @@ -8,6 +8,7 @@ "number": "liczba", "array": "tablica", "required": "wymagany", + "default": "domyślny", "default:": "domyślny:", "choices:": "dostępne:", "aliases:": "aliasy:", diff --git a/locales/pt.json b/locales/pt.json index 78da747b1..0c8ac99c8 100644 --- a/locales/pt.json +++ b/locales/pt.json @@ -8,6 +8,7 @@ "number": "número", "array": "arranjo", "required": "requerido", + "default": "padrão", "default:": "padrão:", "choices:": "escolhas:", "generated-value": "valor-gerado", diff --git a/locales/ru.json b/locales/ru.json index c9001d1e9..5f7f76810 100644 --- a/locales/ru.json +++ b/locales/ru.json @@ -8,6 +8,7 @@ "number": "число", "array": "массив", "required": "необходимо", + "default": "по умолчанию", "default:": "по умолчанию:", "choices:": "возможности:", "aliases:": "алиасы:", diff --git a/locales/th.json b/locales/th.json index 250298beb..33b048e2a 100644 --- a/locales/th.json +++ b/locales/th.json @@ -8,6 +8,7 @@ "number": "ตัวเลข", "array": "อาเรย์", "required": "จำเป็น", + "default": "ค่าเริ่มต้", "default:": "ค่าเริ่มต้น", "choices:": "ตัวเลือก", "aliases:": "เอเลียส", diff --git a/locales/tr.json b/locales/tr.json index b9ad65f0e..0d0d2ccd8 100644 --- a/locales/tr.json +++ b/locales/tr.json @@ -8,6 +8,7 @@ "number": "numara", "array": "array", "required": "zorunlu", + "default": "varsayılan", "default:": "varsayılan:", "choices:": "seçimler:", "aliases:": "takma adlar:", diff --git a/locales/zh_CN.json b/locales/zh_CN.json index 4872a0954..257d26bab 100644 --- a/locales/zh_CN.json +++ b/locales/zh_CN.json @@ -8,6 +8,7 @@ "number": "数字", "array": "数组", "required": "必需", + "default": "默认值", "default:": "默认值:", "choices:": "可选值:", "generated-value": "生成的值", diff --git a/locales/zh_TW.json b/locales/zh_TW.json index c41a517d9..e3c7bcf4e 100644 --- a/locales/zh_TW.json +++ b/locales/zh_TW.json @@ -8,6 +8,7 @@ "number": "數字", "array": "陣列", "required": "必須", + "default": "預設值", "default:": "預設值:", "choices:": "可選值:", "aliases:": "別名:",