Squashed commit of the following:

commit d20c027957ddbdd26194550cfbf5917c43585779
Merge: d91a867c 63fbd3b4
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Thu Dec 12 23:42:30 2024 +0100

    Merge branch 'main' into translatable

commit d91a867cf113369bd23b297b15040042ac74daca
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Sun Oct 27 13:48:36 2024 +0000

    update

commit 9c023636c655554a560f03035cfbeaf7d0fed8f7
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Sun Oct 27 13:48:03 2024 +0000

    update

commit 32ca8e35de981811b6445d166367918bb64df67c
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Sun Oct 27 13:47:19 2024 +0000

    update

commit 2b94b06ac1236788018617b2ad77c35a8e65355e
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Sun Oct 27 13:46:19 2024 +0000

    update

commit aca9d139434ead3b6f6b827928f1ccddfcacf68f
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Sun Oct 27 13:43:36 2024 +0000

    update

commit 78267978388d756879bb059d02e19b8ff37001e0
Merge: f9031a98 0b1b98f9
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Sat Oct 26 00:08:54 2024 +0200

    Merge branch 'main' into translatable

commit f9031a98f66ef9ef94dec43ca3eec49a070e6a59
Merge: eaab7a8b f8366664
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Thu Oct 24 22:24:45 2024 +0200

    Merge branch 'main' into translatable

commit eaab7a8ba26c07603c46a4f48d7b77bc79588c5f
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Sun Sep 29 20:22:32 2024 +0000

    regex update

commit 3cc6a2547e6de9b99fddf527e5c2eda1de9a3d53
Merge: e0291730 1c35ac37
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Sun Sep 29 22:20:54 2024 +0200

    Merge branch 'main' into translatable

commit e02917305eb5ee50efa67c6b3918a6e6253a2999
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Sat Sep 21 10:11:08 2024 +0000

    improve regex

commit c69d55afe1b20570102f5b3a57e53983d8366f10
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Sat Sep 21 09:41:53 2024 +0000

    fix

commit 24c9131f80377a74543e0ed1a4a6d2fc470225d6
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Sat Sep 21 09:40:54 2024 +0000

    search

commit e3992d9187f06f74ef9222fb94d66d57717dc25e
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Sat Sep 21 09:30:17 2024 +0000

    copy

commit 563900dc1130495293d2db418f86922a6c31f9e0
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Fri Sep 20 20:11:39 2024 +0000

    improve

commit 95a1939cfcaf8fee797d86beba809ffa27f93c14
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Fri Sep 20 20:09:47 2024 +0000

    improve

commit 75c790062da0e115494a6b1440fd6d81427205db
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Fri Sep 20 20:02:57 2024 +0000

    fix

commit bb7d703cc5f1583fbbeca6cf1f30b87cf1045de5
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Fri Sep 20 19:59:02 2024 +0000

    regex

commit 6b8cfca29d62c775f3b790e025707283d235be51
Merge: 9fa9dc04 f5c4ab19
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Fri Sep 20 20:50:51 2024 +0200

    Merge branch 'main' into translatable

commit 9fa9dc047ea3d93fba242c77aef2ba747f6f9240
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Thu Sep 5 17:28:55 2024 +0000

    revert

commit 3eefdacf9c7281b845fae5a418815cb0f018ce9e
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Thu Sep 5 17:26:23 2024 +0000

    fix

commit ab7b3a6588f9d1f05db5286a722717b359b37177
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Thu Sep 5 17:21:43 2024 +0000

    copy

commit 917ff521ea6073e5fbf4862e3af5f81fbc6747ef
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Thu Sep 5 17:01:34 2024 +0000

    more tools

commit c756058c5c759066bbc4672f29cc39b52f55a0da
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Thu Sep 5 16:46:55 2024 +0000

    json xml texts

commit f5a5ca65507cf33a9c0aaf11aa8702f691941762
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Thu Sep 5 16:31:40 2024 +0000

    email-normalizer-texts

commit 0a72a2b24b128fccee6349966d7c5047bfc849ba
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Thu Sep 5 16:12:26 2024 +0000

    ascii-texts

commit 8e4a2206a72e087d3e06b7c6864350ba21a97921
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Tue Sep 3 16:54:31 2024 +0000

    qr code generator

commit ff46f178ce8073cc0ce574a39b8f0caf0b53c612
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Tue Aug 27 17:04:48 2024 +0000

    fix

commit 42170052eca699b68610299c0f50103ef9ba2234
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Tue Aug 27 17:02:01 2024 +0000

    fix

commit 867d415fea8e5fd7d48c9d6c3ac2dd702d3da582
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Tue Aug 27 16:47:17 2024 +0000

    copy

