#1108 - simplification of translation files (#1120)

Co-authored-by: Cory LaViska <cory@abeautifulsite.net>
pull/1128/head
xdev1 2023-01-10 23:33:23 +01:00 zatwierdzone przez GitHub
rodzic 60324885ed
commit 01a8ec36ec
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
18 zmienionych plików z 21 dodań i 84 usunięć

Wyświetl plik

@ -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;

Wyświetl plik

@ -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);

Wyświetl plik

@ -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`;

Wyświetl plik

@ -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'
};

Wyświetl plik

@ -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`;

Wyświetl plik

@ -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`;

Wyświetl plik

@ -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} گزینه انتخاب شده است`;

Wyświetl plik

@ -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`;

Wyświetl plik

@ -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} אפשרויות`;

Wyświetl plik

@ -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`;

Wyświetl plik

@ -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} つのオプションが選択されました`;

Wyświetl plik

@ -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`;

Wyświetl plik

@ -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`;

Wyświetl plik

@ -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`;

Wyświetl plik

@ -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} варианта`;

Wyświetl plik

@ -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`;

Wyświetl plik

@ -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`;

Wyświetl plik

@ -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} 選擇項目`;