diff --git a/locales/de.yml b/locales/de.yml index 3926e190..5c65e18e 100644 --- a/locales/de.yml +++ b/locales/de.yml @@ -78,6 +78,19 @@ toolCard: new: Neu search: label: Suche +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 @@ -553,4 +566,4 @@ tools: 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. + unicodeSets: Ein Upgrade zum u-Modus mit mehr Unicode-Funktionen. diff --git a/locales/en.yml b/locales/en.yml index ae8f0429..5cbc8c90 100644 --- a/locales/en.yml +++ b/locales/en.yml @@ -72,6 +72,19 @@ toolCard: new: New search: label: Search +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 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 @@