Skip to content

Commit 3481702

Browse files
committed
Uniformiser les comparaisons de résultats en remplaçant les apostrophes par des guillemets dans les fichiers PluginInfoDialogSections.lua et PublishDialogSections.lua
1 parent 5d19ecc commit 3481702

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

piwigoPublish.lrplugin/PluginInfoDialogSections.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ function PluginInfoDialogSections.sectionsForBottomOfDialog(f, propertyTable)
163163
"Cancel"
164164
)
165165

166-
if result == 'ok' then
166+
if result == "ok" then
167167
resetPluginPrefs()
168168
LrDialogs.message(
169169
"Preferences Reset",

piwigoPublish.lrplugin/PublishDialogSections.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ local function prefsDialog(f, propertyTable)
190190
local result = LrDialogs.confirm("Import Piwigo Albums",
191191
"Are you sure you want to import the album structure from Piwigo?\nExisting collections will be unaffected.",
192192
"Import", "Cancel")
193-
if result == 'ok' then
193+
if result == "ok" then
194194
LrTasks.startAsyncTask(function()
195195
PiwigoAPI.importAlbums(propertyTable)
196196
end)
@@ -222,7 +222,7 @@ local function prefsDialog(f, propertyTable)
222222
local result = LrDialogs.confirm("Check / link Piwigo Structure",
223223
"Are you sure you want to check / link Piwigo Structure?\nExisting collections will be unaffected.",
224224
"Check", "Cancel")
225-
if result == 'ok' then
225+
if result == "ok" then
226226
LrTasks.startAsyncTask(function()
227227
PiwigoAPI.validatePiwigoStructure(propertyTable)
228228
end)
@@ -278,7 +278,7 @@ local function prefsDialog(f, propertyTable)
278278
local result = LrDialogs.confirm("Create Special Collections",
279279
"Are you sure you want to create Special Collections?\nExisting collections may be updated and missing Piwigo albums will be created.",
280280
"Create", "Cancel")
281-
if result == 'ok' then
281+
if result == "ok" then
282282
LrTasks.startAsyncTask(function()
283283
PiwigoAPI.specialCollections(propertyTable)
284284
end)

0 commit comments

Comments
 (0)