diff --git a/contrib/exportLUT.lua b/contrib/exportLUT.lua index 0a578a2..be904cd 100644 --- a/contrib/exportLUT.lua +++ b/contrib/exportLUT.lua @@ -71,13 +71,13 @@ local mkdir_command = 'mkdir -p ' if dt.configuration.running_os == 'windows' then mkdir_command = 'mkdir ' end local file_chooser_button = dt.new_widget("file_chooser_button"){ - title = _("identity_file_chooser"), + title = _("choose the identity file"), value = "", is_directory = false } local export_chooser_button = dt.new_widget("file_chooser_button"){ - title = _("export_location_chooser"), + title = _("choose the export location"), value = "", is_directory = true } diff --git a/contrib/geoJSON_export.lua b/contrib/geoJSON_export.lua index 7462512..dc336b2 100644 --- a/contrib/geoJSON_export.lua +++ b/contrib/geoJSON_export.lua @@ -315,19 +315,19 @@ end dt.preferences.register("geoJSON_export", "CreateMapBoxHTMLFile", "bool", - _("geoJSON export: Create an additional HTML file"), + "geoJSON export: ".._("Create an additional HTML file"), _("creates an HTML file that loads the geoJSON file. (needs a MapBox key"), false ) dt.preferences.register("geoJSON_export", "mapBoxKey", "string", - _("geoJSON export: MapBox key"), + "geoJSON export: MapBox " .. _("key"), "https://www.mapbox.com/studio/account/tokens", '' ) dt.preferences.register("geoJSON_export", "OpengeoJSONFile", "bool", - _("geoJSON export: open geoJSON file after export"), + "geoJSON export: " .. _("open geoJSON file after export"), _("opens the geoJSON file after the export with the standard program for geoJSON files"), false ) diff --git a/contrib/geoToolbox.lua b/contrib/geoToolbox.lua index 13a7b5b..677af0a 100644 --- a/contrib/geoToolbox.lua +++ b/contrib/geoToolbox.lua @@ -67,12 +67,12 @@ labelDistance.label = _("distance:") local label_copy_gps_lat = dt.new_widget("check_button") { - label = _("latitude:"), + label = _("latitude: "), value = true } local label_copy_gps_lon = dt.new_widget("check_button") { - label = _("longitude:"), + label = _("longitude: "), value = true } local label_copy_gps_ele = dt.new_widget("check_button") @@ -307,9 +307,9 @@ local function copy_gps() end end - label_copy_gps_lat.label = string.format(_("latitude: "), copy_gps_latitude) - label_copy_gps_lon.label = string.format(_("longitude: "),copy_gps_longitude) - label_copy_gps_ele.label = string.format(_("elevation: "), copy_gps_elevation) + label_copy_gps_lat.label = _("latitude: ") .. copy_gps_latitude + label_copy_gps_lon.label = _("longitude: ") .. copy_gps_longitude + label_copy_gps_ele.label = _("elevation: ") .. copy_gps_elevation return end diff --git a/official/selection_to_pdf.lua b/official/selection_to_pdf.lua index 1457a1b..e4f22f5 100644 --- a/official/selection_to_pdf.lua +++ b/official/selection_to_pdf.lua @@ -129,7 +129,7 @@ local function destroy() dt.print_log("done destroying") end -dt.register_storage(_("export_pdf"),_("export thumbnails to pdf"), +dt.register_storage("export_pdf", _("export thumbnails to pdf"), nil, function(storage,image_table) local my_title = title_widget.text diff --git a/tools/script_manager.lua b/tools/script_manager.lua index 0baba48..fe8fa6a 100644 --- a/tools/script_manager.lua +++ b/tools/script_manager.lua @@ -1353,7 +1353,7 @@ sm.widgets.disable_scripts = dt.new_widget("button"){ sm.widgets.install_update = dt.new_widget("box"){ orientation = "vertical", - dt.new_widget("section_label"){label = _(" ")}, + dt.new_widget("section_label"){label = " "}, dt.new_widget("label"){label = " "}, dt.new_widget("label"){label = _("update scripts")}, dt.new_widget("label"){label = " "},