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> <child>
<object class="AdwExpanderRow" id="nightlight_expander_row"> <object class="AdwExpanderRow" id="nightlight_expander_row">
<property name="title" translatable="yes">Night Light</property> <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> <child>
<object class="AdwActionRow"> <object class="AdwActionRow">
<property name="title" translatable="yes"><![CDATA[Follow <i>Disable until tomorrow</i>]]></property> <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> <child>
<object class="AdwExpanderRow"> <object class="AdwExpanderRow">
<property name="title" translatable="yes">Manual schedule</property> <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> <child>
<object class="AdwActionRow"> <object class="AdwActionRow">
<property name="title" translatable="yes">Sunrise</property> <property name="title" translatable="yes">Sunrise</property>
@@ -106,6 +108,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
<child> <child>
<object class="AdwExpanderRow"> <object class="AdwExpanderRow">
<property name="title" translatable="yes">On-demand</property> <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> <child>
<object class="AdwActionRow"> <object class="AdwActionRow">
<property name="title" translatable="yes">Keyboard shortcut</property> <property name="title" translatable="yes">Keyboard shortcut</property>
+28 -15
View File
@@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: nightthemeswitcher@romainvigier.fr\n" "Project-Id-Version: nightthemeswitcher@romainvigier.fr\n"
"Report-Msgid-Bugs-To: \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" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -270,7 +270,7 @@ msgstr ""
msgid "Run commands" msgid "Run commands"
msgstr "" 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" msgid "Sunrise"
msgstr "" msgstr ""
@@ -279,7 +279,7 @@ msgstr ""
msgid "notify-send \"Hello sunshine!\"" msgid "notify-send \"Hello sunshine!\""
msgstr "" 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" msgid "Sunset"
msgstr "" msgstr ""
@@ -339,29 +339,42 @@ msgstr ""
msgid "Night Light" msgid "Night Light"
msgstr "" msgstr ""
#: src/data/ui/SchedulePage.ui:65 #: src/data/ui/SchedulePage.ui:63
msgid "Follow <i>Disable until tomorrow</i>" msgid "These settings only apply when Night Light is the time source."
msgstr "" msgstr ""
#: src/data/ui/SchedulePage.ui:66 #: src/data/ui/SchedulePage.ui:66
msgid "Follow <i>Disable until tomorrow</i>"
msgstr ""
#: src/data/ui/SchedulePage.ui:67
msgid "" msgid ""
"When Night Light is temporarily disabled, the extension will switch to day " "When Night Light is temporarily disabled, the extension will switch to day "
"variants." "variants."
msgstr "" 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" msgid "Manual schedule"
msgstr "" 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" msgid "On-demand"
msgstr "" msgstr ""
#: src/data/ui/SchedulePage.ui:111 #: 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" msgid "Keyboard shortcut"
msgstr "" msgstr ""
#: src/data/ui/SchedulePage.ui:122 #: src/data/ui/SchedulePage.ui:125
msgid "Button location" msgid "Button location"
msgstr "" msgstr ""
@@ -424,31 +437,31 @@ msgstr ""
msgid ":" msgid ":"
msgstr "" msgstr ""
#: src/modules/TimerOndemand.js:213 #: src/modules/TimerOndemand.js:212
msgid "Turn Night Mode Off" msgid "Turn Night Mode Off"
msgstr "" msgstr ""
#: src/modules/TimerOndemand.js:213 #: src/modules/TimerOndemand.js:212
msgid "Turn Night Mode On" msgid "Turn Night Mode On"
msgstr "" msgstr ""
#: src/modules/TimerOndemand.js:228 #: src/modules/TimerOndemand.js:227
msgid "Extension Settings" msgid "Extension Settings"
msgstr "" msgstr ""
#: src/modules/TimerOndemand.js:237 #: src/modules/TimerOndemand.js:235
msgid "Night Mode Off" msgid "Night Mode Off"
msgstr "" msgstr ""
#: src/modules/TimerOndemand.js:237 #: src/modules/TimerOndemand.js:235
msgid "Night Mode On" msgid "Night Mode On"
msgstr "" msgstr ""
#: src/modules/TimerOndemand.js:238 #: src/modules/TimerOndemand.js:236
msgid "Turn Off" msgid "Turn Off"
msgstr "" msgstr ""
#: src/modules/TimerOndemand.js:238 #: src/modules/TimerOndemand.js:236
msgid "Turn On" msgid "Turn On"
msgstr "" msgstr ""