Skip to content

Commit 5d19ecc

Browse files
committed
Uniformiser les messages d'erreur en remplaçant les apostrophes par des guillemets dans plusieurs fichiers
1 parent a6bd2a6 commit 5d19ecc

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

piwigoPublish.lrplugin/PWSetAlbumCover.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ local function SetAlbumCover()
115115
if not (publishSettings.Connected) then
116116
rv = PiwigoAPI.login(publishSettings)
117117
if not rv then
118-
LrDialogs.message('SetAlbumCover - cannot connect to piwigo')
118+
LrDialogs.message("SetAlbumCover - cannot connect to piwigo")
119119
return false
120120
end
121121
end

piwigoPublish.lrplugin/PiwigoAPI.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1365,7 +1365,7 @@ function PiwigoAPI.pwConnect(propertyTable)
13651365
-- get list of all tagIDs
13661366
rv, propertyTable.tagTable = PiwigoAPI.getTagList(propertyTable)
13671367
if not rv then
1368-
LrDialogs.message('PiwigoAPI.pwConnect - cannot get taglist from Piwigo')
1368+
LrDialogs.message("PiwigoAPI.pwConnect - cannot get taglist from Piwigo")
13691369
return false
13701370
end
13711371

@@ -2795,7 +2795,7 @@ function PiwigoAPI.setAlbumCover(publishService)
27952795
if not (publishSettings.Connected) then
27962796
rv = PiwigoAPI.login(publishSettings)
27972797
if not rv then
2798-
LrDialogs.message('PiwigoAPI.setAlbumCover - cannot connect to piwigo')
2798+
LrDialogs.message("PiwigoAPI.setAlbumCover - cannot connect to piwigo")
27992799
return false
28002800
end
28012801
end

piwigoPublish.lrplugin/PublishDialogSections.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ local function connectionDialog(f, propertyTable, pwInstance)
8989
if sanitizedURL == url then
9090
return true, url, ''
9191
elseif not (sanitizedURL == nil) then
92-
LrDialogs.message('Entered URL was autocorrected to ' .. sanitizedURL)
92+
LrDialogs.message("Entered URL was autocorrected to " .. sanitizedURL)
9393
return true, sanitizedURL, ''
9494
end
9595
return false, url, 'Entered URL not valid.'
@@ -102,7 +102,7 @@ local function connectionDialog(f, propertyTable, pwInstance)
102102
action = function()
103103
LrTasks.startAsyncTask(function()
104104
if not PiwigoAPI.login(propertyTable) then
105-
LrDialogs.message('Connection NOT successful')
105+
LrDialogs.message("Connection NOT successful")
106106
end
107107
end)
108108
end,

piwigoPublish.lrplugin/PublishTask.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ function PublishTask.processRenderedPhotos(functionContext, exportContext)
276276
rv, propertyTable.tagTable = PiwigoAPI.getTagList(propertyTable)
277277
end
278278
if not rv then
279-
LrDialogs.message('PiwigoAPI:updateMetadata - cannot get taglist from Piwigo')
279+
LrDialogs.message("PiwigoAPI:updateMetadata - cannot get taglist from Piwigo")
280280
end
281281
callStatus = PiwigoAPI.updateMetadata(propertyTable, lrPhoto, metaData)
282282
if not callStatus.status then

0 commit comments

Comments
 (0)