Skip to content

Commit 813aba1

Browse files
committed
rename setting
1 parent 3bcb47b commit 813aba1

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

safeeyes/config/locale/safeeyes.pot

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,6 @@ msgstr ""
118118
msgid "Time to prepare for a break (in seconds)"
119119
msgstr ""
120120

121-
# Settings dialog
122-
msgid "Keyboard shortcuts disabled period (in seconds)"
123-
msgstr ""
124-
125121
# Settings dialog
126122
msgid "Postponement duration (in minutes)"
127123
msgstr ""
@@ -570,3 +566,6 @@ msgstr ""
570566

571567
msgid "A required plugin is missing dependencies!"
572568
msgstr ""
569+
570+
msgid "Skipping/postponing disabled period (in seconds)"
571+
msgstr ""

safeeyes/glade/settings_dialog.glade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@
447447
<object class="GtkLabel" id="lbl_shortcuts">
448448
<property name="visible">1</property>
449449
<property name="halign">start</property>
450-
<property name="label" translatable="yes">Keyboard shortcuts disabled period (in seconds)</property>
450+
<property name="label" translatable="yes">Skipping/postponing disabled period (in seconds)</property>
451451
</object>
452452
</child>
453453
<child>

safeeyes/ui/break_screen.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ def initialize(self, config):
8383
)
8484
)
8585

86+
# TODO: shortcut_disable_time should be renamed
87+
# it used to be just about keyboard shortcuts - now it also controls whether the buttons are locked
8688
self.shortcut_disable_time = config.get("shortcut_disable_time", 2)
8789
self.strict_break = config.get("strict_break", False)
8890

0 commit comments

Comments
 (0)