vlc/vlc-3.0 | branch: master | Thomas Guillem <[email protected]> | Thu Oct 17 
16:31:07 2019 +0200| [d30d59d570d827994edfa1ce46f670231da866b1] | committer: 
Thomas Guillem

dsm: specify the v1 protocol in the dialog credential title

(cherry picked from commit bf3c999938b86639b1fb084e3fd30e2fa6493d3d)
Signed-off-by: Thomas Guillem <[email protected]>

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

 modules/access/dsm/access.c | 2 +-
 modules/access/smb_common.h | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/modules/access/dsm/access.c b/modules/access/dsm/access.c
index fb8b7f516d..0713775c9d 100644
--- a/modules/access/dsm/access.c
+++ b/modules/access/dsm/access.c
@@ -382,7 +382,7 @@ static int login( stream_t *p_access )
         }
         while( connect_err == EACCES
             && vlc_credential_get( &credential, p_access, "smb-user", 
"smb-pwd",
-                                   SMB_LOGIN_DIALOG_TITLE,
+                                   SMB1_LOGIN_DIALOG_TITLE,
                                    SMB_LOGIN_DIALOG_TEXT, p_sys->netbios_name 
) )
         {
             b_guest = false;
diff --git a/modules/access/smb_common.h b/modules/access/smb_common.h
index 7f869d1ac3..94254b4f2e 100644
--- a/modules/access/smb_common.h
+++ b/modules/access/smb_common.h
@@ -28,6 +28,9 @@
 #define SMB_DOMAIN_LONGTEXT N_("Domain/Workgroup that " \
         "will be used for the connection.")
 
+/* Not translated since added after the VLC 3.0 release */
+#define SMB1_LOGIN_DIALOG_TITLE "SMBv1 authentication required"
+
 #define SMB_LOGIN_DIALOG_TITLE N_( "SMB authentication required" )
 #define SMB_LOGIN_DIALOG_TEXT N_( "The computer (%s) you are trying to connect 
"   \
     "to requires authentication.\nPlease provide a username (ideally a "  \

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to