diff --git a/locales/de.yml b/locales/de.yml index 374daeaa..0636eafc 100644 --- a/locales/de.yml +++ b/locales/de.yml @@ -495,6 +495,14 @@ tools: 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 diff --git a/locales/en.yml b/locales/en.yml index 324a993b..fd9303d6 100644 --- a/locales/en.yml +++ b/locales/en.yml @@ -464,6 +464,14 @@ tools: 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) diff --git a/src/tools/email-normalizer/email-normalizer.vue b/src/tools/email-normalizer/email-normalizer.vue index eae97c4e..e4285c84 100644 --- a/src/tools/email-normalizer/email-normalizer.vue +++ b/src/tools/email-normalizer/email-normalizer.vue @@ -3,6 +3,7 @@ import { normalizeEmail } from 'email-normalizer'; import { withDefaultOnError } from '@/utils/defaults'; import { useCopy } from '@/composable/copy'; +const { t } = useI18n(); const emails = ref(''); const normalizedEmails = computed(() => { if (!emails.value) { @@ -17,17 +18,17 @@ const normalizedEmails = computed(() => { .join('\n'); }); -const { copy } = useCopy({ source: normalizedEmails, text: 'Normalized emails copied to the clipboard', createToast: true }); +const { copy } = useCopy({ source: normalizedEmails, text: t('tools.email-normalizer.copied'), createToast: true });