Skip to content

Commit a122fa4

Browse files
pako81solracsf
authored andcommitted
fix(userconfig): ConfigLexiconEntry for locale
1 parent 9ad84dd commit a122fa4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/AppInfo/ConfigLexicon.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ class ConfigLexicon implements IConfigLexicon {
2323
public const UNIFIED_SEARCH_MAX_RESULTS_PER_REQUEST = 'unified_search_max_results_per_request';
2424
public const USER_LANGUAGE = 'lang';
2525
public const LASTCRON_TIMESTAMP = 'lastcron';
26+
public const USER_LOCALE = 'locale';
2627

2728
public function getStrictness(): ConfigLexiconStrictness {
2829
return ConfigLexiconStrictness::IGNORE;
@@ -39,6 +40,7 @@ public function getAppConfigs(): array {
3940
public function getUserConfigs(): array {
4041
return [
4142
new ConfigLexiconEntry(self::USER_LANGUAGE, ValueType::STRING, null, 'language'),
43+
new ConfigLexiconEntry(self::USER_LOCALE, ValueType::STRING, null, 'locale'),
4244
];
4345
}
4446
}

0 commit comments

Comments
 (0)