clean up a few issues with parentheses and missed strings.
This commit is contained in:
@@ -293,7 +293,7 @@ local function create_geoJSON_file(storage, image_table, extra_data)
|
||||
file:write(geoJSON_file)
|
||||
file:close()
|
||||
|
||||
dt.print(string.format(_("%s file created in %s", "geoJSON", exportDirectory)))
|
||||
dt.print(string.format(_("%s file created in %s"), "geoJSON", exportDirectory))
|
||||
|
||||
-- Open the file with the standard programm
|
||||
if ( dt.preferences.read("geoJSON_export","OpengeoJSONFile","bool") == true ) then
|
||||
|
||||
@@ -186,7 +186,7 @@ dt.register_event(MODULE .. "_collect", "shortcut",
|
||||
local images = dt.collection
|
||||
make_existing_hif_group_leader(images)
|
||||
end,
|
||||
string.format(_("make hif group leader for %s", "collection"))
|
||||
string.format(_("make hif group leader for %s", _("collection")))
|
||||
)
|
||||
|
||||
dt.register_event(MODULE .. "_select", "shortcut",
|
||||
@@ -194,7 +194,7 @@ dt.register_event(MODULE .. "_select", "shortcut",
|
||||
local images = dt.gui.selection()
|
||||
make_existing_hif_group_leader(images)
|
||||
end,
|
||||
string.format(_("make hif group leader for %s", "selection"))
|
||||
string.format(_("make hif group leader for %s", _("selection")))
|
||||
)
|
||||
|
||||
return script_data
|
||||
@@ -83,7 +83,7 @@ end
|
||||
|
||||
local function show_status(storage, image, format, filename,
|
||||
number, total, high_quality, extra_data)
|
||||
dt.print(string.format(_("exporting to hugin: %d / $d", number, total)))
|
||||
dt.print(string.format(_("exporting to hugin: %d / $d"), number, total))
|
||||
end
|
||||
|
||||
local function create_panorama(storage, image_table, extra_data) --finalize
|
||||
|
||||
@@ -186,7 +186,7 @@ dt.register_event(MODULE .. "_collect", "shortcut",
|
||||
local images = dt.collection
|
||||
make_existing_jpg_group_leader(images)
|
||||
end,
|
||||
string.format(_("make jpg group leader for %s", "collection"))
|
||||
string.format(_("make jpg group leader for %s", _("collection")))
|
||||
)
|
||||
|
||||
dt.register_event(MODULE .. "_select", "shortcut",
|
||||
@@ -194,7 +194,7 @@ dt.register_event(MODULE .. "_select", "shortcut",
|
||||
local images = dt.gui.selection()
|
||||
make_existing_jpg_group_leader(images)
|
||||
end,
|
||||
string.format(_("make jpg group leader for %s", "selection"))
|
||||
string.format(_("make jpg group leader for %s", _("selection")))
|
||||
)
|
||||
|
||||
return script_data
|
||||
Reference in New Issue
Block a user