Skip to content

Commit a918346

Browse files
update pot file
1 parent dff0269 commit a918346

File tree

8 files changed

+144
-49
lines changed

8 files changed

+144
-49
lines changed
Lines changed: 2 additions & 0 deletions
Loading
Lines changed: 10 additions & 0 deletions
Loading

data/resources.data.gresource.xml.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
<file preprocess="xml-stripblanks">icons/scalable/actions/pointer-primary-click-symbolic.svg</file>
1313
<file preprocess="xml-stripblanks">icons/scalable/actions/screenshooter-symbolic.svg</file>
1414
<file preprocess="xml-stripblanks">icons/scalable/actions/marker-symbolic.svg</file>
15-
15+
<file preprocess="xml-stripblanks">icons/scalable/actions/checkerboard-big-symbolic.svg</file>
16+
<file preprocess="xml-stripblanks">icons/scalable/actions/one-circle-symbolic.svg</file>
1617
</gresource>
1718
</gresources>
1819

gradia/ui/drawing_actions.py

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,16 @@
2020
import math
2121

2222
class DrawingMode(Enum):
23-
PEN = "pen"
24-
ARROW = "arrow"
25-
LINE = "line"
26-
SQUARE = "square"
27-
CIRCLE = "circle"
28-
TEXT = "text"
29-
SELECT = "select"
30-
HIGHLIGHTER = "highlighter"
23+
PEN = _("Pen")
24+
ARROW = _("Arrow")
25+
LINE = _("Line")
26+
SQUARE = _("Square")
27+
CIRCLE = _("Circle")
28+
TEXT = _("Text")
29+
SELECT = _("Select")
30+
HIGHLIGHTER = _("Highlighter")
31+
CENSOR = _("Censor")
32+
NUMBER = _("Number")
3133

3234
class DrawingAction:
3335
DEFAULT_PADDING = 0.02

gradia/ui/ui_parts.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,8 @@ def create_drawing_tools_group() -> Adw.PreferencesGroup:
299299
(DrawingMode.SQUARE, "box-small-outline-symbolic", 0, 1),
300300
(DrawingMode.CIRCLE, "circle-outline-thick-symbolic", 1, 1),
301301
(DrawingMode.HIGHLIGHTER, "marker-symbolic", 2, 1),
302+
#(DrawingMode.CENSOR, "checkerboard-big-symbolic", 3, 1),
303+
#(DrawingMode.NUMBER, "one-circle-symbolic", 4, 1),
302304
]
303305

304306
fill_sensitive_modes = {DrawingMode.SQUARE, DrawingMode.CIRCLE}
@@ -341,7 +343,7 @@ def on_button_toggled(button: Gtk.ToggleButton, drawing_mode):
341343
for drawing_mode, icon_name, col, row in tools_data:
342344
button = Gtk.ToggleButton()
343345
button.set_icon_name(icon_name)
344-
button.set_tooltip_text(_(drawing_mode.value.capitalize()))
346+
button.set_tooltip_text(drawing_mode.value)
345347
button.get_style_context().add_class("flat")
346348
button.get_style_context().add_class("circular")
347349
button.set_size_request(40, 40)

po/POTFILES.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ gradia/ui/window.py
1010
gradia/ui/image_exporters.py
1111
gradia/ui/image_loaders.py
1212
gradia/ui/drawing_overlay.py
13+
gradia/ui/drawing_actions.py

po/gradia.pot

Lines changed: 58 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: gradia\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2025-05-30 18:14+0200\n"
11+
"POT-Creation-Date: 2025-05-31 09:42+0200\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -80,7 +80,7 @@ msgstr ""
8080
msgid "Main Menu"
8181
msgstr ""
8282

83-
#: gradia/ui/ui_parts.py:49 gradia/ui/ui_parts.py:486
83+
#: gradia/ui/ui_parts.py:49 gradia/ui/ui_parts.py:489
8484
msgid "Keyboard Shortcuts"
8585
msgstr ""
8686

@@ -174,65 +174,65 @@ msgid "Annotation Tools"
174174
msgstr ""
175175

176176
#. Fill color row with reset button
177-
#: gradia/ui/ui_parts.py:307
177+
#: gradia/ui/ui_parts.py:310
178178
msgid "Fill Color"
179179
msgstr ""
180180

181-
#: gradia/ui/ui_parts.py:312
181+
#: gradia/ui/ui_parts.py:315
182182
msgid "Reset Fill"
183183
msgstr ""
184184

185185
#. Stroke color row
186-
#: gradia/ui/ui_parts.py:359
186+
#: gradia/ui/ui_parts.py:362
187187
msgid "Stroke Color"
188188
msgstr ""
189189

190-
#: gradia/ui/ui_parts.py:444
190+
#: gradia/ui/ui_parts.py:447
191191
msgid "Make your images ready for the world"
192192
msgstr ""
193193

