mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-23 21:55:30 +02:00
⚡ Removed demo language, adds note when thres only 1 language
This commit is contained in:
parent
914b381436
commit
a829099631
@ -1,130 +0,0 @@
|
|||||||
{
|
|
||||||
"home": {
|
|
||||||
"no-results": "___",
|
|
||||||
"no-data": "_________"
|
|
||||||
},
|
|
||||||
"search": {
|
|
||||||
"search-label": "______",
|
|
||||||
"search-placeholder": "_________",
|
|
||||||
"clear-search-tooltip": "______"
|
|
||||||
},
|
|
||||||
"login": {
|
|
||||||
"title": "___",
|
|
||||||
"username-label": "______",
|
|
||||||
"password-label": "______",
|
|
||||||
"login-button": "___",
|
|
||||||
"remember-me-label": "_________",
|
|
||||||
"remember-me-never": "___",
|
|
||||||
"remember-me-hour": "____",
|
|
||||||
"remember-me-day": "___",
|
|
||||||
"remember-me-week": "___"
|
|
||||||
},
|
|
||||||
"config": {
|
|
||||||
"main-tab": "______",
|
|
||||||
"view-config-tab": "_________",
|
|
||||||
"edit-config-tab": "_________",
|
|
||||||
"custom-css-tab": "_________",
|
|
||||||
"heading": "_________",
|
|
||||||
"download-config-button": "_________",
|
|
||||||
"edit-config-button": "_________",
|
|
||||||
"edit-css-button": "_________",
|
|
||||||
"cloud-sync-button": "_________",
|
|
||||||
"edit-cloud-sync-button": "_________",
|
|
||||||
"rebuild-app-button": "_________",
|
|
||||||
"change-language-button": "_________",
|
|
||||||
"reset-settings-button": "_________",
|
|
||||||
"app-info-button": "_________",
|
|
||||||
"app-version-note": "_________",
|
|
||||||
"backup-note": "_________________________________",
|
|
||||||
"reset-config-msg-l1": "_________________________________",
|
|
||||||
"reset-config-msg-l2": "_________________________________",
|
|
||||||
"reset-config-msg-l3": "_________________________________",
|
|
||||||
"data-cleared-msg": "_________",
|
|
||||||
"actions-label": "___",
|
|
||||||
"copy-config-label": "___",
|
|
||||||
"data-copied-msg": "_________",
|
|
||||||
"reset-config-label": "______",
|
|
||||||
"css-save-btn": "______",
|
|
||||||
"css-note-label": "___",
|
|
||||||
"css-note-l1": "____________________________________",
|
|
||||||
"css-note-l2": "____________________________________",
|
|
||||||
"css-note-l3": "____________________________________"
|
|
||||||
},
|
|
||||||
"settings": {
|
|
||||||
"theme-label": "___",
|
|
||||||
"layout-label": "___",
|
|
||||||
"layout-auto": "___",
|
|
||||||
"layout-horizontal": "______",
|
|
||||||
"layout-vertical": "______",
|
|
||||||
"item-size-label": "______",
|
|
||||||
"item-size-small": "______",
|
|
||||||
"item-size-medium": "______",
|
|
||||||
"item-size-large": "______",
|
|
||||||
"config-launcher-label": "______"
|
|
||||||
},
|
|
||||||
"theme-maker": {
|
|
||||||
"title": "_________",
|
|
||||||
"export-button": "_________",
|
|
||||||
"reset-button": "_________",
|
|
||||||
"show-all-button": "_________",
|
|
||||||
"save-button": "___",
|
|
||||||
"cancel-button": "___",
|
|
||||||
"saved-toast": "{theme} _________",
|
|
||||||
"copied-toast": "___ {theme} ___",
|
|
||||||
"reset-toast": "___ {theme} ___"
|
|
||||||
},
|
|
||||||
"config-editor": {
|
|
||||||
"save-location-label": "_________",
|
|
||||||
"location-local-label": "_________",
|
|
||||||
"location-disk-label": "_________",
|
|
||||||
"save-button": "_________",
|
|
||||||
"valid-label": "_________",
|
|
||||||
"status-success-msg": "_________",
|
|
||||||
"status-fail-msg": "_________",
|
|
||||||
"success-msg-disk": "_________",
|
|
||||||
"success-msg-local": "_________",
|
|
||||||
"success-note-l1": "_________",
|
|
||||||
"success-note-l2": "_________",
|
|
||||||
"success-note-l3": "__________________",
|
|
||||||
"error-msg-save-mode": "__________________",
|
|
||||||
"error-msg-cannot-save": "__________________",
|
|
||||||
"error-msg-bad-json": "__________________",
|
|
||||||
"warning-msg-validation": "__________________"
|
|
||||||
},
|
|
||||||
"app-rebuild": {
|
|
||||||
"title": "______",
|
|
||||||
"rebuild-note-l1": "__________________",
|
|
||||||
"rebuild-note-l2": "__________________",
|
|
||||||
"rebuild-note-l3": "__________________",
|
|
||||||
"rebuild-button": "_________",
|
|
||||||
"rebuilding-status-1": "______...",
|
|
||||||
"rebuilding-status-2": "_________",
|
|
||||||
"error-permission": "_________",
|
|
||||||
"success-msg": "_________",
|
|
||||||
"fail-msg": "_________",
|
|
||||||
"reload-note": "_________",
|
|
||||||
"reload-button": "______"
|
|
||||||
},
|
|
||||||
"cloud-sync": {
|
|
||||||
"title": "_________",
|
|
||||||
"intro-l1": "__________________",
|
|
||||||
"intro-l2": "__________________",
|
|
||||||
"intro-l3": "__________________",
|
|
||||||
"backup-title-setup": "_________",
|
|
||||||
"backup-title-update": "_________",
|
|
||||||
"password-label-setup": "_________",
|
|
||||||
"password-label-update": "_________",
|
|
||||||
"backup-button-setup": "______",
|
|
||||||
"backup-button-update": "______",
|
|
||||||
"backup-id-label": "______",
|
|
||||||
"backup-id-note": "__________________",
|
|
||||||
"restore-title": "_________",
|
|
||||||
"restore-id-label": "_________",
|
|
||||||
"restore-password-label": "______",
|
|
||||||
"restore-button": "______",
|
|
||||||
"backup-error-unknown": "_________",
|
|
||||||
"backup-error-password": "_________",
|
|
||||||
"backup-success-msg": "_________",
|
|
||||||
"restore-success-msg": "_________"
|
|
||||||
}
|
|
||||||
}
|
|
@ -15,6 +15,10 @@
|
|||||||
<SaveConfigIcon />
|
<SaveConfigIcon />
|
||||||
</Button>
|
</Button>
|
||||||
<p v-if="language">{{ language.flag }} {{ language.name }}</p>
|
<p v-if="language">{{ language.flag }} {{ language.name }}</p>
|
||||||
|
<p v-if="$i18n.availableLocales.length <= 1" class="sad-times">
|
||||||
|
There are not currently any additional languages supported,
|
||||||
|
but stay tuned as more are on their way!
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -82,6 +86,11 @@ export default {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p.sad-times {
|
||||||
|
color: var(--warning);
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
.language-dropdown {
|
.language-dropdown {
|
||||||
margin: 1rem auto;
|
margin: 1rem auto;
|
||||||
div.vs__dropdown-toggle {
|
div.vs__dropdown-toggle {
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
// Locales - Import translation files here!
|
// Locales - Import translation files here!
|
||||||
import en from '@/assets/locales/en.json';
|
import en from '@/assets/locales/en.json';
|
||||||
import de from '@/assets/locales/de.json';
|
|
||||||
|
|
||||||
// Language data - Add your country name, locale code and imported file here
|
// Language data - Add your country name, locale code and imported file here
|
||||||
export const languages = [
|
export const languages = [
|
||||||
@ -10,17 +9,11 @@ export const languages = [
|
|||||||
locale: en,
|
locale: en,
|
||||||
flag: '🇬🇧',
|
flag: '🇬🇧',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: 'German',
|
|
||||||
code: 'de',
|
|
||||||
locale: de,
|
|
||||||
flag: '🇩🇪',
|
|
||||||
},
|
|
||||||
// Including:
|
// Including:
|
||||||
// name - Human readable name for your language
|
// name - Human readable name for your language (e.g German)
|
||||||
// code - ISO language code
|
// code - ISO language code (e.g. de)
|
||||||
// locale - The file that you imported above
|
// locale - The file that you imported above
|
||||||
// flag - A nice emoji flag (optional)
|
// flag - A nice emoji flag (optional, e.g. 🇩🇪)
|
||||||
];
|
];
|
||||||
|
|
||||||
const i18nMessages = {};
|
const i18nMessages = {};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user