Skip to content

Commit 36a6a54

Browse files
committed
official/apply_camera_string - clean up translatable strings
1 parent f0bdc89 commit 36a6a54

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

official/apply_camera_style.lua

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,16 +463,18 @@ script_data.destroy = destroy
463463
-- E V E N T S
464464
-- - - - - - - - - - - - - - - - - - - - - - - -
465465

466+
local shortcut_string = _("apply darktable camera styles to %s")
467+
466468
dt.register_event(MODULE, "shortcut",
467469
function(event, shortcut)
468470
apply_camera_style(true)
469-
end, _("apply darktable camera styles to collection")
471+
end, string.format(shortcut_string, _("collection"))
470472
)
471473

472474
dt.register_event(MODULE, "shortcut",
473475
function(event, shortcut)
474476
apply_camera_style(false)
475-
end, _("apply darktable camera styles to selection")
477+
end, string.format(shortcut_string, _("selection"))
476478
)
477479

478480
dt.register_event(MODULE, "post-import-image",

0 commit comments

Comments
 (0)