diff --git a/src/renderer/components/general-settings/general-settings.js b/src/renderer/components/general-settings/general-settings.js index 368c321d..509328b6 100644 --- a/src/renderer/components/general-settings/general-settings.js +++ b/src/renderer/components/general-settings/general-settings.js @@ -122,8 +122,8 @@ export default Vue.extend({ this.$t('Settings.General Settings.System Default') ] - Object.keys(this.$i18n.messages).forEach((locale) => { - const localeName = this.$i18n.messages[locale]['Locale Name'] + Object.entries(this.$i18n.messages).forEach(([locale, localeData]) => { + const localeName = localeData['Locale Name'] if (typeof localeName !== 'undefined') { names.push(localeName) } else {