remove transcoding, move pin to settings, remove pin from schema

This commit is contained in:
Matthias Oesterheld
2024-11-11 20:06:35 +01:00
parent cd5ed317c5
commit fb2bb7f566
11 changed files with 32 additions and 61 deletions

View File

@ -66,12 +66,10 @@
<property id="confirm_timeout" type="number">3</property>
<!--
This mask transcodes the plain text PIN from the public dashboard config.
Every digit is used to increase the corresponding digit at this position
in the PIN by the value given, starting at 1 if a value bigger than 4 has
been reached.
PIN to be used for confirmation. If a PIN is set, every action with 'confirm': true
will show the PIN confirmation dialog.
-->
<property id="pin_mask" type="string"></property>
<property id="pin" type="string"></property>
<!--
Left to right or right to left text. Language dependent.

View File

@ -80,8 +80,8 @@
</setting>
<setting
propertyKey="@Properties.pin_mask"
title="@Strings.SettingsPinMask"
propertyKey="@Properties.pin"
title="@Strings.SettingsPin"
>
<settingConfig type="alphaNumeric" />
</setting>

View File

@ -53,7 +53,7 @@
<string id="SettingsAppTimeout">Timeout in seconds. Exit the application after this period of inactivity to save the device battery.</string>
<string id="SettingsPollDelay">Additional poll delay (in seconds). Adds a delay between the status update of all menu items.</string>
<string id="SettingsConfirmTimeout">After this time (in seconds), a confirmation dialog for an action is automatically closed and the action is cancelled. Set to 0 to disable the timeout.</string>
<string id="SettingsPinMask">Integer Mask to transcode the plain text PIN from the public dashboard config.</string>
<string id="SettingsPin">PIN to be used for all actions that require confirmation.</string>
<string id="SettingsTextAlign">Left (off) or Right (on) Menu Alignment.</string>
<string id="LeftToRight">Left to right</string>
<string id="RightToLeft">Right to Left</string>