Adding error messages and splash screen.

This commit is contained in:
DimitriDR 2023-01-07 23:28:57 +01:00
parent d3ced73cf3
commit f214667f51
4 changed files with 13 additions and 7 deletions

View File

@ -10,6 +10,9 @@
"clear-search-tooltip": "Clear Search",
"enter-to-search-web": "Press enter to search the web"
},
"splash-screen": {
"loading": "Loading"
},
"login": {
"title": "Dashy",
"guest-label": "Guest Access",
@ -86,6 +89,8 @@
"rebuild-app-button": "Rebuild Application",
"change-language-button": "Change App Language",
"reset-settings-button": "Reset Local Settings",
"disabled-note": "Some configuration features have been disabled by your administrator",
"small-screen-note": "You are using a very small screen, and some screens in this menu may not be optimal",
"app-info-button": "App Info",
"backup-note": "It is recommended to make a backup of your configuration before making changes.",
"reset-config-msg-l1": "This will remove all user settings from local storage, but won't affect your 'conf.yml' file.",

View File

@ -10,6 +10,9 @@
"clear-search-tooltip": "Effacer la recherche",
"enter-to-search-web": "Appuyez sur entrée pour rechercher sur le Web"
},
"splash-screen": {
"loading": "Chargement"
},
"footer": {
"dev-by": "Développé par",
"licensed-under": "Sous licence",
@ -92,6 +95,8 @@
"rebuild-app-button": "Reconstruire l'application",
"change-language-button": "Changer la langue",
"reset-settings-button": "Réinitialiser les paramètres locaux",
"disabled-note": "Certaines fonctionnalités de configuration ont été désactivées par votre administrateur",
"small-screen-note": "Vous utilisez un très petit écran, et certains menus peuvent ne pas apparaître de manière optimale",
"app-info-button": "Informations sur l'application",
"backup-note": "Il est recommandé de faire une sauvegarde de votre configuration avant d'apporter des modifications.",
"reset-config-msg-l1": "Cela supprimera tous les paramètres utilisateur du stockage local, mais n'affectera pas votre fichier 'conf.yml'.",

View File

@ -54,12 +54,8 @@
<AppVersion />
</div>
<!-- Display note if Config disabled, or if on mobile -->
<p v-if="!enableConfig" class="config-disabled-note">
Some configuration features have been disabled by your administrator
</p>
<p class="small-screen-note" style="display: none;">
You are using a very small screen, and some screens in this menu may not be optimal
</p>
<p v-if="!enableConfig" class="config-disabled-note">{{ $t('config.disabled-note') }}</p>
<p class="small-screen-note" style="display: none;">{{ $t('config.small-screen-note') }}</p>
<div class="config-note">
<span>{{ $t('config.backup-note') }}</span>
</div>

View File

@ -3,7 +3,7 @@
<div id="loading" v-if="isLoading" :class="c" @click="c = 'hide'">
<h2>Dashy</h2>
<div class="inner-container">
<p>Loading</p>
<p>{{ $t('splash-screen.loading')}}</p>
<span class="dots-cont">
<span class="dot dot-1"></span>
<span class="dot dot-2"></span>