diff --git a/src/tools/currency-converter/currency-converter.vue b/src/tools/currency-converter/currency-converter.vue index ac8d0941..1b6ae429 100644 --- a/src/tools/currency-converter/currency-converter.vue +++ b/src/tools/currency-converter/currency-converter.vue @@ -1,9 +1,10 @@ @@ -359,7 +370,7 @@ function updateMarker() { -
+
diff --git a/src/tools/geo-coordinates-converter/index.ts b/src/tools/geo-coordinates-converter/index.ts index 2f23bc29..7d4b0a0a 100644 --- a/src/tools/geo-coordinates-converter/index.ts +++ b/src/tools/geo-coordinates-converter/index.ts @@ -10,5 +10,5 @@ export const tool = defineTool({ icon: defineAsyncComponent(() => import('@tabler/icons-vue/dist/esm/icons/IconWorldPin.mjs')), createdAt: new Date('2026-01-09'), category: 'Converters', - externAccessDescription: 'This tool access OpenStreetMap to display the World map using the Leaflet library.', + externAccessDescription: t('tools.geo-coordinates-converter.externalAccess'), }); diff --git a/src/tools/json-editor/json-editor.vue b/src/tools/json-editor/json-editor.vue index 513c903d..e55f3685 100644 --- a/src/tools/json-editor/json-editor.vue +++ b/src/tools/json-editor/json-editor.vue @@ -54,7 +54,11 @@ const schemaUrl = useQueryParamOrStorage({ storageName: 'json-editor:schema', defaultValue: '', }); -const { schemas, errors: validationErrors } = useJsonSchemaValidation({ json: jsonText, schemaUrl, schemaData }); +const { + schemas, + errors: validationErrors, + catalogAvailable, +} = useJsonSchemaValidation({ json: jsonText, schemaUrl, schemaData }); function tryAutoRepair() { try { @@ -128,6 +132,7 @@ const formattedJson = computed(() => { ...schemas.map((s) => ({ label: `${s.name} / ${s.description}`, value: s.url })), ]" filterable + :tag="!catalogAvailable" mb-4 /> diff --git a/src/tools/json-linter/json-linter.vue b/src/tools/json-linter/json-linter.vue index 3ac2b12c..21e08909 100644 --- a/src/tools/json-linter/json-linter.vue +++ b/src/tools/json-linter/json-linter.vue @@ -37,7 +37,11 @@ const schemaUrl = useQueryParamOrStorage({ storageName: 'json-linter:schema', defaultValue: '', }); -const { schemas, errors: validationErrors } = useJsonSchemaValidation({ json: jsonContent, schemaUrl, schemaData }); +const { + schemas, + errors: validationErrors, + catalogAvailable, +} = useJsonSchemaValidation({ json: jsonContent, schemaUrl, schemaData }); const indentSize = useITStorage('json-linter:indent-size', 3); const autoRepair = useITStorage('json-linter:repair', true); @@ -88,6 +92,7 @@ const cleanJson = computed(() => { ...schemas.map((s) => ({ label: `${s.name} / ${s.description}`, value: s.url })), ]" filterable + :tag="!catalogAvailable" mb-4 /> diff --git a/src/tools/json-viewer/json-viewer.vue b/src/tools/json-viewer/json-viewer.vue index 0b42ae5a..bbd01195 100644 --- a/src/tools/json-viewer/json-viewer.vue +++ b/src/tools/json-viewer/json-viewer.vue @@ -50,7 +50,11 @@ const schemaUrl = useQueryParamOrStorage({ storageName: 'json-prettify:schema', defaultValue: '', }); -const { schemas, errors: validationErrors } = useJsonSchemaValidation({ json: rawJson, schemaUrl, schemaData }); +const { + schemas, + errors: validationErrors, + catalogAvailable, +} = useJsonSchemaValidation({ json: rawJson, schemaUrl, schemaData });