commit a97e1897e59d5701aef9f99349d24600a12ca505
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Tue Aug 27 16:28:27 2024 +0000

    markdown-to-html

commit b986c49df60c28f4256cf6e53e2ca007d97bba89
Merge: 028a4ce3 87984e20
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Tue Aug 27 18:12:30 2024 +0200

    Merge branch 'main' into translatable

commit 028a4ce3258342467dc1d9b8c9847706fa3e3816
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Thu Aug 15 19:13:03 2024 +0000

    fix

commit bff4984998a293e6455ad2695061c2aff2c08569
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Thu Aug 15 18:58:26 2024 +0000

    fix

commit c6ca07e7a0374aeb3f97c0afde1a4b16976cebaf
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Thu Aug 15 16:51:14 2024 +0000

    fix

commit 6892b68819f036580bbf302a3ab3bd9d03bf07b4
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Thu Aug 15 16:43:17 2024 +0000

    more texts

commit 7c5f6e7797ec91d42a1a6bef6a241f2be1c38a91
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Thu Aug 15 14:44:39 2024 +0000

    email normalizer

commit 174046079e3b35ee1e7cb505d3456b394eadab79
Merge: a81514d3 318fb6ef
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Thu Aug 15 16:38:40 2024 +0200

    Merge branch 'main' into translatable

commit a81514d383bec3049c00ed434904bb7363864388
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Mon Aug 12 17:39:18 2024 +0000

    more tools

commit 5ceb46855df890280e6256cc8665512c676d8ae8
Merge: 703e5e6a f1a5489e
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Mon Aug 12 19:30:26 2024 +0200

    Merge branch 'main' into translatable

commit 703e5e6abb7cad27d5a3bd60fd1b31e0427cb1c0
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Fri Aug 2 14:58:35 2024 +0000

    update

commit 1d15baaf291e5898b9ffcab58d85033a5fca5f7e
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Fri Jun 21 20:34:05 2024 +0000

    package

commit e926a79180e4c93a3b899a0f81ea925a03d208a1
Author: steffenrapp <88974099+steffenrapp@users.noreply.github.com>
Date:   Fri Jun 21 20:25:47 2024 +0000

    fix(i18n): Make rest of the tools translatable and translate them to German
This commit is contained in:
ShareVB committed 2025-07-06 19:33:01 +02:00
1 parent 7fd60b0356
commit 207b2ab54d
24 files changed
+368 -120

No files matched your search

