File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -71,13 +71,13 @@ local mkdir_command = 'mkdir -p '
7171if dt .configuration .running_os == ' windows' then mkdir_command = ' mkdir ' end
7272
7373local file_chooser_button = dt .new_widget (" file_chooser_button" ){
74- title = _ (" identity_file_chooser " ),
74+ title = _ (" choose the identity file " ),
7575 value = " " ,
7676 is_directory = false
7777}
7878
7979local export_chooser_button = dt .new_widget (" file_chooser_button" ){
80- title = _ (" export_location_chooser " ),
80+ title = _ (" choose the export location " ),
8181 value = " " ,
8282 is_directory = true
8383}
Original file line number Diff line number Diff line change @@ -315,19 +315,19 @@ end
315315dt .preferences .register (" geoJSON_export" ,
316316 " CreateMapBoxHTMLFile" ,
317317 " bool" ,
318- _ ( " geoJSON export: Create an additional HTML file" ),
318+ " geoJSON export: " .. _ ( " Create an additional HTML file" ),
319319 _ (" creates an HTML file that loads the geoJSON file. (needs a MapBox key" ),
320320 false )
321321dt .preferences .register (" geoJSON_export" ,
322322 " mapBoxKey" ,
323323 " string" ,
324- _ ( " geoJSON export: MapBox key" ),
324+ " geoJSON export: MapBox " .. _ ( " key" ),
325325 " https://www.mapbox.com/studio/account/tokens" ,
326326 ' ' )
327327dt .preferences .register (" geoJSON_export" ,
328328 " OpengeoJSONFile" ,
329329 " bool" ,
330- _ ( " geoJSON export: open geoJSON file after export" ),
330+ " geoJSON export: " .. _ ( " open geoJSON file after export" ),
331331 _ (" opens the geoJSON file after the export with the standard program for geoJSON files" ),
332332 false )
333333
Original file line number Diff line number Diff line change @@ -67,12 +67,12 @@ labelDistance.label = _("distance:")
6767
6868local label_copy_gps_lat = dt .new_widget (" check_button" )
6969{
70- label = _ (" latitude:" ),
70+ label = _ (" latitude: " ),
7171 value = true
7272}
7373local label_copy_gps_lon = dt .new_widget (" check_button" )
7474{
75- label = _ (" longitude:" ),
75+ label = _ (" longitude: " ),
7676 value = true
7777}
7878local label_copy_gps_ele = dt .new_widget (" check_button" )
@@ -307,9 +307,9 @@ local function copy_gps()
307307 end
308308 end
309309
310- label_copy_gps_lat .label = string.format ( _ (" latitude: " ), copy_gps_latitude )
311- label_copy_gps_lon .label = string.format ( _ (" longitude: " ), copy_gps_longitude )
312- label_copy_gps_ele .label = string.format ( _ (" elevation: " ), copy_gps_elevation )
310+ label_copy_gps_lat .label = _ (" latitude: " ) .. copy_gps_latitude
311+ label_copy_gps_lon .label = _ (" longitude: " ) .. copy_gps_longitude
312+ label_copy_gps_ele .label = _ (" elevation: " ) .. copy_gps_elevation
313313
314314 return
315315 end
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ local function destroy()
129129 dt .print_log (" done destroying" )
130130end
131131
132- dt .register_storage (_ ( " export_pdf" ), _ (" export thumbnails to pdf" ),
132+ dt .register_storage (" export_pdf" , _ (" export thumbnails to pdf" ),
133133 nil ,
134134 function (storage ,image_table )
135135 local my_title = title_widget .text
Original file line number Diff line number Diff line change @@ -1353,7 +1353,7 @@ sm.widgets.disable_scripts = dt.new_widget("button"){
13531353
13541354sm .widgets .install_update = dt .new_widget (" box" ){
13551355 orientation = " vertical" ,
1356- dt .new_widget (" section_label" ){label = _ ( " " ) },
1356+ dt .new_widget (" section_label" ){label = " " },
13571357 dt .new_widget (" label" ){label = " " },
13581358 dt .new_widget (" label" ){label = _ (" update scripts" )},
13591359 dt .new_widget (" label" ){label = " " },
You can’t perform that action at this time.
0 commit comments