diff --git a/locales/de.yml b/locales/de.yml index cc92366e..374daeaa 100644 --- a/locales/de.yml +++ b/locales/de.yml @@ -477,6 +477,13 @@ tools: 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 diff --git a/locales/en.yml b/locales/en.yml index 941c8aff..324a993b 100644 --- a/locales/en.yml +++ b/locales/en.yml @@ -446,6 +446,13 @@ tools: 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 diff --git a/src/tools/ascii-text-drawer/ascii-text-drawer.vue b/src/tools/ascii-text-drawer/ascii-text-drawer.vue index 9a6520a4..946f1954 100644 --- a/src/tools/ascii-text-drawer/ascii-text-drawer.vue +++ b/src/tools/ascii-text-drawer/ascii-text-drawer.vue @@ -8,6 +8,7 @@ const width = useStorage('ascii-text-drawer:width', 80); const output = ref(''); const errored = ref(false); const processing = ref(false); +const { t } = useI18n(); figlet.defaults({ fontPath: '//unpkg.com/figlet@1.6.0/fonts/' }); @@ -44,8 +45,8 @@ const fonts = ['1Row', '3-D', '3D Diagonal', '3D-ASCII', '3x5', '4Max', '5 Line - + @@ -75,14 +76,14 @@ const fonts = ['1Row', '3-D', '3D Diagonal', '3D-ASCII', '3x5', '4Max', '5 Line
- Loading font... + {{ t('tools.ascii-text-drawer.loading') }}
- Current settings resulted in error. + {{ t('tools.ascii-text-drawer.error') }} - +