Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(i18n): Make rest of the tools translatable and translate them to German #1178

Open
wants to merge 43 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
e926a79
fix(i18n): Make rest of the tools translatable and translate them to …
steffenrapp Jun 21, 2024
1d15baa
package
steffenrapp Jun 21, 2024
703e5e6
update
steffenrapp Aug 2, 2024
5ceb468
Merge branch 'main' into translatable
steffenrapp Aug 12, 2024
a81514d
more tools
steffenrapp Aug 12, 2024
1740460
Merge branch 'main' into translatable
steffenrapp Aug 15, 2024
7c5f6e7
email normalizer
steffenrapp Aug 15, 2024
6892b68
more texts
steffenrapp Aug 15, 2024
c6ca07e
fix
steffenrapp Aug 15, 2024
bff4984
fix
steffenrapp Aug 15, 2024
028a4ce
fix
steffenrapp Aug 15, 2024
b986c49
Merge branch 'main' into translatable
steffenrapp Aug 27, 2024
a97e189
markdown-to-html
steffenrapp Aug 27, 2024
867d415
copy
steffenrapp Aug 27, 2024
4217005
fix
steffenrapp Aug 27, 2024
ff46f17
fix
steffenrapp Aug 27, 2024
8e4a220
qr code generator
steffenrapp Sep 3, 2024
0a72a2b
ascii-texts
steffenrapp Sep 5, 2024
f5a5ca6
email-normalizer-texts
steffenrapp Sep 5, 2024
c756058
json xml texts
steffenrapp Sep 5, 2024
917ff52
more tools
steffenrapp Sep 5, 2024
ab7b3a6
copy
steffenrapp Sep 5, 2024
3eefdac
fix
steffenrapp Sep 5, 2024
9fa9dc0
revert
steffenrapp Sep 5, 2024
6b8cfca
Merge branch 'main' into translatable
steffenrapp Sep 20, 2024
bb7d703
regex
steffenrapp Sep 20, 2024
75c7900
fix
steffenrapp Sep 20, 2024
95a1939
improve
steffenrapp Sep 20, 2024
563900d
improve
steffenrapp Sep 20, 2024
e3992d9
copy
steffenrapp Sep 21, 2024
24c9131
search
steffenrapp Sep 21, 2024
c69d55a
fix
steffenrapp Sep 21, 2024
e029173
improve regex
steffenrapp Sep 21, 2024
3cc6a25
Merge branch 'main' into translatable
steffenrapp Sep 29, 2024
eaab7a8
regex update
steffenrapp Sep 29, 2024
f9031a9
Merge branch 'main' into translatable
steffenrapp Oct 24, 2024
7826797
Merge branch 'main' into translatable
steffenrapp Oct 25, 2024
aca9d13
update
steffenrapp Oct 27, 2024
2b94b06
update
steffenrapp Oct 27, 2024
32ca8e3
update
steffenrapp Oct 27, 2024
9c02363
update
steffenrapp Oct 27, 2024
d91a867
update
steffenrapp Oct 27, 2024
d20c027
Merge branch 'main' into translatable
steffenrapp Dec 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
130 changes: 122 additions & 8 deletions locales/de.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -72,13 +65,34 @@ 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
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
Expand All @@ -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: >-
Expand Down Expand Up @@ -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: >-
Expand Down Expand Up @@ -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: >-
Expand All @@ -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.
Expand All @@ -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
124 changes: 123 additions & 1 deletion locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
7 changes: 4 additions & 3 deletions src/components/FormatTransformer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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<{
Expand All @@ -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: '',
},
);
Expand Down
3 changes: 2 additions & 1 deletion src/components/InputCopyable.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
<script setup lang="ts">
import { useVModel } from '@vueuse/core';
import { useCopy } from '@/composable/copy';
import { translate as t } from '@/plugins/i18n.plugin';

const props = defineProps<{ value: string }>();
const emit = defineEmits(['update:value']);

const value = useVModel(props, 'value', emit);
const { copy, isJustCopied } = useCopy({ source: value, createToast: false });
const tooltipText = computed(() => isJustCopied.value ? 'Copied!' : 'Copy to clipboard');
const tooltipText = computed(() => isJustCopied.value ? t('inputCopyable.copied') : t('inputCopyable.copy'));
</script>

<template>
Expand Down
Loading
Loading