194194
#. Translators: This is a place to put your credits (formats: "Name https://example.com" or "Name <email@example.com>", no quotes) and is not meant to be translated literally.
195-
#: gradia/ui/ui_parts.py:457
195+
#: gradia/ui/ui_parts.py:460
196196
msgid "translator-credits"
197197
msgstr ""
198198

199-
#: gradia/ui/ui_parts.py:467
199+
#: gradia/ui/ui_parts.py:470
200200
msgid "File Actions"
201201
msgstr ""
202202

203-
#: gradia/ui/ui_parts.py:469
203+
#: gradia/ui/ui_parts.py:472
204204
msgid "Open File"
205205
msgstr ""
206206

207-
#: gradia/ui/ui_parts.py:470
207+
#: gradia/ui/ui_parts.py:473
208208
msgid "Save to File"
209209
msgstr ""
210210

211-
#: gradia/ui/ui_parts.py:471
211+
#: gradia/ui/ui_parts.py:474
212212
msgid "Copy Image to Clipboard"
213213
msgstr ""
214214

215-
#: gradia/ui/ui_parts.py:472
215+
#: gradia/ui/ui_parts.py:475
216216
msgid "Paste From Clipboard"
217217
msgstr ""
218218

219-
#: gradia/ui/ui_parts.py:476
219+
#: gradia/ui/ui_parts.py:479
220220
msgid "Annotations"
221221
msgstr ""
222222

223-
#: gradia/ui/ui_parts.py:478
223+
#: gradia/ui/ui_parts.py:481
224224
msgid "Undo"
225225
msgstr ""
226226

227-
#: gradia/ui/ui_parts.py:479
227+
#: gradia/ui/ui_parts.py:482
228228
msgid "Redo"
229229
msgstr ""
230230

231-
#: gradia/ui/ui_parts.py:480
231+
#: gradia/ui/ui_parts.py:483
232232
msgid "Remove Selected"
233233
msgstr ""
234234

235-
#: gradia/ui/ui_parts.py:484
235+
#: gradia/ui/ui_parts.py:487
236236
msgid "General"
237237
msgstr ""
238238

@@ -312,6 +312,46 @@ msgstr ""
312312
msgid "Failed to process screenshot"
313313
msgstr ""
314314

315-
#: gradia/ui/drawing_overlay.py:220
315+
#: gradia/ui/drawing_overlay.py:221
316316
msgid "Enter text…"
317317
msgstr ""
318+
319+
#: gradia/ui/drawing_actions.py:23
320+
msgid "Pen"
321+
msgstr ""
322+
323+
#: gradia/ui/drawing_actions.py:24
324+
msgid "Arrow"
325+
msgstr ""
326+
327+
#: gradia/ui/drawing_actions.py:25
328+
msgid "Line"
329+
msgstr ""
330+
331+
#: gradia/ui/drawing_actions.py:26
332+
msgid "Square"
333+
msgstr ""
334+
335+
#: gradia/ui/drawing_actions.py:27
336+
msgid "Circle"
337+
msgstr ""
338+
339+
#: gradia/ui/drawing_actions.py:28
340+
msgid "Text"
341+
msgstr ""
342+
343+
#: gradia/ui/drawing_actions.py:29
344+
msgid "Select"
345+
msgstr ""
346+
347+
#: gradia/ui/drawing_actions.py:30
348+
msgid "Highlighter"
349+
msgstr ""
350+
351+
#: gradia/ui/drawing_actions.py:31
352+
msgid "Censor"
353+
msgstr ""
354+
355+
#: gradia/ui/drawing_actions.py:32
356+
msgid "Number"
357+
msgstr ""

po/nl.po

Lines changed: 58 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: gradia\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2025-05-30 18:14+0200\n"
11-
"PO-Revision-Date: 2025-05-30 18:14+0200\n"
10+
"POT-Creation-Date: 2025-05-31 09:42+0200\n"
11+
"PO-Revision-Date: 2025-05-31 09:44+0200\n"
1212
"Last-Translator: Alexander Vanhee\n"
1313
"Language-Team: \n"
1414
"Language: nl\n"
@@ -87,7 +87,7 @@ msgstr "Maak een schermafbeelding"
8787
msgid "Main Menu"
8888
msgstr "Hoofdmenu"
8989

90-
#: gradia/ui/ui_parts.py:49 gradia/ui/ui_parts.py:486
90+
#: gradia/ui/ui_parts.py:49 gradia/ui/ui_parts.py:489
9191
msgid "Keyboard Shortcuts"
9292
msgstr "Sneltoetsen"
9393

@@ -185,72 +185,72 @@ msgid "Annotation Tools"
185185
msgstr "Tekstannotatie"
186186

187187
#. Fill color row with reset button
188-
#: gradia/ui/ui_parts.py:307
188+
#: gradia/ui/ui_parts.py:310
189189
#, fuzzy
190190
msgid "Fill Color"
191191
msgstr "Kleur"
192192

193-
#: gradia/ui/ui_parts.py:312
193+
#: gradia/ui/ui_parts.py:315
194194
msgid "Reset Fill"
195195
msgstr "Vulling opnieuw instellen"
196196

