@@ -64,7 +64,9 @@ function PluginInfoDialogSections.startDialog(propertyTable)
6464 if prefs .debugToFile == nil then
6565 prefs .debugToFile = false
6666 end
67-
67+ if prefs .debugFailedUpload == nil then
68+ prefs .debugFailedUpload = false
69+ end
6870 -- Initialize update check preference
6971 if prefs .checkUpdatesOnStartup == nil then
7072 prefs .checkUpdatesOnStartup = true
@@ -84,6 +86,8 @@ function PluginInfoDialogSections.startDialog(propertyTable)
8486 propertyTable .debugEnabled = prefs .debugEnabled
8587 propertyTable .debugToFile = prefs .debugToFile
8688 propertyTable .checkUpdatesOnStartup = prefs .checkUpdatesOnStartup
89+ propertyTable .debugFailedUpload = prefs .debugFailedUpload
90+
8791end
8892
8993-- *************************************************
@@ -125,7 +129,7 @@ function PluginInfoDialogSections.sectionsForTopOfDialog(f, propertyTable)
125129 title = " Piwigo Publisher" ,
126130 font = " <system/bold>" ,
127131 alignment = ' left' ,
128- width = 250 ,
132+ width = 250 ,
129133 },
130134
131135 -- Version @ UpdateStatus on one line, red if not up to date
@@ -166,7 +170,7 @@ function PluginInfoDialogSections.sectionsForTopOfDialog(f, propertyTable)
166170 f :row {
167171 f :static_text {
168172 title = " Made in England with cider and cheddar cheese in Somerset,\n " ..
169- " the Land of the Summer People." ,
173+ " the Land of the Summer People." ,
170174 font = " <system/small>" ,
171175 text_color = LrColor (0.5 , 0.5 , 0.5 ),
172176 alignment = ' center' ,
@@ -289,7 +293,7 @@ function PluginInfoDialogSections.sectionsForTopOfDialog(f, propertyTable)
289293 fill_horizontal = 1 ,
290294 f :static_text {
291295 title = " If you experience a problem, enable logging below and reproduce the issue.\n " ..
292- " You can then share the log with support." ,
296+ " You can then share the log with support." ,
293297 fill_horizontal = 1 ,
294298 height_in_lines = 2 ,
295299 alignment = ' left' ,
@@ -334,6 +338,21 @@ function PluginInfoDialogSections.sectionsForTopOfDialog(f, propertyTable)
334338 width_in_chars = 40 ,
335339 },
336340 },
341+
342+ f :row {
343+ f :checkbox {
344+ value = bind ' debugFailedUpload' ,
345+ enabled = bind ' debugEnabled' ,
346+ },
347+ f :static_text {
348+ title = " Log extra information for failed uploads (creates PiwigoPublishDebug folder on your desktop)" ,
349+ alignment = ' left' ,
350+ fill_horizontal = 1 ,
351+ width_in_chars = 40 ,
352+ },
353+ },
354+
355+
337356 },
338357
339358 -- Unsafe / developer group box
0 commit comments