mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-12 08:42:13 -04:00
feat: add setting to change and hotreload locale (#1817)
* feat: add setting to change and hotreload locale * fix: typo in component id * feat: add persistent locale setting * feat: wrap useLocale in a settings set hook, enable locale hotreload when editing settings file * chore: update translation and settings file * feat: enable fuzzy search in locale setting * fix: regenerate translations with official plugins cloned * fix: revert back to system's locale for displaying certain time formats
This commit is contained in:
@@ -444,7 +444,7 @@ Singleton {
|
||||
|
||||
const date = new Date();
|
||||
date.setDate(date.getDate() + index);
|
||||
const locale = Qt.locale();
|
||||
const locale = I18n.locale();
|
||||
return locale.dayName(date.getDay(), Locale.ShortFormat);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user