Skip to content

Commit b91baeb

Browse files
committed
official/selection_to_pdf - change pdf to PDF in translatable strings
1 parent 5ebadd8 commit b91baeb

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎official/selection_to_pdf.lua‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ local script_data = {}
5454

5555
script_data.metadata = {
5656
name = _("selection to PDF"),
57-
purpose = _("generate a pdf file of selected images"),
57+
purpose = _("generate a PDF file of selected images"),
5858
author = "Jérémy Rosen & Pascal Obry",
5959
help = "https://docs.darktable.org/lua/stable/lua.scripts.manual/scripts/official/selection_to_pdf"
6060
}
@@ -66,8 +66,8 @@ script_data.show = nil -- only required for libs since the destroy_method only h
6666

6767
dt.preferences.register
6868
("selection_to_pdf","Open with","string",
69-
_("a pdf viewer"),
70-
_("can be an absolute pathname or the tool may be in the PATH\nif not specified the system default will be used to open the pdf"),
69+
_("a PDF viewer"),
70+
_("can be an absolute pathname or the tool may be in the PATH\nif not specified the system default will be used to open the PDF"),
7171
"")
7272

7373
local title_widget = dt.new_widget("entry") {
@@ -134,7 +134,7 @@ local function destroy()
134134
dt.print_log("done destroying")
135135
end
136136

137-
dt.register_storage("export_pdf", _("export thumbnails to pdf"),
137+
dt.register_storage("export_pdf", _("export thumbnails to PDF"),
138138
nil,
139139
function(storage,image_table)
140140
local my_title = title_widget.text
@@ -200,7 +200,7 @@ dt.register_storage("export_pdf", _("export thumbnails to pdf"),
200200
command = command .. " " .. pdffile
201201
local result = dt.control.execute(command)
202202
if result ~= 0 then
203-
dt.print(_("problem running pdf viewer")) -- this one is probably usefull to the user
203+
dt.print(_("problem running PDF viewer")) -- this one is probably usefull to the user
204204
error("Problem running "..command)
205205
end
206206

0 commit comments

Comments
 (0)