🗺️ Adds default value for language, English

This commit is contained in:
Alicia Sykes 2021-07-24 21:40:21 +01:00
parent 075e63f9b5
commit b1f176260b
1 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,8 @@ module.exports = {
}, },
/* Default appConfig to be used, if user does not specify their own */ /* Default appConfig to be used, if user does not specify their own */
appConfig: {}, appConfig: {},
/* Default language code */
language: 'en',
/* Default icon size to be applied on initial load */ /* Default icon size to be applied on initial load */
iconSize: 'medium', iconSize: 'medium',
/* Default layout to be applied on initial load */ /* Default layout to be applied on initial load */
@ -58,6 +60,7 @@ module.exports = {
}, },
/* Key names for local storage identifiers */ /* Key names for local storage identifiers */
localStorageKeys: { localStorageKeys: {
LANGUAGE: 'language',
HIDE_WELCOME_BANNER: 'hideWelcomeHelpers', HIDE_WELCOME_BANNER: 'hideWelcomeHelpers',
LAYOUT_ORIENTATION: 'layoutOrientation', LAYOUT_ORIENTATION: 'layoutOrientation',
COLLAPSE_STATE: 'collapseState', COLLAPSE_STATE: 'collapseState',
@ -87,6 +90,7 @@ module.exports = {
REBUILD_APP: 'REBUILD_APP', REBUILD_APP: 'REBUILD_APP',
THEME_MAKER: 'THEME_MAKER', THEME_MAKER: 'THEME_MAKER',
ABOUT_APP: 'ABOUT_APP', ABOUT_APP: 'ABOUT_APP',
LANG_SWITCHER: 'LANG_SWITCHER',
}, },
/* Key names for the top-level objects in conf.yml */ /* Key names for the top-level objects in conf.yml */
topLevelConfKeys: { topLevelConfKeys: {