+17
View File
@@ -17,6 +17,7 @@ declare module '@vue/runtime-core' {
AlarmSoundToggle: typeof import('./src/tools/pomodoro-timer/app/components/AlarmSoundToggle.vue')['default']
AngleConverter: typeof import('./src/tools/angle-converter/angle-converter.vue')['default']
AnsibleVaultCryptDecrypt: typeof import('./src/tools/ansible-vault-crypt-decrypt/ansible-vault-crypt-decrypt.vue')['default']
AnsiEscapeTester: typeof import('./src/tools/ansi-escape-tester/ansi-escape-tester.vue')['default']
ApiTester: typeof import('./src/tools/api-tester/api-tester.vue')['default']
App: typeof import('./src/App.vue')['default']
AppColorPicker: typeof import('./src/tools/pomodoro-timer/app/components/AppColorPicker.vue')['default']
@@ -60,6 +61,7 @@ declare module '@vue/runtime-core' {
CidrInCidr: typeof import('./src/tools/cidr-in-cidr/cidr-in-cidr.vue')['default']
CInputText: typeof import('./src/ui/c-input-text/c-input-text.vue')['default']
'CInputText.demo': typeof import('./src/ui/c-input-text/c-input-text.demo.vue')['default']
CitationGenerator: typeof import('./src/tools/citation-generator/citation-generator.vue')['default']
CKeyValueList: typeof import('./src/ui/c-key-value-list/c-key-value-list.vue')['default']
CKeyValueListItem: typeof import('./src/ui/c-key-value-list/c-key-value-list-item.vue')['default']
CLabel: typeof import('./src/ui/c-label/c-label.vue')['default']
@@ -181,6 +183,7 @@ declare module '@vue/runtime-core' {
HtaccessGenerator: typeof import('./src/tools/htaccess-generator/htaccess-generator.vue')['default']
HtmlCleaner: typeof import('./src/tools/html-cleaner/html-cleaner.vue')['default']
HtmlEntities: typeof import('./src/tools/html-entities/html-entities.vue')['default']
HtmlMinifier: typeof import('./src/tools/html-minifier/html-minifier.vue')['default']
HtmlPrettifier: typeof import('./src/tools/html-prettifier/html-prettifier.vue')['default']
HtmlToMarkdown: typeof import('./src/tools/html-to-markdown/html-to-markdown.vue')['default']
HtmlWysiwygEditor: typeof import('./src/tools/html-wysiwyg-editor/html-wysiwyg-editor.vue')['default']
@@ -239,6 +242,7 @@ declare module '@vue/runtime-core' {
JsonMinify: typeof import('./src/tools/json-minify/json-minify.vue')['default']
Jsonpath: typeof import('./src/tools/jsonpath-memo/jsonpath.md')['default']
JsonpathMemo: typeof import('./src/tools/jsonpath-memo/jsonpath-memo.vue')['default']
JsonQuery: typeof import('./src/tools/json-query/json-query.vue')['default']
JsonSizeAnalyzer: typeof import('./src/tools/json-size-analyzer/json-size-analyzer.vue')['default']
JsonSortMaster: typeof import('./src/tools/json-sort-master/json-sort-master.vue')['default']
JsonStringConverter: typeof import('./src/tools/json-string-converter/json-string-converter.vue')['default']
@@ -300,29 +304,42 @@ declare module '@vue/runtime-core' {
MorseConverter: typeof import('./src/tools/morse-converter/morse-converter.vue')['default']
MultiLinkDownloader: typeof import('./src/tools/multi-link-downloader/multi-link-downloader.vue')['default']
MyIp: typeof import('./src/tools/my-ip/my-ip.vue')['default']
NA: typeof import('naive-ui')['NA']
NanoidGenerator: typeof import('./src/tools/nanoid-generator/nanoid-generator.vue')['default']
NanoMemo: typeof import('./src/tools/nano-memo/nano-memo.vue')['default']
'NanoMemo.content': typeof import('./src/tools/nano-memo/nano-memo.content.md')['default']
NavbarButtons: typeof import('./src/components/NavbarButtons.vue')['default']
NButton: typeof import('naive-ui')['NButton']
NCard: typeof import('naive-ui')['NCard']
NCheckbox: typeof import('naive-ui')['NCheckbox']
NCode: typeof import('naive-ui')['NCode']
NColorPicker: typeof import('naive-ui')['NColorPicker']
NConfigProvider: typeof import('naive-ui')['NConfigProvider']
NDivider: typeof import('naive-ui')['NDivider']
NDynamicInput: typeof import('naive-ui')['NDynamicInput']
NEllipsis: typeof import('naive-ui')['NEllipsis']
NForm: typeof import('naive-ui')['NForm']
NFormItem: typeof import('naive-ui')['NFormItem']
NGi: typeof import('naive-ui')['NGi']
NginxFormatter: typeof import('./src/tools/nginx-formatter/nginx-formatter.vue')['default']
NginxMemo: typeof import('./src/tools/nginx-memo/nginx-memo.vue')['default']
'NginxMemo.content': typeof import('./src/tools/nginx-memo/nginx-memo.content.md')['default']
NGrid: typeof import('naive-ui')['NGrid']
NH1: typeof import('naive-ui')['NH1']
NH3: typeof import('naive-ui')['NH3']
NIcon: typeof import('naive-ui')['NIcon']
NInput: typeof import('naive-ui')['NInput']
NInputNumber: typeof import('naive-ui')['NInputNumber']
NLayout: typeof import('naive-ui')['NLayout']
NLayoutSider: typeof import('naive-ui')['NLayoutSider']
NMenu: typeof import('naive-ui')['NMenu']
NRadio: typeof import('naive-ui')['NRadio']
NRadioGroup: typeof import('naive-ui')['NRadioGroup']
NScrollbar: typeof import('naive-ui')['NScrollbar']
NSelect: typeof import('naive-ui')['NSelect']
NSpace: typeof import('naive-ui')['NSpace']
NSpin: typeof import('naive-ui')['NSpin']
NStatistic: typeof import('naive-ui')['NStatistic']
NSwitch: typeof import('naive-ui')['NSwitch']
NTable: typeof import('naive-ui')['NTable']
NumberInput: typeof import('./src/tools/pomodoro-timer/app/components/NumberInput.vue')['default']
+122 -8
View File
@@ -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/sharevb/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: >-
@@ -301,6 +319,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: >-
@@ -429,6 +454,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: >-
@@ -439,6 +469,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.
@@ -469,3 +506,80 @@ tools:
description: Wandeln Sie CLI-Befehle mit Optionen in eine leicht bearbeitbare Form um und generieren Sie den Befehl mit Eingabewerten.
command: Befehl
placeholder: Befehl hier einfügen
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
+123 -33
View File
@@ -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.
@@ -273,6 +291,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
@@ -413,6 +438,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
@@ -421,6 +451,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
@@ -510,10 +547,6 @@ tools:
title: Area Units Converter
description: Convert values between area units
ascii-text-drawer:
title: ASCII Text Drawer
description: Create ASCII art text with many fonts and styles.
aspect-ratio-calculator:
title: Aspect Ratio Calculator
description: Use this ratio calculator to check the dimensions when resizing images.
@@ -666,10 +699,6 @@ tools:
title: Ed25519 key pair generator
description: Generate new random Ed25519 private and public keys (with or without passphrase).
email-normalizer:
title: Email normalizer
description: Normalize email addresses to a standard format for easier comparison. Useful for deduplication and data cleaning.
email-parser:
title: Email Parser
description: Parse and extract information from raw Email content
@@ -874,10 +903,6 @@ tools:
title: Json to Schema
description: Convert JSON data to JSON Schema, MySQL DDL, Mongoose Schema, Google BigQuery schema or ClickHouse Table Schema
json-to-xml:
title: Json to XML
description: Convert JSON to XML
jsonpath-memo:
title: JSONPath Syntax Cheatsheet
description: JSONPath Syntax Cheatsheet
@@ -918,10 +943,6 @@ tools:
title: Markdown Editor
description: Simple Markdown Editor
markdown-to-html:
title: Markdown to HTML
description: Convert Markdown to Html and allow to print (as PDF)
markdown-toc-generator:
title: Markdown toc generator
description: Generate a TOC from a markdown file/content
@@ -1046,14 +1067,6 @@ tools:
title: RAID Calculator
description: Calculate storage capacity, fault tolerance and space efficiency of an array based on the number of disks, size, and RAID type
regex-memo:
title: Regex cheatsheet
description: Javascript Regex/Regular Expression cheatsheet
regex-tester:
title: Regex Tester
description: Test your regular expressions with sample text.
rem-px-converter:
title: REM Pixel converter
description: Convert px to rem and vice versa
@@ -1078,10 +1091,6 @@ tools:
title: Rune converter
description: Convert Text to Runes and vice-versa
safelink-decoder:
title: Outlook Safelink decoder
description: Decode Outlook SafeLink links
sensitive-data-masker:
title: Sensitive data masker
description: Clean sensitive data from textual content (ie logs)
@@ -1182,10 +1191,6 @@ tools:
title: X509 certificate generator
description: Generate a self signed SSL/x509 certificate
xml-to-json:
title: XML to Json
description: Convert XML to JSON
xpath-memo:
title: XPath Syntax Cheatsheet
description: XPath Syntax Cheatsheet
@@ -1203,3 +1208,88 @@ tools:
description: Convert CLI commands with options into an easily editable form and generate the resulting command with input values.
command: Command
placeholder: Paste command here
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
+4 -3
View File
@@ -4,6 +4,7 @@ import { Base64 } from 'js-base64';
import type { UseValidationRule } from '@/composable/validation';
import CInputText from '@/ui/c-input-text/c-input-text.vue';
import { useDownloadFileFromBase64 } from '@/composable/downloadBase64';
import { translate as t } from '@/plugins/i18n.plugin';
const props = withDefaults(
defineProps<{
@@ -21,10 +22,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: '',
downloadFileName: '',
downloadButtonText: 'Download',
+2 -1
View File
@@ -1,6 +1,7 @@
<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
@@ -13,7 +14,7 @@ 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>
+3 -2
View File
@@ -1,13 +1,14 @@
<script setup lang="ts">
import { useCopy } from '@/composable/copy';
import { translate as t } from '@/plugins/i18n.plugin';
const props = withDefaults(defineProps<{ value?: string }>(), { value: '' });
const { value } = toRefs(props);
const initialText = 'Copy to clipboard';
const initialText = t('spanCopyable.copy');
const { copy, isJustCopied } = useCopy({ source: value, createToast: false });
const tooltipText = computed(() => isJustCopied.value ? 'Copied!' : initialText);
const tooltipText = computed(() => isJustCopied.value ? t('spanCopyable.copied') : initialText);
</script>
<template>
+3 -2
View File
@@ -20,6 +20,7 @@ import protobufHljs from 'highlight.js/lib/languages/protobuf';
import { Base64 } from 'js-base64';
import { useCopy } from '@/composable/copy';
import { useDownloadFileFromBase64 } from '@/composable/downloadBase64';
import { translate as t } from '@/plugins/i18n.plugin';
const props = withDefaults(
defineProps<{
@@ -38,7 +39,7 @@ const props = withDefaults(
followHeightOf: null,
language: 'txt',
copyPlacement: 'top-right',
copyMessage: 'Copy to clipboard',
copyMessage: t('textareaCopyable.copy'),
downloadFileName: '',
downloadButtonText: 'Download',
scrollable: false,
@@ -78,7 +79,7 @@ watch(value, () => {
}, { flush: 'post' });
const { copy, isJustCopied } = useCopy({ source: value, createToast: false });
const tooltipText = computed(() => isJustCopied.value ? 'Copied!' : copyMessage.value);
const tooltipText = computed(() => isJustCopied.value ? t('textareaCopyable.copied') : copyMessage.value);
const valueBase64 = computed(() => Base64.encode(value.value));
const { download } = useDownloadFileFromBase64(
@@ -125,7 +125,7 @@ function activateOption(option: PaletteOption) {
</c-button>
<c-modal v-model:open="isModalOpen" class="palette-modal" overflow-y-auto shadow-xl important:max-w-650px pretty-scrollbar important:pa-12px @keydown="handleKeydown">
<c-input-text ref="inputRef" v-model:value="searchPrompt" raw-text placeholder="Type to search a tool or a command..." autofocus clearable />
<c-input-text ref="inputRef" v-model:value="searchPrompt" raw-text :placeholder="$t('search.placeholder')" autofocus clearable />
<div v-for="(options, category) in filteredSearchResult" :key="category">
<div ml-3 mt-3 text-sm font-bold text-primary op-60>
@@ -10,6 +10,7 @@ const width = useStorage('ascii-text-drawer:width', 80);
const output = ref('');
const errored = ref(false);
const processing = ref(false);
const { t } = useI18n();
const base = import.meta.env.BASE_URL ?? '/';
@@ -56,8 +57,8 @@ const fonts = ['1Row', '3-D', '3D Diagonal', '3D-ASCII', '3x5', '4Max', '5 Line
<c-card>
<c-input-text
v-model:value="input"
label="Your text:"
placeholder="Your text to draw"
:label="t('tools.ascii-text-drawer.text')"
:placeholder="t('tools.ascii-text-drawer.placeholder')"
raw-text
multiline
rows="4"
@@ -71,14 +72,14 @@ const fonts = ['1Row', '3-D', '3D Diagonal', '3D-ASCII', '3x5', '4Max', '5 Line
<c-select
v-model:value="font"
label-position="top"
label="Font:"
:label="t('tools.ascii-text-drawer.font')"
:options="fonts"
searchable="true"
placeholder="Select font to use"
/>
</n-gi>
<n-gi span="2">
<n-form-item label="Width:" label-placement="top" label-width="100" :show-feedback="false">
<n-form-item :label="t('tools.ascii-text-drawer.width')" label-placement="top" label-width="100" :show-feedback="false">
<n-input-number v-model:value="width" min="0" max="10000" w-full placeholder="Width of the text" />
</n-form-item>
</n-gi>
@@ -88,14 +89,14 @@ const fonts = ['1Row', '3-D', '3D Diagonal', '3D-ASCII', '3x5', '4Max', '5 Line
<div v-if="processing" flex items-center justify-center>
<n-spin size="medium" />
<span class="ml-2">Loading font...</span>
<span class="ml-2">{{ t('tools.ascii-text-drawer.loading') }}</span>
</div>
<c-alert v-if="errored" mt-1 text-center type="error">
Current settings resulted in error.
{{ t('tools.ascii-text-drawer.error') }}
</c-alert>
<n-form-item v-if="!processing && !errored" label="Ascii Art text:">
<n-form-item v-if="!processing && !errored" :label="t('tools.ascii-text-drawer.output')">
<TextareaCopyable
:value="output"
mb-1 mt-1
@@ -5,17 +5,25 @@ import { textToBase64 } from '@/utils/base64';
const username = ref('');
const password = ref('');
const header = computed(() => `Authorization: Basic ${textToBase64(`${username.value}:${password.value}`)}`);
const { t } = useI18n();
const { copy } = useCopy({ source: header, text: 'Header copied to the clipboard' });
const { copy } = useCopy({ source: header, text: t('tools.basic-auth-generator.copied') });
</script>
<template>
<div>
<c-input-text v-model:value="username" label="Username" placeholder="Your username..." clearable raw-text mb-5 />
<c-input-text
v-model:value="username"
:label="t('tools.basic-auth-generator.username')"
:placeholder="t('tools.basic-auth-generator.yourusername')"
clearable
raw-text
mb-5
/>
<c-input-text
v-model:value="password"
label="Password"
placeholder="Your password..."
:label="t('tools.basic-auth-generator.password')"
:placeholder="t('tools.basic-auth-generator.yourpassword')"
clearable
raw-text
mb-2
@@ -31,7 +39,7 @@ const { copy } = useCopy({ source: header, text: 'Header copied to the clipboard
</c-card>
<div mt-5 flex justify-center>
<c-button @click="copy()">
Copy header
{{ t('tools.basic-auth-generator.button.copy') }}
</c-button>
</div>
</div>
+4 -3
View File
@@ -5,6 +5,7 @@ import { formatMs } from './chronometer.service';
const isRunning = ref(false);
const counter = ref(0);
const { t } = useI18n();
let previousRafDate = Date.now();
const { pause: pauseRaf, resume: resumeRaf } = useRafFn(
@@ -37,14 +38,14 @@ function pause() {
</c-card>
<div mt-5 flex justify-center gap-3>
<c-button v-if="!isRunning" type="primary" @click="resume">
Start
{{ t('tools.chronometer.button.start') }}
</c-button>
<c-button v-else type="warning" @click="pause">
Stop
{{ t('tools.chronometer.button.stop') }}
</c-button>
<c-button @click="counter = 0">
Reset
{{ t('tools.chronometer.button.reset') }}
</c-button>
</div>
</div>
@@ -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 });
</script>
<template>
<div>
<div class="mb-2">
Raw emails to normalize:
{{ t('tools.email-normalizer.input') }}
</div>
<c-input-text
v-model:value="emails"
placeholder="Put your emails here (one per line)..."
:placeholder="t('tools.email-normalizer.input-placeholder')"
rows="3"
multiline
autocomplete="off"
@@ -39,11 +40,11 @@ const { copy } = useCopy({ source: normalizedEmails, text: 'Normalized emails co
/>
<div class="mb-2 mt-4">
Normalized emails:
{{ t('tools.email-normalizer.output') }}
</div>
<c-input-text
:value="normalizedEmails"
placeholder="Normalized emails will appear here..."
:placeholder="t('tools.email-normalizer.output-placeholder')"
rows="3"
autocomplete="off"
autocorrect="off"
@@ -55,10 +56,10 @@ const { copy } = useCopy({ source: normalizedEmails, text: 'Normalized emails co
/>
<div class="mt-4 flex justify-center gap-2">
<c-button @click="emails = ''">
Clear emails
{{ t('tools.email-normalizer.button.clear') }}
</c-button>
<c-button :disabled="!normalizedEmails" @click="copy()">
Copy normalized emails
{{ t('tools.email-normalizer.button.copy') }}
</c-button>
</div>
</div>
+3 -2
View File
@@ -1,10 +1,11 @@
import { Mail } from '@vicons/tabler';
import { defineTool } from '../tool';
import { translate } from '@/plugins/i18n.plugin';
export const tool = defineTool({
name: 'Email normalizer',
name: translate('tools.email-normalizer.title'),
path: '/email-normalizer',
description: 'Normalize email addresses to a standard format for easier comparison. Useful for deduplication and data cleaning.',
description: translate('tools.email-normalizer.description'),
keywords: ['email', 'normalizer'],
component: () => import('./email-normalizer.vue'),
icon: Mail,
+3 -2
View File
@@ -1,10 +1,11 @@
import { Braces } from '@vicons/tabler';
import { defineTool } from '../tool';
import { translate } from '@/plugins/i18n.plugin';
export const tool = defineTool({
name: 'Json to XML',
name: translate('tools.json-to-xml.title'),
path: '/json-to-xml',
description: 'Convert JSON to XML',
description: translate('tools.json-to-xml.description'),
keywords: ['json', 'xml'],
component: () => import('./json-to-xml.vue'),
icon: Braces,
+5 -4
View File
@@ -4,6 +4,7 @@ import JSON5 from 'json5';
import { withDefaultOnError } from '@/utils/defaults';
import type { UseValidationRule } from '@/composable/validation';
const { t } = useI18n();
const defaultValue = '{"a":{"_attributes":{"x":"1.234","y":"It\'s"}}}';
function transformer(value: string) {
return withDefaultOnError(() => {
@@ -14,17 +15,17 @@ function transformer(value: string) {
const rules: UseValidationRule<string>[] = [
{
validator: (v: string) => v === '' || JSON5.parse(v),
message: 'Provided JSON is not valid.',
message: t('tools.json-to-xml.error'),
},
];
</script>
<template>
<format-transformer
input-label="Your JSON content"
:input-label="t('tools.json-to-xml.input')"
:input-default="defaultValue"
input-placeholder="Paste your JSON content here..."
output-label="Converted XML"
:input-placeholder="t('tools.json-to-xml.input-placeholder')"
:output-label="t('tools.json-to-xml.output')"
output-language="xml"
:transformer="transformer"
:input-validation-rules="rules"
+3 -2
View File
@@ -1,10 +1,11 @@
import { Markdown } from '@vicons/tabler';
import { defineTool } from '../tool';
import { translate } from '@/plugins/i18n.plugin';
export const tool = defineTool({
name: 'Markdown to HTML',
name: translate('tools.markdown-to-html.title'),
path: '/markdown-to-html',
description: 'Convert Markdown to Html and allow to print (as PDF)',
description: translate('tools.markdown-to-html.description'),
keywords: ['markdown', 'html', 'converter', 'pdf'],
component: () => import('./markdown-to-html.vue'),
icon: Markdown,
@@ -30,6 +30,7 @@ const outputHtml = computed(() => {
}
return md.render(inputMarkdown.value);
});
const { t } = useI18n();
function printHtml() {
const w = window.open();
@@ -46,10 +47,10 @@ function printHtml() {
<c-input-text
v-model:value="inputMarkdown"
multiline raw-text
placeholder="Your Markdown content..."
:placeholder="t('tools.markdown-to-html.markdownInput')"
rows="8"
autofocus
label="Your Markdown to convert:"
:label="t('tools.markdown-to-html.markdown')"
/>
<n-space justify="center" gap-1>
@@ -74,7 +75,7 @@ function printHtml() {
<n-divider />
<n-form-item label="Output HTML:">
<n-form-item :label="t('tools.markdown-to-html.html')">
<TextareaCopyable :value="outputHtml" :word-wrap="true" language="html" />
</n-form-item>
+3 -2
View File
@@ -1,10 +1,11 @@
import { BrandJavascript } from '@vicons/tabler';
import { defineTool } from '../tool';
import { translate } from '@/plugins/i18n.plugin';
export const tool = defineTool({
name: 'Regex cheatsheet',
name: translate('tools.regex-memo.title'),
path: '/regex-memo',
description: 'Javascript Regex/Regular Expression cheatsheet',
description: translate('tools.regex-memo.description'),
keywords: ['regex', 'regular', 'expression', 'javascript', 'memo', 'cheatsheet'],
component: () => import('./regex-memo.vue'),
icon: BrandJavascript,
+3 -2
View File
@@ -1,10 +1,11 @@
import { Language } from '@vicons/tabler';
import { defineTool } from '../tool';
import { translate } from '@/plugins/i18n.plugin';
export const tool = defineTool({
name: 'Regex Tester',
name: translate('tools.regex-tester.title'),
path: '/regex-tester',
description: 'Test your regular expressions with sample text.',
description: translate('tools.regex-tester.description'),
keywords: ['regex', 'tester', 'sample', 'expression'],
component: () => import('./regex-tester.vue'),
icon: Language,
+21 -20
View File
@@ -15,6 +15,7 @@ const dotAll = ref(true);
const unicode = ref(true);
const unicodeSets = ref(false);
const visualizerSVG = ref<ShadowRootExpose>();
const { t } = useI18n();
const regexValidation = useValidation({
source: regex,
@@ -92,36 +93,36 @@ watchEffect(
<template>
<div>
<c-card title="Regex" mb-1>
<c-card :title="t('tools.regex-tester.regex')" mb-1>
<c-input-text
v-model:value="regex"
label="Regex to test:"
placeholder="Put the regex to test"
:label="t('tools.regex-tester.regex-input')"
:placeholder="t('tools.regex-tester.regex-input-placeholder')"
multiline
rows="3"
:validation="regexValidation"
/>
<router-link target="_blank" to="/regex-memo" mb-1 mt-1>
See Regular Expression Cheatsheet
{{ t('tools.regex-tester.link') }}
</router-link>
<n-space>
<n-checkbox v-model:checked="global">
<span title="Global search">Global search. (<code>g</code>)</span>
<span :title="t('tools.regex-tester.global')">Global search (<code>g</code>)</span>
</n-checkbox>
<n-checkbox v-model:checked="ignoreCase">
<span title="Case-insensitive search">Case-insensitive search. (<code>i</code>)</span>
<span :title="t('tools.regex-tester.ignoreCase')">Case-insensitive search (<code>i</code>)</span>
</n-checkbox>
<n-checkbox v-model:checked="multiline">
<span title="Allows ^ and $ to match next to newline characters.">Multiline(<code>m</code>)</span>
<span :title="t('tools.regex-tester.multiline')">Multiline (<code>m</code>)</span>
</n-checkbox>
<n-checkbox v-model:checked="dotAll">
<span title="Allows . to match newline characters.">Singleline(<code>s</code>)</span>
<span :title="t('tools.regex-tester.dotAll')">Singleline (<code>s</code>)</span>
</n-checkbox>
<n-checkbox v-model:checked="unicode">
<span title="Unicode; treat a pattern as a sequence of Unicode code points.">Unicode(<code>u</code>)</span>
<span :title="t('tools.regex-tester.unicode')">Unicode (<code>u</code>)</span>
</n-checkbox>
<n-checkbox v-model:checked="unicodeSets">
<span title="An upgrade to the u mode with more Unicode features.">Unicode Sets (<code>v</code>)</span>
<span :title="t('tools.regex-tester.unicodeSets')">Unicode Sets (<code>v</code>)</span>
</n-checkbox>
</n-space>
@@ -129,28 +130,28 @@ watchEffect(
<c-input-text
v-model:value="text"
label="Text to match:"
placeholder="Put the text to match"
:label="t('tools.regex-tester.text-input')"
:placeholder="t('tools.regex-tester.text-input-placeholder')"
multiline
rows="5"
/>
</c-card>
<c-card title="Matches" mb-1 mt-3>
<c-card :title="t('tools.regex-tester.matches')" mb-1 mt-3>
<n-table v-if="results?.length > 0">
<thead>
<tr>
<th scope="col">
Index in text
{{ t('tools.regex-tester.text-index') }}
</th>
<th scope="col">
Value
{{ t('tools.regex-tester.value') }}
</th>
<th scope="col">
Captures
{{ t('tools.regex-tester.captures') }}
</th>
<th scope="col">
Groups
{{ t('tools.regex-tester.groups') }}
</th>
</tr>
</thead>
@@ -176,15 +177,15 @@ watchEffect(
</tbody>
</n-table>
<c-alert v-else>
No match
{{ t('tools.regex-tester.no-match') }}
</c-alert>
</c-card>
<c-card title="Sample matching text" mt-3>
<c-card :title="t('tools.regex-tester.sample')" mt-3>
<pre style="white-space: pre-wrap; word-break: break-all;">{{ sample }}</pre>
</c-card>
<c-card title="Regex Diagram" style="overflow-x: scroll;" mt-3>
<c-card :title="t('tools.regex-tester.diagram')" style="overflow-x: scroll;" mt-3>
<shadow-root ref="visualizerSVG">
&#xa0;
</shadow-root>
+3 -2
View File
@@ -1,10 +1,11 @@
import { Mailbox } from '@vicons/tabler';
import { defineTool } from '../tool';
import { translate } from '@/plugins/i18n.plugin';
export const tool = defineTool({
name: 'Outlook Safelink decoder',
name: translate('tools.safelink-decoder.title'),
path: '/safelink-decoder',
description: 'Decode Outlook SafeLink links',
description: translate('tools.safelink-decoder.description'),
keywords: ['outlook', 'safelink', 'decoder'],
component: () => import('./safelink-decoder.vue'),
icon: Mailbox,
@@ -2,6 +2,7 @@
import { decodeSafeLinksURL } from './safelink-decoder.service';
import TextareaCopyable from '@/components/TextareaCopyable.vue';
const { t } = useI18n();
const inputSafeLinkUrl = ref('');
const outputDecodedUrl = computed(() => {
try {
@@ -18,14 +19,14 @@ const outputDecodedUrl = computed(() => {
<c-input-text
v-model:value="inputSafeLinkUrl"
raw-text
placeholder="Your input Outlook SafeLink Url..."
:placeholder="t('tools.safelink-decoder.input-placeholder')"
autofocus
label="Your input Outlook SafeLink Url:"
:label="t('tools.safelink-decoder.input')"
/>
<n-divider />
<n-form-item label="Output decoded URL:">
<n-form-item :label="t('tools.safelink-decoder.output')">
<TextareaCopyable :value="outputDecodedUrl" :word-wrap="true" />
</n-form-item>
</div>
+3 -2
View File
@@ -1,10 +1,11 @@
import { Braces } from '@vicons/tabler';
import { defineTool } from '../tool';
import { translate } from '@/plugins/i18n.plugin';
export const tool = defineTool({
name: 'XML to Json',
name: translate('tools.xml-to-json.title'),
path: '/xml-to-json',
description: 'Convert XML to JSON',
description: translate('tools.xml-to-json.description'),
keywords: ['xml', 'json'],
component: () => import('./xml-to-json.vue'),
icon: Braces,
+5 -4
View File
@@ -4,6 +4,7 @@ import { isValidXML } from '../xml-formatter/xml-formatter.service';
import { withDefaultOnError } from '@/utils/defaults';
import type { UseValidationRule } from '@/composable/validation';
const { t } = useI18n();
const defaultValue = '<a x="1.234" y="It\'s"/>';
function transformer(value: string) {
return withDefaultOnError(() => {
@@ -14,17 +15,17 @@ function transformer(value: string) {
const rules: UseValidationRule<string>[] = [
{
validator: isValidXML,
message: 'Provided XML is not valid.',
message: t('tools.xml-to-json.error'),
},
];
</script>
<template>
<format-transformer
input-label="Your XML content"
:input-label="t('tools.xml-to-json.input')"
:input-default="defaultValue"
input-placeholder="Paste your XML content here..."
output-label="Converted JSON"
:input-placeholder="t('tools.xml-to-json.input-placeholder')"
:output-label="t('tools.xml-to-json.output')"
output-language="json"
:transformer="transformer"
:input-validation-rules="rules"