Skip to content

Commit 86a52d6

Browse files
authored
Merge pull request #14 from elfenware/custom-timers
Add custom timers
2 parents 972666f + 31a3fd1 commit 86a52d6

File tree

9 files changed

+417
-184
lines changed

9 files changed

+417
-184
lines changed

data/gschema.xml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<schemalist>
3+
<!-- Obsolete. Replaced with the timers schema. Will be removed at some point. -->
34
<schema
45
path="/com/github/elfenware/badger/reminders/"
56
id="com.github.elfenware.badger.reminders"
@@ -29,6 +30,39 @@
2930
<summary>Remind the user to stretch their neck</summary>
3031
</key>
3132
</schema>
33+
<schema
34+
path="/com/github/elfenware/badger/timers/"
35+
id="com.github.elfenware.badger.timers"
36+
gettext-domain="com.github.elfenware.badger">
37+
<key name="all" type="b">
38+
<default>true</default>
39+
<summary>Global switch to control all reminders</summary>
40+
</key>
41+
<key name="eyes" type="u">
42+
<default>18</default>
43+
<summary>Timer (in minutes) to remind the user to blink their eyes</summary>
44+
</key>
45+
<key name="fingers" type="u">
46+
<default>38</default>
47+
<summary>Timer (in minutes) to remind the user to stretch their fingers</summary>
48+
</key>
49+
<key name="legs" type="u">
50+
<default>60</default>
51+
<summary>Timer (in minutes) to remind the user to stretch their legs</summary>
52+
</key>
53+
<key name="arms" type="u">
54+
<default>50</default>
55+
<summary>Timer (in minutes) to remind the user to stretch their arms</summary>
56+
</key>
57+
<key name="neck" type="u">
58+
<default>45</default>
59+
<summary>Timer (in minutes) to remind the user to turn their neck</summary>
60+
</key>
61+
<key name="old-settings-replaced" type="b">
62+
<default>false</default>
63+
<summary>Whether the installation has switched to the newer custom timers instead of booleans</summary>
64+
</key>
65+
</schema>
3266
<schema
3367
path="/com/github/elfenware/badger/state/"
3468
id="com.github.elfenware.badger.state"

data/window-screenshot.png

21.5 KB
Loading

po/com.github.elfenware.badger.pot

Lines changed: 65 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: com.github.elfenware.badger\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2019-03-26 13:02+0100\n"
11+
"POT-Creation-Date: 2019-04-18 00:27+0530\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -26,61 +26,90 @@ msgid "Look away from the screen and slowly blink your eyes for 10 seconds."
2626
msgstr ""
2727

2828
#: src/Application.vala:156
29-
msgid "Eyes"
29+
msgid "Eyes:"
3030
msgstr ""
3131

32-
#: src/Application.vala:162
32+
#: src/Application.vala:161
3333
msgid "Stretch your fingers"
3434
msgstr ""
3535

36-
#: src/Application.vala:163
36+
#: src/Application.vala:162
3737
msgid "Spread out your palm wide, then close it into a fist. Repeat 5 times."
3838
msgstr ""
3939

40-
#: src/Application.vala:164
41-
msgid "Fingers"
40+
#: src/Application.vala:163
41+
msgid "Fingers:"
4242
msgstr ""
4343

44-
#: src/Application.vala:170
44+
#: src/Application.vala:168
4545
msgid "Stretch your arms"
4646
msgstr ""
4747

48-
#: src/Application.vala:171
48+
#: src/Application.vala:169
4949
msgid "Stretch your arms, and twist your wrists for 10 seconds."
5050
msgstr ""
5151

52-
#: src/Application.vala:172
53-
msgid "Arms"
52+
#: src/Application.vala:170
53+
msgid "Arms:"
5454
msgstr ""
5555

56-
#: src/Application.vala:178
56+
#: src/Application.vala:175
5757
msgid "Stretch your legs"
5858
msgstr ""
5959

60-
#: src/Application.vala:179
60+
#: src/Application.vala:176
6161
msgid "Stand up, twist each ankle, and bend each knee."
6262
msgstr ""
6363

64-
#: src/Application.vala:180
65-
msgid "Legs"
64+
#: src/Application.vala:177
65+
msgid "Legs:"
6666
msgstr ""
6767

