clean up a few issues with parentheses and missed strings.

This commit is contained in:
Bill Ferguson
2024-10-12 20:28:01 -04:00
parent 842f2fca66
commit 64840089e9
4 changed files with 6 additions and 6 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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