197197
#. Stroke color row
198-
#: gradia/ui/ui_parts.py:359
198+
#: gradia/ui/ui_parts.py:362
199199
#, fuzzy
200200
msgid "Stroke Color"
201201
msgstr "Startkleur"
202202

203-
#: gradia/ui/ui_parts.py:444
203+
#: gradia/ui/ui_parts.py:447
204204
msgid "Make your images ready for the world"
205205
msgstr "Maak je afbeeldingen klaar voor de wereld"
206206

207207
#. Translators: This is a place to put your credits (formats: "Name https://example.com" or "Name <email@example.com>", no quotes) and is not meant to be translated literally.
208-
#: gradia/ui/ui_parts.py:457
208+
#: gradia/ui/ui_parts.py:460
209209
msgid "translator-credits"
210210
msgstr "Alexander Vanhee https://github.com/AlexanderVanhee/Gradia"
211211

212-
#: gradia/ui/ui_parts.py:467
212+
#: gradia/ui/ui_parts.py:470
213213
msgid "File Actions"
214214
msgstr "Bestandshandelingen"
215215

216-
#: gradia/ui/ui_parts.py:469
216+
#: gradia/ui/ui_parts.py:472
217217
#, fuzzy
218218
msgid "Open File"
219219
msgstr "Bestand openen"
220220

221-
#: gradia/ui/ui_parts.py:470
221+
#: gradia/ui/ui_parts.py:473
222222
#, fuzzy
223223
msgid "Save to File"
224224
msgstr "Opslaan naar bestand"
225225

226-
#: gradia/ui/ui_parts.py:471
226+
#: gradia/ui/ui_parts.py:474
227227
#, fuzzy
228228
msgid "Copy Image to Clipboard"
229229
msgstr "Kopiëren naar klembord"
230230

231-
#: gradia/ui/ui_parts.py:472
231+
#: gradia/ui/ui_parts.py:475
232232
#, fuzzy
233233
msgid "Paste From Clipboard"
234234
msgstr "Plakken vanaf klembord"
235235

236-
#: gradia/ui/ui_parts.py:476
236+
#: gradia/ui/ui_parts.py:479
237237
#, fuzzy
238238
msgid "Annotations"
239239
msgstr "Tekstannotatie"
240240

241-
#: gradia/ui/ui_parts.py:478
241+
#: gradia/ui/ui_parts.py:481
242242
msgid "Undo"
243243
msgstr "Ongedaan maken"
244244

245-
#: gradia/ui/ui_parts.py:479
245+
#: gradia/ui/ui_parts.py:482
246246
msgid "Redo"
247247
msgstr "Opnieuw uitvoeren"
248248

249-
#: gradia/ui/ui_parts.py:480
249+
#: gradia/ui/ui_parts.py:483
250250
msgid "Remove Selected"
251251
msgstr "Geselecteerde verwijderen"
252252

253-
#: gradia/ui/ui_parts.py:484
253+
#: gradia/ui/ui_parts.py:487
254254
msgid "General"
255255
msgstr "Algemeen"
256256

@@ -337,13 +337,50 @@ msgstr "Schermafbeelding vastgelegd!"
337337
msgid "Failed to process screenshot"
338338
msgstr "Verwerken van schermafbeelding mislukt"
339339

340-
#: gradia/ui/drawing_overlay.py:220
340+
#: gradia/ui/drawing_overlay.py:221
341341
#, fuzzy
342342
msgid "Enter text…"
343343
msgstr "Voer tekst in"
344344

345-
#~ msgid "Text"
346-
#~ msgstr "Tekst"
345+
#: gradia/ui/drawing_actions.py:23
346+
msgid "Pen"
347+
msgstr "Pen"
348+
349+
#: gradia/ui/drawing_actions.py:24
350+
msgid "Arrow"
351+
msgstr "Pijl"
352+
353+
#: gradia/ui/drawing_actions.py:25
354+
msgid "Line"
355+
msgstr "Lijn"
356+
357+
#: gradia/ui/drawing_actions.py:26
358+
msgid "Square"
359+
msgstr "Vierkant"
360+
361+
#: gradia/ui/drawing_actions.py:27
362+
msgid "Circle"
363+
msgstr "Cirkel"
364+
365+
#: gradia/ui/drawing_actions.py:28
366+
msgid "Text"
367+
msgstr "Tekst"
368+
369+
#: gradia/ui/drawing_actions.py:29
370+
msgid "Select"
371+
msgstr "Selecteren"
372+
373+
#: gradia/ui/drawing_actions.py:30
374+
msgid "Highlighter"
375+
msgstr "Fluostift"
376+
377+
#: gradia/ui/drawing_actions.py:31
378+
msgid "Censor"
379+
msgstr "Censureren"
380+
381+
#: gradia/ui/drawing_actions.py:32
382+
msgid "Number"
383+
msgstr "Nummer"
347384

348385
#~ msgid "Size"
349386
#~ msgstr "Grootte"

0 commit comments

Comments
 (0)