浏览代码

Bug fix: HTTP proxy authentication prompt was not localized

Source commit: 0c5f75ee62f004dfb160c2dbb4d48b98edc0b398
Martin Prikryl 2 年之前
父节点
当前提交
29a0b2d604
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      source/core/SecureShell.cpp

+ 2 - 1
source/core/SecureShell.cpp

@@ -708,6 +708,7 @@ TPromptKind __fastcall TSecureShell::IdentifyPromptKind(UnicodeString & Name)
     { L"SSH password", PASSWORD_TITLE },
     { L"New SSH password", NEW_PASSWORD_TITLE },
     { L"SOCKS proxy authentication", PROXY_AUTH_TITLE },
+    { L"HTTP proxy authentication", PROXY_AUTH_TITLE },
   };
 
   int Index = TranslatePuttyMessage(NameTranslation, LENOF(NameTranslation), Name);
@@ -741,7 +742,7 @@ TPromptKind __fastcall TSecureShell::IdentifyPromptKind(UnicodeString & Name)
   {
     PromptKind = pkNewPassword;
   }
-  else if (Index == 8)
+  else if ((Index == 8) || (Index == 9))
   {
     PromptKind = pkProxyAuth;
   }