Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementing language selection #212

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
14 changes: 14 additions & 0 deletions app/common/setting-definitions.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,20 @@ _VAL[_NAM.CFGS_THEME_NAME] = (v)=>{
return (( v === 'default-dark' || v === 'default' ) ? v : undefined);
};

// language options
_NAM.CFGS_LANG_NAME = 'language';
_DEF[_NAM.CFGS_LANG_NAME] = 'fr';
_VAL[_NAM.CFGS_LANG_NAME] = (v)=>{
return v;
};
_NAM.CFGS_LANG_LOCALE = 'lang-locale';
_DEF[_NAM.CFGS_LANG_LOCALE] = '';
_VAL[_NAM.CFGS_LANG_LOCALE] = (v)=>{
return v;
};
// END language


_NAM.CFGS_SCROLLBAR_COLOR = 'skinny-scrollbar-color';
_DEF[_NAM.CFGS_SCROLLBAR_COLOR] = '';
_VAL[_NAM.CFGS_SCROLLBAR_COLOR] = (v)=>{
Expand Down
16 changes: 16 additions & 0 deletions app/settings/__custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,20 @@ span.plain {
text-decoration: none;
}

#user_locale {
display: none;
resize: vertical;
}

#user_locale_btn {
display: none;
margin-left: 0.5em;
}
.floatLeft {
float: left;
}
.show {
display: initial;
}

/* vi: set ts=4 sts=4 sw=4 et ai: */
Loading