mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-15 18:22:08 -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:
@@ -3925,6 +3925,27 @@
|
||||
],
|
||||
"description": "Automatically lock the screen when DMS starts"
|
||||
},
|
||||
{
|
||||
"section": "lockBeforeSuspend",
|
||||
"label": "Lock before suspend",
|
||||
"tabIndex": 11,
|
||||
"category": "Lock Screen",
|
||||
"keywords": [
|
||||
"automatic",
|
||||
"automatically",
|
||||
"before",
|
||||
"lock",
|
||||
"login",
|
||||
"password",
|
||||
"prepares",
|
||||
"screen",
|
||||
"security",
|
||||
"sleep",
|
||||
"suspend",
|
||||
"system"
|
||||
],
|
||||
"description": "Automatically lock the screen when the system prepares to suspend"
|
||||
},
|
||||
{
|
||||
"section": "lockScreenNotificationMode",
|
||||
"label": "Notification Display",
|
||||
@@ -5849,27 +5870,6 @@
|
||||
"icon": "schedule",
|
||||
"description": "Gradually fade the screen before locking with a configurable grace period"
|
||||
},
|
||||
{
|
||||
"section": "lockBeforeSuspend",
|
||||
"label": "Lock before suspend",
|
||||
"tabIndex": 21,
|
||||
"category": "Power & Sleep",
|
||||
"keywords": [
|
||||
"automatically",
|
||||
"before",
|
||||
"energy",
|
||||
"lock",
|
||||
"power",
|
||||
"prepares",
|
||||
"screen",
|
||||
"security",
|
||||
"shutdown",
|
||||
"sleep",
|
||||
"suspend",
|
||||
"system"
|
||||
],
|
||||
"description": "Automatically lock the screen when the system prepares to suspend"
|
||||
},
|
||||
{
|
||||
"section": "fadeToLockGracePeriod",
|
||||
"label": "Lock fade grace period",
|
||||
@@ -6437,5 +6437,33 @@
|
||||
"volume"
|
||||
],
|
||||
"icon": "computer"
|
||||
},
|
||||
{
|
||||
"section": "_tab_30",
|
||||
"label": "Locale",
|
||||
"tabIndex": 30,
|
||||
"category": "Locale",
|
||||
"keywords": [
|
||||
"country",
|
||||
"language",
|
||||
"locale"
|
||||
],
|
||||
"icon": "language"
|
||||
},
|
||||
{
|
||||
"section": "locale",
|
||||
"label": "Locale Settings",
|
||||
"tabIndex": 30,
|
||||
"category": "Locale",
|
||||
"keywords": [
|
||||
"change",
|
||||
"country",
|
||||
"interface",
|
||||
"language",
|
||||
"locale",
|
||||
"settings"
|
||||
],
|
||||
"icon": "language",
|
||||
"description": "Change the locale used by the DMS interface."
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user