fix: add missing locale to factory restart options (#1023)

Signed-off-by: Stefan Dej <meteyou@gmail.com>

Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
Stefan Dej
2022-08-12 23:36:17 +02:00
committed by GitHub
parent fe9995882a
commit 157e099964
3 changed files with 21 additions and 15 deletions

View File

@@ -271,59 +271,63 @@ export default class SettingsGeneralTab extends Mixins(BaseMixin) {
return [
{
name: 'general',
label: this.$t('Settings.GeneralTab.General') + '',
label: this.$t('Settings.GeneralTab.General').toString(),
},
{
name: 'console',
label: this.$t('Settings.ConsoleTab.Console') + '',
label: this.$t('Settings.ConsoleTab.Console').toString(),
},
{
name: 'control',
label: this.$t('Settings.ControlTab.Control') + '',
label: this.$t('Settings.ControlTab.Control').toString(),
},
{
name: 'dashboard',
label: this.$t('Settings.DashboardTab.Dashboard') + '',
label: this.$t('Settings.DashboardTab.Dashboard').toString(),
},
{
name: 'editor',
label: this.$t('Settings.EditorTab.Editor') + '',
label: this.$t('Settings.EditorTab.Editor').toString(),
},
{
name: 'gcodeviewer',
label: this.$t('Settings.GCodeViewerTab.GCodeViewer') + '',
name: 'gcodeViewer',
label: this.$t('Settings.GCodeViewerTab.GCodeViewer').toString(),
},
{
name: 'gcodehistory',
label: this.$t('Settings.GeneralTab.DbConsoleHistory') + '',
label: this.$t('Settings.GeneralTab.DbConsoleHistory').toString(),
},
{
name: 'macros',
label: this.$t('Settings.MacrosTab.Macros') + '',
label: this.$t('Settings.MacrosTab.Macros').toString(),
},
{
name: 'notifications',
label: this.$t('App.Notifications.Notifications').toString(),
},
{
name: 'presets',
label: this.$t('Settings.PresetsTab.PreheatPresets') + '',
label: this.$t('Settings.PresetsTab.PreheatPresets').toString(),
},
{
name: 'remoteprinters',
label: this.$t('Settings.RemotePrintersTab.RemotePrinters') + '',
label: this.$t('Settings.RemotePrintersTab.RemotePrinters').toString(),
},
{
name: 'timelapse',
label: this.$t('Settings.TimelapseTab.Timelapse') + '',
label: this.$t('Settings.TimelapseTab.Timelapse').toString(),
},
{
name: 'uiSettings',
label: this.$t('Settings.UiSettingsTab.UiSettings') + '',
label: this.$t('Settings.UiSettingsTab.UiSettings').toString(),
},
{
name: 'view',
label: this.$t('Settings.GeneralTab.DbView') + '',
label: this.$t('Settings.GeneralTab.DbView').toString(),
},
{
name: 'webcams',
label: this.$t('Settings.WebcamsTab.Webcams') + '',
label: this.$t('Settings.WebcamsTab.Webcams').toString(),
},
]
}

View File

@@ -21,6 +21,7 @@
"Never": "nie",
"NextReboot": "nächsten Reboot",
"NoNotification": "Keine Benachrichtigung vorhanden",
"Notifications": "Benachrichtigungen",
"Remind": "Errinnere:"
},
"NumberInput": {

View File

@@ -21,6 +21,7 @@
"Never": "never",
"NextReboot": "next reboot",
"NoNotification": "No Notification available",
"Notifications": "Notifications",
"Remind": "Remind:"
},
"NumberInput": {