diff --git a/locales/de.yml b/locales/de.yml index 0ccdb71d..de06db30 100644 --- a/locales/de.yml +++ b/locales/de.yml @@ -1,16 +1,9 @@ -'404': - notFound: 404 Nicht gefunden - sorry: Entschuldigung, diese Seite scheint nicht zu existieren - maybe: >- - Vielleicht macht der Cache etwas Seltsames. Mit einem erzwungenen Neuladen - versuchen? - backHome: Zurück zur Startseite home: categories: newestTools: Neueste Tools favoriteTools: Deine Lieblingstools allTools: Alle Tools - favoritesDndToolTip: 'Ziehen und Ablegen, um Favoriten neu zu ordnen' + favoritesDndToolTip: Drag and Drop, um Favoriten neu zu ordnen subtitle: Praktische Tools für Entwickler toggleMenu: Menü umschalten home: Startseite @@ -72,6 +65,13 @@ about: funktioniert, melde bitte einen Fehler im [Issues-Bereich](https://github.com/CorentinTh/it-tools/issues/new/choose) im GitHub-Repository. +404: + notFound: 404 Nicht gefunden + sorry: Entschuldigung, diese Seite scheint nicht zu existieren + maybe: >- + Vielleicht macht der Cache etwas Seltsames. Mit einem erzwungenen Neuladen + versuchen? + backHome: Zurück zur Startseite favoriteButton: remove: Aus Favoriten entfernen add: Zu Favoriten hinzufügen @@ -79,6 +79,20 @@ toolCard: new: Neu search: label: Suche + placeholder: Tippe, um ein Tool oder einen Befehl zu suchen... +textareaCopyable: + copy: In die Zwischenablage kopieren + copied: Kopiert! +spanCopyable: + copy: In die Zwischenablage kopieren + copied: Kopiert! +inputCopyable: + copy: In die Zwischenablage kopieren + copied: Kopiert! +formatTransformer: + input: Eingabe + input-placeholder: Eingabe... + output: Ausgabe tools: categories: favorite-tools: Deine Lieblingstools @@ -102,6 +116,10 @@ tools: description: >- Überwache die Dauer einer Sache. Im Grunde ein Chronometer mit einfachen Chronometerfunktionen. + button: + start: Start + stop: Stopp + reset: Zurücksetzen token-generator: title: Token-Generator description: >- @@ -296,6 +314,13 @@ tools: description: >- Generiere und downloade QR-Codes für eine URL oder einfach einen Text und passe die Hintergrund- und Vordergrundfarben an. + text: 'Text:' + placeholder: Dein Link oder Text... + foreground-color: 'Vordergrundfarbe:' + background-color: 'Hintergrundfarbe:' + error-resistance: 'Fehlerresistenz:' + button: + download: QR-Code herunterladen wifi-qrcode-generator: title: WLAN-QR-Code-Generator description: >- @@ -420,6 +445,11 @@ tools: description: >- Informationen zu einem Text erhalten, wie die Anzahl der Zeichen, die Anzahl der Wörter, die Größe usw. + characters: Anzahl Zeichen + words: Anzahl Wörter + lines: Anzahl Zeilen + bytes: Bytegröße + placeholder: Dein Text... text-to-nato-alphabet: title: Text zu NATO-Alphabet description: >- @@ -430,6 +460,13 @@ tools: description: >- Generiere einen Base64-Basic-Auth-Header aus einem Benutzernamen und einem Passwort. + button: + copy: Header kopieren + copied: Header in die Zwischenablage kopiert + password: Passwort + username: Benutzername + yourpassword: Dein Passwort... + yourusername: Dein Benutzername... text-to-unicode: title: Text zu Unicode description: Parse und konvertiere Text in Unicode und umgekehrt. @@ -454,3 +491,80 @@ tools: text-to-binary: title: Text zu ASCII-Binär description: Konvertiere Text in seine ASCII-Binärrepräsentation und umgekehrt. + safelink-decoder: + title: Outlook Safelink-Decoder + description: Outlook Safelinks decodieren + input: 'Eingabe einer Outlook Safelink-URL:' + input-placeholder: Deine eingegebene Outlook Safelink-URL... + output: 'Ausgabe der decodierten URL:' + ascii-text-drawer: + title: ASCII-Art-Text-Generator + description: ASCII-Art-Text mit vielen Schriftarten und Stilen erstellen. + text: 'Dein Text:' + placeholder: Dein zu zeichnender Text + font: 'Schriftart:' + width: 'Breite:' + loading: Schriftart wird geladen... + error: Die aktuellen Einstellungen führten zu einem Fehler. + output: 'ASCII-Art-Text:' + json-to-xml: + title: JSON zu XML + description: JSON in XML konvertieren + input: Dein JSON-Inhalt + input-placeholder: Füge hier deinen JSON-Inhalt ein... + output: Konvertiertes XML + error: Bereitgestelltes JSON ist ungültig. + xml-to-json: + title: XML zu JSON + description: XML in JSON konvertieren + input: Dein XML-Inhalt + input-placeholder: Füge hier deinen XML-Inhalt ein... + output: Konvertiertes JSON + error: Bereitgestelltes XML ist ungültig. + email-normalizer: + title: E-Mail-Normalisierung + description: >- + Vereinheitlichen von E-Mail-Adressen auf ein Standardformat für einen + einfacheren Vergleich. Nützlich für Deduplizierung und Datenbereinigung. + input: 'Unbearbeitete E-Mails zur Normalisierung:' + input-placeholder: Gib hier deine E-Mails ein (eine pro Zeile)... + output: 'Normalisierte E-Mails:' + output-placeholder: Hier werden normalisierte E-Mails angezeigt... + button: + clear: E-Mails leeren + copy: Kopiere normalisierte E-Mails + copied: Normalisierte E-Mails in die Zwischenablage kopiert + markdown-to-html: + title: Markdown zu HTML + description: Markdown in HTML konvertieren und (als PDF) ausdrucken + markdown: 'Dein zu konvertierender Markdown-Inhalt:' + markdownInput: Dein Markdown-Inhalt... + html: 'HTML-Ausgabe:' + button: + print: Als PDF drucken + regex-memo: + title: Regex-Spickzettel + description: Spickzettel für Javascript Regex/Regulärer Ausdruck + regex-tester: + title: Regex-Tester + description: Teste deine regulären Ausdrücke mit Beispieltext. + regex: Regex + regex-input: 'Regex zum Testen:' + regex-input-placeholder: Eingabe des zu testenden regulären Ausdrucks + link: Siehe Spickzettel für reguläre Ausdrücke + text-input: 'Zu prüfender Text:' + text-input-placeholder: Eingabe des zu prüfenden Texts + matches: Treffer + text-index: Index im Text + value: Wert + captures: Erfassungen + groups: Gruppen + sample: Beispiel für passenden Text + diagram: Regex-Diagramm + global: Globale Suche. + ignoreCase: Suche ohne Berücksichtigung der Groß-/Kleinschreibung. + multiline: Ermöglicht die Übereinstimmung von ^ und $ neben Zeilenumbruchzeichen. + dotAll: Lässt . als Treffer für Zeilenumbruchzeichen zu. + unicode: Unicode; behandelt ein Muster als eine Folge von Unicode-Codepunkten. + unicodeSets: Ein Upgrade zum u-Modus mit mehr Unicode-Funktionen. + no-match: Kein Treffer diff --git a/locales/en.yml b/locales/en.yml index d03d80d3..38660c95 100644 --- a/locales/en.yml +++ b/locales/en.yml @@ -57,6 +57,20 @@ toolCard: new: New search: label: Search + placeholder: Type to search a tool or a command... +textareaCopyable: + copy: Copy to clipboard + copied: Copied! +spanCopyable: + copy: Copy to clipboard + copied: Copied! +inputCopyable: + copy: Copy to clipboard + copied: Copied! +formatTransformer: + input: Input + input-placeholder: Input... + output: Output tools: categories: favorite-tools: 'Your favorite tools' @@ -78,7 +92,11 @@ tools: chronometer: title: Chronometer description: Monitor the duration of a thing. Basically a chronometer with simple chronometer features. - + button: + start: Start + stop: Stop + reset: Reset + token-generator: title: Token generator description: Generate random string with the chars you want, uppercase or lowercase letters, numbers and/or symbols. @@ -252,6 +270,13 @@ tools: qrcode-generator: title: QR Code generator description: Generate and download a QR code for a URL (or just plain text), and customize the background and foreground colors. + error-resistance: 'Error resistance:' + background-color: 'Background color:' + foreground-color: 'Foreground color:' + text: 'Text:' + placeholder: Your link or text... + button: + download: Download QR code wifi-qrcode-generator: title: WiFi QR Code generator @@ -360,6 +385,11 @@ tools: text-statistics: title: Text statistics description: Get information about a text, the number of characters, the number of words, its size in bytes, ... + characters: Character count + words: Word count + lines: Line count + bytes: Byte size + placeholder: Your text... text-to-nato-alphabet: title: Text to NATO alphabet @@ -368,6 +398,13 @@ tools: basic-auth-generator: title: Basic auth generator description: Generate a base64 basic auth header from a username and password. + button: + copy: Copy header + username: Username + yourusername: Your username... + password: Password + yourpassword: Your password... + copied: Header copied to the clipboard text-to-unicode: title: Text to Unicode @@ -392,3 +429,88 @@ tools: text-to-binary: title: Text to ASCII binary description: Convert text to its ASCII binary representation and vice-versa. + + safelink-decoder: + title: Outlook Safelink decoder + description: Decode Outlook SafeLink links + input: 'Your input Outlook SafeLink Url:' + input-placeholder: Your input Outlook SafeLink Url... + output: 'Output decoded URL:' + + ascii-text-drawer: + title: ASCII Art Text Generator + description: Create ASCII art text with many fonts and styles. + text: 'Your text:' + placeholder: Your text to draw + output: 'Ascii Art text:' + font: 'Font:' + width: 'Width:' + loading: Loading font... + error: Current settings resulted in error. + + json-to-xml: + title: JSON to XML + description: Convert JSON to XML + input: Your JSON content + input-placeholder: Paste your JSON content here... + output: Converted XML + error: Provided JSON is not valid. + + xml-to-json: + title: XML to JSON + description: Convert XML to JSON + input: Your XML content + input-placeholder: Paste your XML content here... + output: Converted JSON + error: Provided XML is not valid. + + email-normalizer: + title: Email normalizer + description: >- + Normalize email addresses to a standard format for easier comparison. + Useful for deduplication and data cleaning. + input: 'Raw emails to normalize:' + output: 'Normalized emails:' + input-placeholder: Put your emails here (one per line)... + output-placeholder: Normalized emails will appear here... + button: + clear: Clear emails + copy: Copy normalized emails + copied: Normalized emails copied to the clipboard + + markdown-to-html: + title: Markdown to HTML + description: Convert Markdown to HTML and allow to print (as PDF) + markdown: 'Your Markdown to convert:' + markdownInput: Your Markdown content... + html: 'Output HTML:' + button: + print: Print as PDF + + regex-memo: + title: Regex cheatsheet + description: Javascript Regex/Regular Expression cheatsheet + + regex-tester: + title: Regex Tester + description: Test your regular expressions with sample text. + regex-input: 'Regex to test:' + regex-input-placeholder: Put the regex to test + link: See Regular Expression Cheatsheet + text-input: 'Text to match:' + text-input-placeholder: Put the text to match + matches: Matches + text-index: Index in text + value: Value + captures: Captures + groups: Groups + sample: Sample matching text + diagram: Regex Diagram + global: Global search + ignoreCase: Case-insensitive search + multiline: Allows ^ and $ to match next to newline characters. + dotAll: Allows . to match newline characters. + unicode: Unicode; treat a pattern as a sequence of Unicode code points. + unicodeSets: An upgrade to the u mode with more Unicode features. + regex: Regex + no-match: No match diff --git a/src/components/FormatTransformer.vue b/src/components/FormatTransformer.vue index bcfcdb58..10833bf5 100644 --- a/src/components/FormatTransformer.vue +++ b/src/components/FormatTransformer.vue @@ -2,6 +2,7 @@ import _ from 'lodash'; import type { UseValidationRule } from '@/composable/validation'; import CInputText from '@/ui/c-input-text/c-input-text.vue'; +import { translate as t } from '@/plugins/i18n.plugin'; const props = withDefaults( defineProps<{ @@ -16,10 +17,10 @@ const props = withDefaults( { transformer: _.identity, inputValidationRules: () => [], - inputLabel: 'Input', + inputLabel: t('formatTransformer.input'), inputDefault: '', - inputPlaceholder: 'Input...', - outputLabel: 'Output', + inputPlaceholder: t('formatTransformer.input-placeholder'), + outputLabel: t('formatTransformer.output'), outputLanguage: '', }, ); diff --git a/src/components/InputCopyable.vue b/src/components/InputCopyable.vue index a69a039a..3c25c6d3 100644 --- a/src/components/InputCopyable.vue +++ b/src/components/InputCopyable.vue @@ -1,13 +1,14 @@