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!

:globe_with_meridians: Adds missing translations for view-switcher

Alicia Sykes42884a03e73b
diff --git a/src/assets/locales/en.json b/src/assets/locales/en.json
index 058ed69c..2fd79825 100644
--- a/src/assets/locales/en.json
+++ b/src/assets/locales/en.json
@@ -60,6 +60,11 @@
"css-note-l2": "Styles overrides are only stored locally, so it is recommended to make a copy of your CSS.",
"css-note-l3": "To remove all custom styles, delete the contents and hit Save Changes"
},
+ "alternate-views": {
+ "default": "Default",
+ "workspace": "Workspace",
+ "minimal": "Minimal"
+ },
"settings": {
"theme-label": "Theme",
"layout-label": "Layout",
diff --git a/src/components/Settings/ConfigLauncher.vue b/src/components/Settings/ConfigLauncher.vue
index 3742bdeb..b0d2e89a 100644
--- a/src/components/Settings/ConfigLauncher.vue
+++ b/src/components/Settings/ConfigLauncher.vue
@@ -26,16 +26,16 @@
<ul>
<li>
<router-link to="/home">
- <IconHome /><span>Default</span>
+ <IconHome /><span>{{ $t('alternate-views.default') }}</span>
</router-link>
</li>
<li>
<router-link to="/minimal">
- <IconMinimalView /><span>Minimal</span>
+ <IconMinimalView /><span>{{ $t('alternate-views.minimal') }}</span>
</router-link>
<li>
<router-link to="/workspace">
- <IconWorkspaceView /><span>Workspace</span>
+ <IconWorkspaceView /><span>{{ $t('alternate-views.workspace') }}</span>
</router-link>
</li>
</ul>