Skip to content

Commit bbf19ed

Browse files
committed
schedclock: aim for translatable texts; fix enabled toggle
1 parent c4b7108 commit bbf19ed

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

apps/schedclock/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ For example: a fun clock face for weekends and after work; a detailed clock face
99
## Usage
1010

1111
* Open the `Schedule Clock` app or find it in the `Settings` > `Apps` menu.
12-
* Set `Enable` to `on`
12+
* Set `Enabled` to checked
1313
* Select `Add New` to add a new scheduled face change
1414
* Select the `Day`, `Hour`, `Minute`, and what `Clock` to change to
1515
* Select `Save` to save the new (or changed) schedule
@@ -21,7 +21,7 @@ An entry in `Scheduler` will be created for each scheduled clock change.
2121
If the clockface you selected has been uninstalled, the schedule will still exist but won't do anything.
2222

2323
## To Uninstall
24-
Before uninstalling this app, clean up any scheduled alarms by setting the `Enable` toggle to `off`.
24+
Before uninstalling this app, clean up any scheduled alarms by setting the `Enabled` toggle to unchecked.
2525

2626
If you skip this step, orphaned alarms may cause error logs but won't affect functionality.
2727

apps/schedclock/screenshot-1.png

89 Bytes
Loading

apps/schedclock/settings.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,10 @@
5454
const settings = loadSettings();
5555
const clockFaces = getClockFaces();
5656
const menu = {
57-
"": { "title": /*LANG*/"Scheduled Clock" },
57+
"": { "title": /*LANG*/"Schedule Clock" },
5858
"< Back": () => back(),
59-
/*LANG*/"Enable": {
60-
value: !!settings.enabled,
61-
format: v => v ? /*LANG*/"On" : /*LANG*/"Off",
59+
/*LANG*/"Enabled": {
60+
value: settings.enabled,
6261
onchange: v => {
6362
settings.enabled = v;
6463
saveSettings(settings);

0 commit comments

Comments
 (0)