Minor fix for seconds variable missing leading zero

This commit is contained in:
Jens 2023-05-17 23:22:32 +02:00
parent 8af24695fd
commit 7e8a6b121e
3 changed files with 6 additions and 5 deletions

View File

@ -692,7 +692,7 @@ public class Miscellaneous extends Service
if(result.length() < 2)
result = "0" + result;
source = source.replace("[s]", String.valueOf(cal.get(Calendar.SECOND)));
source = source.replace("[s]", result);
}
if(source.contains("[ms]"))

View File

@ -602,7 +602,7 @@
<string name="tabsPlacement">Position der Tableiste</string>
<string name="top">Oben</string>
<string name="bottom">Unten</string>
<string name="tabsPlacementSummary">Wol soll die Taskleiste angezeigt werden?</string>
<string name="tabsPlacementSummary">Wo soll die Taskleiste angezeigt werden?</string>
<string name="tones">Klingeltöne</string>
<string name="miscellaneous">Verschiedenes</string>
<string name="dnd">Nicht stören</string>

View File

@ -1,5 +1,6 @@
* Fixed: Run executable action - when editing values were not loaded in editor
* Added: Variables usable in intent parameters
* Removed: Removed toasts for computer connection/disconnection
* Fixed: Leading zero in seconds-variable was missing for one-digit numbers
* Fixed: Closing notification didn't work if Automation's own service notification was hidden
* Added: Polish translation added
* Added: Variables usable in intent parameters
* Added: Polish translation added
* Removed: Removed toasts for computer connection/disconnection