add PIN transcoding

This commit is contained in:
Matthias Oesterheld
2024-10-15 20:27:52 +02:00
parent b48102f9a6
commit c592726bd4
6 changed files with 34 additions and 4 deletions

View File

@ -65,6 +65,14 @@
-->
<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.
-->
<property id="pin_mask" type="string"></property>
<!--
Left to right or right to left text. Language dependent.
-->

View File

@ -79,6 +79,13 @@
<settingConfig type="numeric" min="0" />
</setting>
<setting
propertyKey="@Properties.pin_mask"
title="@Strings.SettingsPinMask"
>
<settingConfig type="alphaNumeric" />
</setting>
<setting
propertyKey="@Properties.menu_alignment"
title="@Strings.SettingsTextAlign"