[vlc-commits] VLSub: Use a translatable string to signal subtitle extraction error

Hugo Beauzée-Luyssen git at videolan.org
Thu Apr 12 13:01:04 CEST 2018


vlc/vlc-3.0 | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Apr  3 16:50:42 2018 +0200| [4b8ac63bffb4f2cd0371bece93acdfe87c24b485] | committer: Hugo Beauzée-Luyssen

VLSub: Use a translatable string to signal subtitle extraction error

(cherry picked from commit 2bb1ed543319244494cbb03ede8fe25b963cc6c5)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=4b8ac63bffb4f2cd0371bece93acdfe87c24b485
---

 share/lua/extensions/VLSub.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/share/lua/extensions/VLSub.lua b/share/lua/extensions/VLSub.lua
index cd917f6f46..d9762795c2 100644
--- a/share/lua/extensions/VLSub.lua
+++ b/share/lua/extensions/VLSub.lua
@@ -1740,7 +1740,7 @@ function download_subtitles()
   local subtitleMrl = find_subtitle_in_archive(tmpFileName, item.SubFormat)
 
   if not subtitleMrl then
-    vlc.msg.err( "Failed to extract subtitle" )
+    vlc.msg.err( lang['mess_not_load'] )
     return false
   end
 



More information about the vlc-commits mailing list