From 582807f97118e7c00f1944482a5ffda6022cadef Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Sat, 12 Dec 2020 21:04:58 +0100 Subject: [PATCH] [chore, plugins] CoverImage: move newline outside translated string (#6985) --- plugins/coverimage.koplugin/main.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/coverimage.koplugin/main.lua b/plugins/coverimage.koplugin/main.lua index 4ab92d801..c6ed00030 100644 --- a/plugins/coverimage.koplugin/main.lua +++ b/plugins/coverimage.koplugin/main.lua @@ -91,7 +91,7 @@ function CoverImage:createCoverImage(doc_settings) local act_format = self.cover_image_format == "auto" and self.cover_image_extension or self.cover_image_format if not cover_image:writeToFile(self.cover_image_path, act_format, self.cover_image_quality) then UIManager:show(InfoMessage:new{ - text = T(_"Error writing file\n") .. self.cover_image_path, + text = _("Error writing file") .. "\n" .. self.cover_image_path, show_icon = true, }) end @@ -121,7 +121,7 @@ function CoverImage:createCoverImage(doc_settings) local act_format = self.cover_image_format == "auto" and self.cover_image_extension or self.cover_image_format if not image:writeToFile(self.cover_image_path, act_format, self.cover_image_quality) then UIManager:show(InfoMessage:new{ - text = T(_"Error writing file\n") .. self.cover_image_path, + text = _("Error writing file") .. "\n" .. self.cover_image_path, show_icon = true, }) end