official/apply_camera_style - make the translatable strings
contrib/hif_group_leader translation safe contrib/jpg_group_leader
This commit is contained in:
committed by
Krzysztof Kotowicz
parent
b1e6bb8daa
commit
9bfda93b51
@@ -463,18 +463,16 @@ script_data.destroy = destroy
|
||||
-- E V E N T S
|
||||
-- - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
local shortcut_string = _("apply darktable camera styles to %s")
|
||||
|
||||
dt.register_event(MODULE, "shortcut",
|
||||
function(event, shortcut)
|
||||
apply_camera_style(true)
|
||||
end, string.format(shortcut_string, _("collection"))
|
||||
end, _("apply darktable camera styles to collection")
|
||||
)
|
||||
|
||||
dt.register_event(MODULE, "shortcut",
|
||||
function(event, shortcut)
|
||||
apply_camera_style(false)
|
||||
end, string.format(shortcut_string, _("selection"))
|
||||
end, _("apply darktable camera styles to selection")
|
||||
)
|
||||
|
||||
dt.register_event(MODULE, "post-import-image",
|
||||
|
||||
Reference in New Issue
Block a user