mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[apps/global_preferences] DefaultLanguage is the first of the locales
Not EN, because we might build without the EN locale
This commit is contained in:
committed by
EmilieNumworks
parent
19b5653851
commit
efff509e2a
@@ -25,8 +25,9 @@ public:
|
||||
void setFont(const KDFont * font) { m_font = font; }
|
||||
constexpr static int NumberOfBrightnessStates = 5;
|
||||
private:
|
||||
static_assert(I18n::NumberOfLanguages > 0, "I18n::NumberOfLanguages is not superior to 0"); // There should already have be an error when processing an empty EPSILON_I18N flag
|
||||
GlobalPreferences() :
|
||||
m_language(I18n::Language::EN),
|
||||
m_language((I18n::Language)0),
|
||||
m_examMode(ExamMode::Unknown),
|
||||
m_showPopUp(true),
|
||||
m_brightnessLevel(Ion::Backlight::MaxBrightness),
|
||||
|
||||
Reference in New Issue
Block a user