Schedule page: Inform when advanced settings apply

This commit is contained in:
Romain Vigier
2022-04-05 11:42:27 +02:00
parent c044e1159f
commit e532ade9b3
2 changed files with 31 additions and 15 deletions
+3
View File
@@ -60,6 +60,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
<child>
<object class="AdwExpanderRow" id="nightlight_expander_row">
<property name="title" translatable="yes">Night Light</property>
<property name="subtitle" translatable="yes">These settings only apply when Night Light is the time source.</property>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes"><![CDATA[Follow <i>Disable until tomorrow</i>]]></property>
@@ -77,6 +78,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
<child>
<object class="AdwExpanderRow">
<property name="title" translatable="yes">Manual schedule</property>
<property name="subtitle" translatable="yes">These settings only apply when using the manual schedule as the time source.</property>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Sunrise</property>
@@ -106,6 +108,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
<child>
<object class="AdwExpanderRow">
<property name="title" translatable="yes">On-demand</property>
<property name="subtitle" translatable="yes">These settings only apply when using the on-demand time source.</property>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Keyboard shortcut</property>
+28 -15
View File
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: nightthemeswitcher@romainvigier.fr\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-04-04 13:15+0200\n"
"POT-Creation-Date: 2022-04-05 11:41+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -270,7 +270,7 @@ msgstr ""
msgid "Run commands"
msgstr ""
#: src/data/ui/CommandsPage.ui:21 src/data/ui/SchedulePage.ui:82
#: src/data/ui/CommandsPage.ui:21 src/data/ui/SchedulePage.ui:84
msgid "Sunrise"
msgstr ""
@@ -279,7 +279,7 @@ msgstr ""
msgid "notify-send \"Hello sunshine!\""
msgstr ""
#: src/data/ui/CommandsPage.ui:35 src/data/ui/SchedulePage.ui:94
#: src/data/ui/CommandsPage.ui:35 src/data/ui/SchedulePage.ui:96
msgid "Sunset"
msgstr ""
@@ -339,29 +339,42 @@ msgstr ""
msgid "Night Light"
msgstr ""
#: src/data/ui/SchedulePage.ui:65
msgid "Follow <i>Disable until tomorrow</i>"
#: src/data/ui/SchedulePage.ui:63
msgid "These settings only apply when Night Light is the time source."
msgstr ""
#: src/data/ui/SchedulePage.ui:66
msgid "Follow <i>Disable until tomorrow</i>"
msgstr ""
#: src/data/ui/SchedulePage.ui:67
msgid ""
"When Night Light is temporarily disabled, the extension will switch to day "
"variants."
msgstr ""
#: src/data/ui/SchedulePage.ui:79 src/preferences/SchedulePage.js:56
#: src/data/ui/SchedulePage.ui:80 src/preferences/SchedulePage.js:56
msgid "Manual schedule"
msgstr ""
#: src/data/ui/SchedulePage.ui:108 src/preferences/SchedulePage.js:57
#: src/data/ui/SchedulePage.ui:81
msgid ""
"These settings only apply when using the manual schedule as the time source."
msgstr ""
#: src/data/ui/SchedulePage.ui:110 src/preferences/SchedulePage.js:57
msgid "On-demand"
msgstr ""
#: src/data/ui/SchedulePage.ui:111
msgid "These settings only apply when using the on-demand time source."
msgstr ""
#: src/data/ui/SchedulePage.ui:114
msgid "Keyboard shortcut"
msgstr ""
#: src/data/ui/SchedulePage.ui:122
#: src/data/ui/SchedulePage.ui:125
msgid "Button location"
msgstr ""
@@ -424,31 +437,31 @@ msgstr ""
msgid ":"
msgstr ""
#: src/modules/TimerOndemand.js:213
#: src/modules/TimerOndemand.js:212
msgid "Turn Night Mode Off"
msgstr ""
#: src/modules/TimerOndemand.js:213
#: src/modules/TimerOndemand.js:212
msgid "Turn Night Mode On"
msgstr ""
#: src/modules/TimerOndemand.js:228
#: src/modules/TimerOndemand.js:227
msgid "Extension Settings"
msgstr ""
#: src/modules/TimerOndemand.js:237
#: src/modules/TimerOndemand.js:235
msgid "Night Mode Off"
msgstr ""
#: src/modules/TimerOndemand.js:237
#: src/modules/TimerOndemand.js:235
msgid "Night Mode On"
msgstr ""
#: src/modules/TimerOndemand.js:238
#: src/modules/TimerOndemand.js:236
msgid "Turn Off"
msgstr ""
#: src/modules/TimerOndemand.js:238
#: src/modules/TimerOndemand.js:236
msgid "Turn On"
msgstr ""