68-
#: src/Application.vala:186
68+
#: src/Application.vala:182
6969
msgid "Turn your neck"
7070
msgstr ""
7171

72-
#: src/Application.vala:187
72+
#: src/Application.vala:183
7373
msgid "Turn your head in all directions. Repeat 3 times."
7474
msgstr ""
7575

76-
#: src/Application.vala:188
77-
msgid "Neck"
76+
#: src/Application.vala:184
77+
msgid "Neck:"
7878
msgstr ""
7979

80-
#: src/MainGrid.vala:37
80+
#: src/MainGrid.vala:57
8181
msgid "Reminders"
8282
msgstr ""
8383

84+
#: src/MainGrid.vala:62
85+
msgid "Decide how often Badger should remind you to relax these:"
86+
msgstr ""
87+
88+
#: src/MainGrid.vala:85 src/MainGrid.vala:107
89+
msgid "Never"
90+
msgstr ""
91+
92+
#: src/MainGrid.vala:86
93+
msgid "15 min"
94+
msgstr ""
95+
96+
#: src/MainGrid.vala:87
97+
msgid "30 min"
98+
msgstr ""
99+
100+
#: src/MainGrid.vala:88
101+
msgid "45 min"
102+
msgstr ""
103+
104+
#: src/MainGrid.vala:89
105+
msgid "1 hour"
106+
msgstr ""
107+
108+
#: src/MainGrid.vala:110
109+
#, c-format
110+
msgid "%.0f min"
111+
msgstr ""
112+
84113
#: data/com.github.elfenware.badger.desktop.in:4
85114
#: data/com.github.elfenware.badger.appdata.xml.in:7
86115
msgid "Badger"
@@ -147,38 +176,46 @@ msgstr ""
147176
msgid "Stay healthy."
148177
msgstr ""
149178

150-
#: data/com.github.elfenware.badger.appdata.xml.in:29
179+
#: data/com.github.elfenware.badger.appdata.xml.in:30
180+
msgid "Add: Danish translation (@siigdev)"
181+
msgstr ""
182+
183+
#: data/com.github.elfenware.badger.appdata.xml.in:31
184+
msgid "Update: French translation (@NathanBnm)"
185+
msgstr ""
186+
187+
#: data/com.github.elfenware.badger.appdata.xml.in:37
151188
msgid "Fix: Empty window on launch"
152189
msgstr ""
153190

154-
#: data/com.github.elfenware.badger.appdata.xml.in:34
191+
#: data/com.github.elfenware.badger.appdata.xml.in:42
155192
msgid "Add: Lithuanian translations (@welaq)"
156193
msgstr ""
157194

158-
#: data/com.github.elfenware.badger.appdata.xml.in:35
195+
#: data/com.github.elfenware.badger.appdata.xml.in:43
159196
msgid "Fix: Illegible heading in dark mode"
160197
msgstr ""
161198

162-
#: data/com.github.elfenware.badger.appdata.xml.in:40
199+
#: data/com.github.elfenware.badger.appdata.xml.in:48
163200
msgid "Add: French translations (@NathanBnm)"
164201
msgstr ""
165202

166-
#: data/com.github.elfenware.badger.appdata.xml.in:45
203+
#: data/com.github.elfenware.badger.appdata.xml.in:53
167204
msgid "Fix: Multiple notifications when window is opened &gt;1 times"
168205
msgstr ""
169206

170-
#: data/com.github.elfenware.badger.appdata.xml.in:50
207+
#: data/com.github.elfenware.badger.appdata.xml.in:58
171208
msgid "Fix: Remove manual line breaks from appdata"
172209
msgstr ""
173210

174-
#: data/com.github.elfenware.badger.appdata.xml.in:55
211+
#: data/com.github.elfenware.badger.appdata.xml.in:63
175212
msgid "Fix: Use smaller window size by default"
176213
msgstr ""
177214

178-
#: data/com.github.elfenware.badger.appdata.xml.in:60
215+
#: data/com.github.elfenware.badger.appdata.xml.in:68
179216
msgid "Initial Release 🎉️"
180217
msgstr ""
181218

182-
#: data/com.github.elfenware.badger.appdata.xml.in:96
219+
#: data/com.github.elfenware.badger.appdata.xml.in:104
183220
msgid "Elfenware"
184221
msgstr ""

0 commit comments

Comments
 (0)