mirror of
https://github.com/NaitLee/Cat-Printer.git
synced 2025-05-18 00:00:18 -07:00
Merge pull request #61 from huaak/main
added dutch language and enhanced german language
This commit is contained in:
commit
5f789d1ad8
@ -17,6 +17,7 @@ var I18nExtensions = (function() {
|
|||||||
'en-US': English,
|
'en-US': English,
|
||||||
'zh-CN': Chinese,
|
'zh-CN': Chinese,
|
||||||
'de-DE': German,
|
'de-DE': German,
|
||||||
|
'nl-NL': Dutch,
|
||||||
'ar': Arabic
|
'ar': Arabic
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -113,7 +114,20 @@ var I18nExtensions = (function() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* @type {ExtensionOf<'nl-NL'>}
|
||||||
|
*/
|
||||||
|
function Dutch(things, conditions) {
|
||||||
|
if (typeof conditions === 'string')
|
||||||
|
return conditions;
|
||||||
|
for (let index in things) {
|
||||||
|
let value = things[index];
|
||||||
|
if (typeof value === 'number') {
|
||||||
|
if (value == 1) return conditions['single'];
|
||||||
|
else return conditions['multiple'];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* @type {ExtensionOf<'ar'>}
|
* @type {ExtensionOf<'ar'>}
|
||||||
*/
|
*/
|
||||||
|
4
www/i18n.d.ts
vendored
4
www/i18n.d.ts
vendored
@ -29,6 +29,10 @@ type AllConditions = {
|
|||||||
'single': string,
|
'single': string,
|
||||||
'multiple': string
|
'multiple': string
|
||||||
},
|
},
|
||||||
|
'nl-NL': {
|
||||||
|
'single': string,
|
||||||
|
'multiple': string
|
||||||
|
},
|
||||||
'zh-CN': {
|
'zh-CN': {
|
||||||
'measure': string
|
'measure': string
|
||||||
}
|
}
|
||||||
|
@ -142,11 +142,11 @@
|
|||||||
"test-unknown-device": "Unbekanntes Gerät testen",
|
"test-unknown-device": "Unbekanntes Gerät testen",
|
||||||
"now-will-scan-for-all-bluetooth-devices-nearby": "Der Scan sucht jetzt nach allen Bluetooth-Geräten in der Nähe",
|
"now-will-scan-for-all-bluetooth-devices-nearby": "Der Scan sucht jetzt nach allen Bluetooth-Geräten in der Nähe",
|
||||||
|
|
||||||
"pf2-font-not-found-or-broken-0": "PF2 font not found or broken: '{0}'",
|
"pf2-font-not-found-or-broken-0": "PF2 font nicht gefunden oder defekt: '{0}'",
|
||||||
"try-to-print-through-an-unknown-device": "Try to print through an unknown device",
|
"try-to-print-through-an-unknown-device": "Versuch mit unbekanntem Gerät zu drucken",
|
||||||
"scanning-for-all-bluetooth-devices-nearby": "Scanning for all bluetooth devices nearby…",
|
"scanning-for-all-bluetooth-devices-nearby": "Scanne nach allen Bluertooth-Geräten in der Nähe…",
|
||||||
"there-are-multiple-devices-": "There are multiple devices:",
|
"there-are-multiple-devices-": "Mehrere Geräte gefunden:",
|
||||||
"choose-which-one-0-": "Choose which one? [{0}]: ",
|
"choose-which-one-0-": "Geräteauswahl? [{0}]: ",
|
||||||
"multiple-devices-found-please-specify-one": "Multiple devices found, please specify one",
|
"multiple-devices-found-please-specify-one": "Mehrere Geräte gefunden, bitte Auswahl treffen",
|
||||||
"no-prompt-for-multiple-devices": "No prompt for multiple devices"
|
"no-prompt-for-multiple-devices": "keine Aufforderung für mehrere Geräte"
|
||||||
}
|
}
|
152
www/lang/nl-NL.json
Normal file
152
www/lang/nl-NL.json
Normal file
@ -0,0 +1,152 @@
|
|||||||
|
{
|
||||||
|
"$language": "nederlands",
|
||||||
|
"KeyboardLayout": "1234567890qwertyuiopasdfghjklzxcvbnm",
|
||||||
|
"cat-printer": "Cat Printer",
|
||||||
|
"printer": "printer",
|
||||||
|
"device-": "apparaat:",
|
||||||
|
"refresh": "vernieuwen",
|
||||||
|
"scan": "scannen",
|
||||||
|
"mode-": "Modus:",
|
||||||
|
"canvas": "canvas",
|
||||||
|
"document": "document",
|
||||||
|
"insert-picture": "afbeelding invoegen",
|
||||||
|
"insert-text": "tekst invoegen",
|
||||||
|
"help": "Hulp",
|
||||||
|
"javascript-license-information": "informatie over de javascript-licentie",
|
||||||
|
"settings": "instellingen",
|
||||||
|
"image": "afbeelding",
|
||||||
|
"threshold-": "drempelwaarde",
|
||||||
|
"transmission-speed-": "transmissie snelheid:",
|
||||||
|
"low": "laag",
|
||||||
|
"moderate": "gematigt",
|
||||||
|
"high": "hoog",
|
||||||
|
"transparent-as-white": "transparant als wit",
|
||||||
|
"misc": "gemengt",
|
||||||
|
"system": "systeem",
|
||||||
|
"disable-animation": "animatie uitschakelen",
|
||||||
|
"exit": "beëindigen",
|
||||||
|
"error-message": "foutmeldingen",
|
||||||
|
"preview": "voorbeeld",
|
||||||
|
"print": "afdrukken",
|
||||||
|
"expand": "uitbreiden",
|
||||||
|
"crop": "Bijsnijden",
|
||||||
|
"scanning-for-devices": "scannen naar apparaten…",
|
||||||
|
"scan-time-": "scan tijd:",
|
||||||
|
"-seconds": "Seconden",
|
||||||
|
"no-available-devices-found": "geen beschikbare apparaten gevonden",
|
||||||
|
"found-0-available-devices": {
|
||||||
|
"single": "{0} beschikbaar apparaat gevonden",
|
||||||
|
"multiple": "{0} beschikbaar apparaten gevonden"
|
||||||
|
},
|
||||||
|
"please-check-if-the-printer-is-down": "controleer of de printer is ingeschakeld",
|
||||||
|
"printing": "afdrukken…",
|
||||||
|
"finished": "afgerond",
|
||||||
|
"coming-soon": "binnenkort beschikbaar…",
|
||||||
|
"dry-run": "proefdraaien",
|
||||||
|
"dry-run-test-print-process-only": "proefdraaien: alleen testafdrukproces",
|
||||||
|
"you-can-close-this-page-manually": "U kunt deze pagina handmatig sluiten",
|
||||||
|
"please-enable-bluetooth": "Schakel Bluetooth in",
|
||||||
|
"error-happened-please-check-error-message": "Er is een fout opgetreden, zie de foutmelding",
|
||||||
|
"you-can-seek-for-help-with-detailed-info-below": "U kunt hulp krijgen met de gedetailleerde informatie hieronder",
|
||||||
|
"or-try-to-scan-longer": "Of verhoog de scantijd",
|
||||||
|
"print-to-cat-printer": "PBM-afbeelding afdrukken naar Cat Printer",
|
||||||
|
"supported-models-": "ondersteunde modellen:",
|
||||||
|
"path-to-input-file-dash-for-stdin": "pad naar bestand '-' for stdin",
|
||||||
|
"scan-for-specified-seconds": "zoekloop voor de opgegeven duur",
|
||||||
|
"text-printing-mode": "tekstafdrukmodus",
|
||||||
|
"please-install-pyobjc-via-pip": "installeer `pyobjc` via pip",
|
||||||
|
"please-install-bleak-via-pip": "installeer `bleak` via pip",
|
||||||
|
"folder-printer_lib-is-incomplete-or-missing-please-check": "De bestanden in de map `printer_lib` konden niet worden gevonden. Controleer of de map bestaat en de vereiste bestanden bevat.",
|
||||||
|
"input-is-not-pbm-image": "de invoer is geen pbm-afbeelding",
|
||||||
|
"unsuitable-image-width-expected-0-got-1": "Onjuiste afbeeldingsbreedte, verwacht {0}, kreeg {1}",
|
||||||
|
"broken-pbm-image": "gebroken PBM-Beeld",
|
||||||
|
"input-is-not-text-file": "Invoer is geen tekstbestand",
|
||||||
|
"match-printer-with-this-name-or-address": "Koppel de printer aan deze naam of dit adres",
|
||||||
|
"virtual-run-on-specified-model": "Virtueel proces voor een specifiek model",
|
||||||
|
"font-size-0": "lettertypegrootte {0}",
|
||||||
|
"stopping": "stoppen",
|
||||||
|
"connecting": "aansluiten",
|
||||||
|
"model-0-is-not-supported-yet": "Model '{0}' nog niet ondersteund",
|
||||||
|
"invalid-address-0": "Ungültige Adresse: '{0}'",
|
||||||
|
"will-listen-on-all-addresses": "zal luisteren op alle adressen",
|
||||||
|
"serving-at-0": "vermeld op het adres {0}",
|
||||||
|
"disconnecting-from-printer": "Koppel de printer los",
|
||||||
|
"connected-to-0-1": "Met {0} {1} verbonden",
|
||||||
|
"flip-horizontally": "Horizontaal omkeren",
|
||||||
|
"flip-vertically": "Verticaal omkeren",
|
||||||
|
"dump-traffic": "dump dataverkeer",
|
||||||
|
"right-to-left-text-order": "Tekst van rechts naar links uitlijnen",
|
||||||
|
"auto-wrap-line": "automatisch regeleinde",
|
||||||
|
"wrap-text": "tekstomloop",
|
||||||
|
"process-as-": "Verwerken als:",
|
||||||
|
"text": "Tekst",
|
||||||
|
"picture": "Beeld",
|
||||||
|
"pattern": "Patroon",
|
||||||
|
"large-font": "groot lettertype",
|
||||||
|
"accessibility": "toegankelijkheid",
|
||||||
|
"language": "Taal",
|
||||||
|
"layout": "Layout",
|
||||||
|
"ok": "OK",
|
||||||
|
"cancel": "annuleren",
|
||||||
|
"yes": "Ja",
|
||||||
|
"no": "Nee",
|
||||||
|
"about": "over",
|
||||||
|
"home-page-": "Startpagina:",
|
||||||
|
"contributors": "bijdragers",
|
||||||
|
"developer": "ontwikkelaar",
|
||||||
|
"collaborator": "Collaborator",
|
||||||
|
"translator": "vertaler",
|
||||||
|
"all-users-and-developers": "alle testers en gebruikers",
|
||||||
|
"everyone-is-awesome": "iedereen is geweldig",
|
||||||
|
"license": "licentie",
|
||||||
|
"exiting": "verlaten…",
|
||||||
|
|
||||||
|
"dark-theme": "donker thema",
|
||||||
|
"high-contrast": "hoog contrast",
|
||||||
|
"copyright-and-license": "Auteursrecht en licentiez",
|
||||||
|
"welcome": "Welkom!",
|
||||||
|
"some-rights-reserved": "Sommige rechten zijn voorbehouden.",
|
||||||
|
"text-font": "lettertype",
|
||||||
|
"text-size": "lettergrootte",
|
||||||
|
"enter-text": "Tekst invoegen",
|
||||||
|
"show-more-options": "Toon meer opties",
|
||||||
|
"strength-": "kracht:",
|
||||||
|
"reset": "resetten",
|
||||||
|
"brightness-": "helderheid:",
|
||||||
|
"quality-": "kwaliteit:",
|
||||||
|
"or-drag-file-to-below": "Of zet het bestand hier neer",
|
||||||
|
"to-enter-keyboard-mode-press-tab": "Druk op TAB om de toetsenbordmodus te activeren",
|
||||||
|
"you-can-see-all-javascript-programs-used": "Zoals u kunt zien, gebruikt dit programma alleen Vrije Software.",
|
||||||
|
"javascript-resource": "bibliotheek",
|
||||||
|
"javascript-license": "licentie",
|
||||||
|
"javascript-source": "gebruikt in",
|
||||||
|
"javascript-description": "Beschrijving",
|
||||||
|
"javascript-everyjs-description": "Dynamische samenvoeging van ontwikkelscripts.",
|
||||||
|
"javascript-maincompjs-description": "Transpileer de ontwikkelingsscripts voor verbeterde compatibiliteit.",
|
||||||
|
"javascript-loaderjs-description": "Dynamisch laden van scripts en fallbacks.",
|
||||||
|
"javascript-polyfilljs-description": "Functies achteraf inbouwen in niet-ondersteunde browsers",
|
||||||
|
"javascript-i18nextjs-description": "I18n „uitbreidingen“",
|
||||||
|
"javascript-i18njs-description": "Lokalisatie en vertaling",
|
||||||
|
"javascript-imagejs-description": "beeldbewerking",
|
||||||
|
"javascript-accessibilityjs-description": "Toegankelijkheid",
|
||||||
|
"javascript-catprinter-description": "De hoofdscripts van Cat-Printer",
|
||||||
|
"cat-face-toward": "Lijn uit met kattengezicht",
|
||||||
|
"free-software": "vrije Software",
|
||||||
|
"free-software-description": "Software die uw vrijheid en gemeenschap respecteert",
|
||||||
|
"wrap-words-by-spaces": "Automatische regeleinde",
|
||||||
|
"minor-tweaks": "kleine aanpassingen",
|
||||||
|
"serif": "Serif",
|
||||||
|
"sans-serif": "Sans Serif",
|
||||||
|
"monospace": "Monospace",
|
||||||
|
"rotate-image": "afbeelding roteren",
|
||||||
|
"test-unknown-device": "onbekend apparaat testen",
|
||||||
|
"now-will-scan-for-all-bluetooth-devices-nearby": "De scan zoekt nu naar alle Bluetooth-apparaten in de buurt",
|
||||||
|
|
||||||
|
"pf2-font-not-found-or-broken-0": "PF2 font niet gevonden of defect: '{0}'",
|
||||||
|
"try-to-print-through-an-unknown-device": "probeer af te drukken met een onbekend apparaat",
|
||||||
|
"scanning-for-all-bluetooth-devices-nearby": "Scannen naar alle Bluetooth-apparaten in de buurt…",
|
||||||
|
"there-are-multiple-devices-": "meerdere apparaten gevonden:",
|
||||||
|
"choose-which-one-0-": "apparaat selectie? [{0}]: ",
|
||||||
|
"multiple-devices-found-please-specify-one": "Meerdere apparaten gevonden, maak een keuze",
|
||||||
|
"no-prompt-for-multiple-devices": "geen prompt voor meerdere apparaten"
|
||||||
|
}
|
10
www/list.json
Normal file
10
www/list.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"en-US": "English (US)",
|
||||||
|
"de-DE": "Deutsch",
|
||||||
|
"nl-NL": "Nederlands",
|
||||||
|
"zh-CN": "中文(简体字)",
|
||||||
|
"zh-TW": "中文(正體字)",
|
||||||
|
"zh-HK": "中文(香港字)",
|
||||||
|
"lolcat": "LOLCAT",
|
||||||
|
"zh-Hant-CN": "中文(傳統字)"
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user