Add disable setting for all softlock notifications

Tested on erosq

Added ability to disable all softlock notifications. Setting is
"Disable All Lock Notifications" under Advanced Key Lock
Settings.

Tested to make sure it doesn't interfere with backlight
exemptions, keylock exemptions, or first press enables backlight
only. When enabled, this overrules the existing Disable Notify
setting, which only disables the reminders when a button is
pressed while the device is already locked.

Also changed phrases in the Advanced Key Lock settings menu
to make it more obvious what the options do. Changed
LANG_ACTION_PLAY, LANG_ACTION_SEEK, and LANG_ACTION_SKIP from
"[button]" to "Exempt [button]". These language changes will
also affect the Backlight Exemptions list, but the wording
should be appropriate there as well.

Added LANG_SOFTLOCK_DISABLE_ALL_NOTIFY and LANG_ACTION_VOLUME,
changed LANG_VOLUME to LANG_ACTION_VOLUME in display_menu.c
for consistency.

Change-Id: I914fe154ba5d508a842165aea7c7755e4e6b9c57
This commit is contained in:
Dana Conrad 2021-03-20 15:11:05 -05:00 committed by William Wilgus
parent bf9fdb13c4
commit 1c54c5227b
5 changed files with 60 additions and 28 deletions

View file

@ -12476,13 +12476,13 @@
desc: Selective Actions
user: core
<source>
*: "Play"
*: "Exempt Play"
</source>
<dest>
*: "Play"
*: "Exempt Play"
</dest>
<voice>
*: "Play"
*: "Exempt Play"
</voice>
</phrase>
<phrase>
@ -12490,13 +12490,13 @@
desc: Selective Actions
user: core
<source>
*: "Seek"
*: "Exempt Seek"
</source>
<dest>
*: "Seek"
*: "Exempt Seek"
</dest>
<voice>
*: "Seek"
*: "Exempt Seek"
</voice>
</phrase>
<phrase>
@ -12504,13 +12504,13 @@
desc: Selective Actions
user: core
<source>
*: "Skip"
*: "Exempt Skip"
</source>
<dest>
*: "Skip"
*: "Exempt Skip"
</dest>
<voice>
*: "Skip"
*: "Exempt Skip"
</voice>
</phrase>
<phrase>
@ -12602,13 +12602,13 @@
desc: Softlock behaviour setting
user: core
<source>
*: "Disable Notify"
*: "Disable Locked Reminders"
</source>
<dest>
*: "Disable Notify"
*: "Disable Locked Reminders"
</dest>
<voice>
*: "Disable Notify"
*: "Disable Locked Reminders"
</voice>
</phrase>
<phrase>
@ -15738,4 +15738,32 @@
<voice>
*: "Clear List & Play Shuffled"
</voice>
</phrase>
</phrase>
<phrase>
id: LANG_SOFTLOCK_DISABLE_ALL_NOTIFY
desc: disable all softlock notifications
user: core
<source>
*: "Disable All Lock Notifications"
</source>
<dest>
*: "Disable All Lock Notifications"
</dest>
<voice>
*: "Disable All Lock Notifications"
</voice>
</phrase>
<phrase>
id: LANG_ACTION_VOLUME
desc: exempt volume from softlock
user: core
<source>
*: "Exempt Volume"
</source>
<dest>
*: "Exempt Volume"
</dest>
<voice>
*: "Exempt Volume"
</voice>
</phrase>