Skip to content

armgit / dashy

Public Imported from GitHub
0

🚀 A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

Updated localization. Fixed my own bug...

DimitriDRd3ced73cf300
diff --git a/src/assets/locales/en.json b/src/assets/locales/en.json
index 06d42c7c..9ca0e2b5 100644
--- a/src/assets/locales/en.json
+++ b/src/assets/locales/en.json
@@ -41,13 +41,6 @@
"logged-in-guest": "Logged in as Guest, Redirecting...",
"error-guest-access": "Guest Access Not Allowed"
},
- "splash-screen": {
- "loading": "Loading"
- },
- "site-meta": {
- "title": "Title",
- "description": "Description"
- },
"app-info": {
"title": "App Info",
"error-log": "Error Log",
diff --git a/src/assets/locales/fr.json b/src/assets/locales/fr.json
index 32ea9ad8..e432431c 100644
--- a/src/assets/locales/fr.json
+++ b/src/assets/locales/fr.json
@@ -47,13 +47,6 @@
"logged-in-guest": "Connecté en tant qu'invité, redirection...",
"error-guest-access": "L'accès invité n'est pas autorisé"
},
- "splash-screen": {
- "loading": "Chargement"
- },
- "site-meta": {
- "title": "Titre",
- "description": "Description"
- },
"app-info": {
"title": "Informations sur l'application",
"error-log": "Journal des erreurs",
@@ -61,9 +54,9 @@
"help-support": "Aide & Support",
"help-support-description" : "Pour obtenir de l'aide pour faire tourner ou configurer Dashy, voir les",
"help-support-discussions": "discussions",
- "support-dashy": "Soutenir financièrement Dashy",
- "support-dashy-description": "Pour savoir comment vous pouvez vous impliquer, consultez",
- "support-dashy-link": "la page « Contributions »",
+ "support-dashy": "Soutenir Dashy",
+ "support-dashy-description": "Pour savoir comment vous pouvez vous impliquer, consultez la page",
+ "support-dashy-link": "« Contributions »",
"report-bug": "Signaler un bug",
"report-bug-description": "Si vous pensez avoir trouvé un bug, alors s'il vous plaît, ",
"report-bug-link": "signalez-le",
@@ -73,8 +66,8 @@
"privacy-and-security": "Vie privée & Sécurité",
"privacy-and-security-l1": "Pour connaître la manière dont vos données sont gérées par Dashy, consultez la",
"privacy-and-security-privacy-policy": "politique de confidentialité",
- "app-info.privacy-and-security-advice": "Pour obtenir des conseils sur la sécurisation de votre tableau de bord, vous pouvez vous référer à la",
- "app-info.privacy-and-security-advice-link": "documentation",
+ "privacy-and-security-advice": "Pour obtenir des conseils sur la sécurisation de votre tableau de bord, vous pouvez vous référer à la",
+ "privacy-and-security-advice-link": "documentation",
"privacy-and-security-security-issue": "Si vous avez trouvé une potentielle faille de sécurité, signalez-la en suivant notre",
"privacy-and-security-security-policy": "politique en matière de sécurité",
"license": "Licence",
diff --git a/src/components/Configuration/AppInfoModal.vue b/src/components/Configuration/AppInfoModal.vue
index 9d3f4f77..57b64a10 100644
--- a/src/components/Configuration/AppInfoModal.vue
+++ b/src/components/Configuration/AppInfoModal.vue
@@ -28,8 +28,8 @@
{{ $t('app-info.privacy-and-security-security-issue') }}
<a href="https://github.com/Lissy93/dashy/blob/master/.github/SECURITY.md">{{ $t('app-info.privacy-and-security-security-policy') }}</a>
<!-- License -->
- <h3>{{ $t('app-info.licence') }}</h3>
- {{ $t('app-info.licence-under') }} <a href="https://github.com/Lissy93/dashy/blob/master/LICENSE">MIT X11</a>.
+ <h3>{{ $t('app-info.license') }}</h3>
+ {{ $t('app-info.license-under') }} <a href="https://github.com/Lissy93/dashy/blob/master/LICENSE">MIT X11</a>.
Copyright <a href="https://aliciasykes.com">Alicia Sykes</a> © 2021.<br>
{{ $t('app-info.licence-third-party') }} <a href="https://github.com/Lissy93/dashy/blob/master/.github/LEGAL.md">{{ $t('app-info.licence-third-party-link') }}</a>.<br>
{{ $t('app-info.list-contributors') }} <a href="https://github.com/Lissy93/dashy/blob/master/docs/credits.md">{{ $t('app-info.list-contributors-link') }}</a>.
diff --git a/src/components/Configuration/CloudBackupRestore.vue b/src/components/Configuration/CloudBackupRestore.vue
index e234359f..f8d75a65 100644
--- a/src/components/Configuration/CloudBackupRestore.vue
+++ b/src/components/Configuration/CloudBackupRestore.vue
@@ -9,7 +9,7 @@
{{ $t('cloud-sync.intro-l2') }}
<br>
{{ $t('cloud-sync.intro-l3') }}
- <a href="https://github.com/Lissy93/dashy/blob/master/docs/backup-restore.md">docs</a>
+ <a href="https://github.com/Lissy93/dashy/blob/master/docs/backup-restore.md">{{ $t('cloud-sync.intro-docs') }}</a>.
</p>
</div>
<!-- Create or update a backup form -->
diff --git a/src/components/Configuration/CustomCss.vue b/src/components/Configuration/CustomCss.vue
index dd1fc5a9..9448d2fa 100644
--- a/src/components/Configuration/CustomCss.vue
+++ b/src/components/Configuration/CustomCss.vue
@@ -2,7 +2,7 @@
<div class="css-editor-outer">
<!-- Add raw custom CSS -->
<div class="style-section css-wrapper">
- <h3>Custom CSS</h3>
+ <h3>{{ $t('config.custom-css.title') }}</h3>
<textarea class="css-editor" v-model="customCss" />
<Button class="save-button" :click="save">{{ $t('config.css-save-btn') }}</Button>
<p class="quick-note">
@@ -12,7 +12,7 @@
</div>
<!-- Theme Selector -->
<div class="style-section base-theme-wrapper">
- <h3>Base Theme</h3>
+ <h3>{{ $t('config.custom-css.base-theme') }}</h3>
<ThemeSelector :hidePallete="true" />
</div>
<!-- UI color configurator -->
diff --git a/src/components/PageStrcture/Footer.vue b/src/components/PageStrcture/Footer.vue
index 7aeba252..ab2ea2ea 100644
--- a/src/components/PageStrcture/Footer.vue
+++ b/src/components/PageStrcture/Footer.vue
@@ -7,10 +7,10 @@
Using: {{ $store.state.currentConfigInfo.confPath }}
</span>
<span>
- Developed by <a :href="authorUrl">{{authorName}}</a>.
- Licensed under <a :href="licenseUrl">{{license}}</a>
+ {{ $t('footer.dev-by') }} <a :href="authorUrl">{{authorName}}</a>.
+ {{ $t('footer.licensed-under') }} <a :href="licenseUrl">{{license}}</a>
{{ showCopyright? '©': '' }} {{date}}.
- Get the <a :href="repoUrl">Source Code</a>.
+ {{ $t('footer.get-the') }} <a :href="repoUrl">{{ $t('footer.source-code') }}</a>.
</span>
</footer>
</template>