From 6c585ac011095248887bde3d6a9920cecb741c39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Fri, 11 Aug 2023 19:12:55 +0200 Subject: [PATCH] Localize the license's url --- src/locales/en.json | 2 ++ src/locales/fr.json | 2 ++ src/views/AboutView.vue | 6 ++---- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/locales/en.json b/src/locales/en.json index 3ccd1fc..3323d65 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -19,6 +19,8 @@ "name": "Sub-Address KEy (SAKE) app", "version": "Version: {version}", "license": "License: {mit} or {apache}", + "license_mit_url": "https://en.wikipedia.org/wiki/MIT_License", + "license_apache_url": "https://en.wikipedia.org/wiki/Apache_License", "repository": "Repository: {url}", "close": "@:invariants.controls.close" }, diff --git a/src/locales/fr.json b/src/locales/fr.json index 0e2460a..74663c2 100644 --- a/src/locales/fr.json +++ b/src/locales/fr.json @@ -19,6 +19,8 @@ "name": "Sub-Address KEy (SAKE) app", "version": "Version : {version}", "license": "Licence : {mit} ou {apache}", + "license_mit_url": "https://fr.wikipedia.org/wiki/Licence_MIT", + "license_apache_url": "https://fr.wikipedia.org/wiki/Licence_Apache", "repository": "Dépôt : {url}", "close": "@:invariants.controls.close" }, diff --git a/src/views/AboutView.vue b/src/views/AboutView.vue index 796d87b..d2fbbb1 100644 --- a/src/views/AboutView.vue +++ b/src/views/AboutView.vue @@ -5,8 +5,6 @@ import LayoutComponent from '../components/LayoutComponent.vue'; import ExternalLinkComponent from '../components/ExternalLinkComponent.vue'; const router = useRouter(); -const mitLicenseUrl = 'https://spdx.org/licenses/MIT.html'; -const apacheLicenseUrl = 'https://spdx.org/licenses/Apache-2.0.html'; const repoUrl = 'https://github.com/breard-r/sake-app'; const toMainView = () => { @@ -24,10 +22,10 @@ const toMainView = () => {