Skip to content

Commit 5c76902

Browse files
committed
fix(userconfig): ConfigLexiconEntry for locale
1 parent 901bb4d commit 5c76902

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

core/AppInfo/ConfigLexicon.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ 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';
27+
2628

2729
public function getStrictness(): ConfigLexiconStrictness {
2830
return ConfigLexiconStrictness::IGNORE;
@@ -39,6 +41,7 @@ public function getAppConfigs(): array {
3941
public function getUserConfigs(): array {
4042
return [
4143
new ConfigLexiconEntry(self::USER_LANGUAGE, ValueType::STRING, null, 'language'),
44+
new ConfigLexiconEntry(self::USER_LOCALE, ValueType::STRING, null, 'locale'),
4245
];
4346
}
4447
}

0 commit comments

Comments
 (0)