official/apply_camera_string - clean up translatable strings

This commit is contained in:
Bill Ferguson
2024-09-17 18:29:05 -04:00
parent f0bdc890c1
commit 36a6a54364

View File

@@ -463,16 +463,18 @@ 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, _("apply darktable camera styles to collection")
end, string.format(shortcut_string, _("collection"))
)
dt.register_event(MODULE, "shortcut",
function(event, shortcut)
apply_camera_style(false)
end, _("apply darktable camera styles to selection")
end, string.format(shortcut_string, _("selection"))
)
dt.register_event(MODULE, "post-import-image",