kopia lustrzana https://github.com/shoelace-style/shoelace
Co-authored-by: Cory LaViska <cory@abeautifulsite.net>pull/1128/head
rodzic
60324885ed
commit
01a8ec36ec
|
|
@ -1,32 +0,0 @@
|
|||
import { registerTranslation } from '../utilities/localize';
|
||||
import type { Translation } from '../utilities/localize';
|
||||
|
||||
const translation: Translation = {
|
||||
$code: 'de-AT',
|
||||
$name: 'Deutsch (Österreich)',
|
||||
$dir: 'ltr',
|
||||
|
||||
clearEntry: 'Eingabe löschen',
|
||||
close: 'Schließen',
|
||||
copy: 'Kopieren',
|
||||
numOptionsSelected: (num: number) => {
|
||||
if (num === 0) return 'Keine Optionen ausgewählt';
|
||||
if (num === 1) return '1 Option ausgewählt';
|
||||
return `${num} Optionen ausgewählt`;
|
||||
},
|
||||
currentValue: 'Aktueller Wert',
|
||||
hidePassword: 'Passwort verbergen',
|
||||
loading: 'Wird geladen',
|
||||
progress: 'Fortschritt',
|
||||
remove: 'Entfernen',
|
||||
resize: 'Größe ändern',
|
||||
scrollToEnd: 'Zum Ende scrollen',
|
||||
scrollToStart: 'Zum Anfang scrollen',
|
||||
selectAColorFromTheScreen: 'Wähle eine Farbe vom Bildschirm',
|
||||
showPassword: 'Passwort anzeigen',
|
||||
toggleColorFormat: 'Farbformat umschalten'
|
||||
};
|
||||
|
||||
registerTranslation(translation);
|
||||
|
||||
export default translation;
|
||||
|
|
@ -1,30 +1,14 @@
|
|||
import { registerTranslation } from '../utilities/localize';
|
||||
import baseTranslation from './de';
|
||||
import type { Translation } from '../utilities/localize';
|
||||
|
||||
const translation: Translation = {
|
||||
...baseTranslation,
|
||||
$code: 'de-CH',
|
||||
$name: 'Deutsch (Schweiz)',
|
||||
$dir: 'ltr',
|
||||
|
||||
clearEntry: 'Eingabe löschen',
|
||||
close: 'Schliessen',
|
||||
copy: 'Kopieren',
|
||||
numOptionsSelected: (num: number) => {
|
||||
if (num === 0) return 'Keine Optionen ausgewählt';
|
||||
if (num === 1) return '1 Option ausgewählt';
|
||||
return `${num} Optionen ausgewählt`;
|
||||
},
|
||||
currentValue: 'Aktueller Wert',
|
||||
hidePassword: 'Passwort verbergen',
|
||||
loading: 'Wird geladen',
|
||||
progress: 'Fortschritt',
|
||||
remove: 'Entfernen',
|
||||
resize: 'Grösse ändern',
|
||||
scrollToEnd: 'Zum Ende scrollen',
|
||||
scrollToStart: 'Zum Anfang scrollen',
|
||||
selectAColorFromTheScreen: 'Wähle eine Farbe vom Bildschirm',
|
||||
showPassword: 'Passwort anzeigen',
|
||||
toggleColorFormat: 'Farbformat umschalten'
|
||||
resize: 'Grösse ändern'
|
||||
};
|
||||
|
||||
registerTranslation(translation);
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ const translation: Translation = {
|
|||
clearEntry: 'Eingabe löschen',
|
||||
close: 'Schließen',
|
||||
copy: 'Kopieren',
|
||||
numOptionsSelected: (num: number) => {
|
||||
numOptionsSelected: num => {
|
||||
if (num === 0) return 'Keine Optionen ausgewählt';
|
||||
if (num === 1) return '1 Option ausgewählt';
|
||||
return `${num} Optionen ausgewählt`;
|
||||
|
|
|
|||
|
|
@ -1,29 +1,14 @@
|
|||
// cSpell:language en-GB
|
||||
import { registerTranslation } from '../utilities/localize';
|
||||
import baseTranslation from './en';
|
||||
import type { Translation } from '../utilities/localize';
|
||||
|
||||
const translation: Translation = {
|
||||
...baseTranslation,
|
||||
$code: 'en-GB',
|
||||
$name: 'English (United Kingdom)',
|
||||
$dir: 'ltr',
|
||||
|
||||
clearEntry: 'Clear entry',
|
||||
close: 'Close',
|
||||
copy: 'Copy',
|
||||
numOptionsSelected: (num: number) => {
|
||||
if (num === 0) return 'No options selected';
|
||||
if (num === 1) return '1 option selected';
|
||||
return `${num} options selected`;
|
||||
},
|
||||
currentValue: 'Current value',
|
||||
hidePassword: 'Hide password',
|
||||
loading: 'Loading',
|
||||
progress: 'Progress',
|
||||
remove: 'Remove',
|
||||
resize: 'Resize',
|
||||
scrollToEnd: 'Scroll to end',
|
||||
scrollToStart: 'Scroll to start',
|
||||
selectAColorFromTheScreen: 'Select a colour from the screen',
|
||||
showPassword: 'Show password',
|
||||
toggleColorFormat: 'Toggle colour format'
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ const translation: Translation = {
|
|||
clearEntry: 'Clear entry',
|
||||
close: 'Close',
|
||||
copy: 'Copy',
|
||||
numOptionsSelected: (num: number) => {
|
||||
numOptionsSelected: num => {
|
||||
if (num === 0) return 'No options selected';
|
||||
if (num === 1) return '1 option selected';
|
||||
return `${num} options selected`;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ const translation: Translation = {
|
|||
clearEntry: 'Borrar entrada',
|
||||
close: 'Cerrar',
|
||||
copy: 'Copiar',
|
||||
numOptionsSelected: (num: number) => {
|
||||
numOptionsSelected: num => {
|
||||
if (num === 0) return 'No hay opciones seleccionadas';
|
||||
if (num === 1) return '1 opción seleccionada';
|
||||
return `${num} opción seleccionada`;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ const translation: Translation = {
|
|||
clearEntry: 'پاک کردن ورودی',
|
||||
close: 'بستن',
|
||||
copy: 'رونوشت',
|
||||
numOptionsSelected: (num: number) => {
|
||||
numOptionsSelected: num => {
|
||||
if (num === 0) return 'هیچ گزینه ای انتخاب نشده است';
|
||||
if (num === 1) return '1 گزینه انتخاب شده است';
|
||||
return `${num} گزینه انتخاب شده است`;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ const translation: Translation = {
|
|||
clearEntry: `Effacer l'entrée`,
|
||||
close: 'Fermer',
|
||||
copy: 'Copier',
|
||||
numOptionsSelected: (num: number) => {
|
||||
numOptionsSelected: num => {
|
||||
if (num === 0) return 'Aucune option sélectionnée';
|
||||
if (num === 1) return '1 option sélectionnée';
|
||||
return `${num} options sélectionnées`;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ const translation: Translation = {
|
|||
clearEntry: 'נקה קלט',
|
||||
close: 'סגור',
|
||||
copy: 'העתק',
|
||||
numOptionsSelected: (num: number) => {
|
||||
numOptionsSelected: num => {
|
||||
if (num === 0) return 'לא נבחרו אפשרויות';
|
||||
if (num === 1) return 'נבחרה אפשרות אחת';
|
||||
return `נבחרו ${num} אפשרויות`;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ const translation: Translation = {
|
|||
clearEntry: 'Bejegyzés törlése',
|
||||
close: 'Bezárás',
|
||||
copy: 'Másolás',
|
||||
numOptionsSelected: (num: number) => {
|
||||
numOptionsSelected: num => {
|
||||
if (num === 0) return 'Nincsenek kiválasztva opciók';
|
||||
if (num === 1) return '1 lehetőség kiválasztva';
|
||||
return `${num} lehetőség kiválasztva`;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ const translation: Translation = {
|
|||
clearEntry: 'クリアエントリ',
|
||||
close: '閉じる',
|
||||
copy: 'コピー',
|
||||
numOptionsSelected: (num: number) => {
|
||||
numOptionsSelected: num => {
|
||||
if (num === 0) return 'オプションが選択されていません';
|
||||
if (num === 1) return '1 つのオプションが選択されました';
|
||||
return `${num} つのオプションが選択されました`;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ const translation: Translation = {
|
|||
clearEntry: 'Invoer wissen',
|
||||
close: 'Sluiten',
|
||||
copy: 'Kopiëren',
|
||||
numOptionsSelected: (num: number) => {
|
||||
numOptionsSelected: num => {
|
||||
if (num === 0) return 'Geen optie geselecteerd';
|
||||
if (num === 1) return '1 optie geselecteerd';
|
||||
return `${num} opties geselecteerd`;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ const translation: Translation = {
|
|||
clearEntry: 'Wyczyść wpis',
|
||||
close: 'Zamknij',
|
||||
copy: 'Kopiuj',
|
||||
numOptionsSelected: (num: number) => {
|
||||
numOptionsSelected: num => {
|
||||
if (num === 0) return 'Nie wybrano opcji';
|
||||
if (num === 1) return 'Wybrano 1 opcję';
|
||||
return `Wybrano ${num} opcje`;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ const translation: Translation = {
|
|||
clearEntry: 'Limpar entrada',
|
||||
close: 'Fechar',
|
||||
copy: 'Copiar',
|
||||
numOptionsSelected: (num: number) => {
|
||||
numOptionsSelected: num => {
|
||||
if (num === 0) return 'Nenhuma opção selecionada';
|
||||
if (num === 1) return '1 opção selecionada';
|
||||
return `${num} opções selecionadas`;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ const translation: Translation = {
|
|||
clearEntry: 'Очистить запись',
|
||||
close: 'Закрыть',
|
||||
copy: 'Скопировать',
|
||||
numOptionsSelected: (num: number) => {
|
||||
numOptionsSelected: num => {
|
||||
if (num === 0) return 'выбрано 0 вариантов';
|
||||
if (num === 1) return 'Выбран 1 вариант';
|
||||
return `выбрано ${num} варианта`;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ const translation: Translation = {
|
|||
clearEntry: 'Återställ val',
|
||||
close: 'Stäng',
|
||||
copy: 'Kopiera',
|
||||
numOptionsSelected: (num: number) => {
|
||||
numOptionsSelected: num => {
|
||||
if (num === 0) return 'Inga alternativ har valts';
|
||||
if (num === 1) return '1 alternativ valt';
|
||||
return `${num} alternativ valda`;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ const translation: Translation = {
|
|||
clearEntry: 'Girişi sil',
|
||||
close: 'Kapat',
|
||||
copy: 'Kopya',
|
||||
numOptionsSelected: (num: number) => {
|
||||
numOptionsSelected: num => {
|
||||
if (num === 0) return 'Hiçbir seçenek seçilmedi';
|
||||
if (num === 1) return '1 seçenek seçildi';
|
||||
return `${num} seçenek seçildi`;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ const translation: Translation = {
|
|||
clearEntry: '清空',
|
||||
close: '關閉',
|
||||
copy: '複製',
|
||||
numOptionsSelected: (num: number) => {
|
||||
numOptionsSelected: num => {
|
||||
if (num === 0) return '未選擇任何項目';
|
||||
if (num === 1) return '已選擇 1 個項目';
|
||||
return `${num} 選擇項目`;
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue