Skip to content
This repository has been archived by the owner on Oct 17, 2020. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:kee-org/KeeFox
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyrat committed May 14, 2017
2 parents 5c5ce12 + e990e24 commit 73bccab
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions Firefox addon/KeeFox/chrome/content/commonDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -443,18 +443,25 @@ var keeFoxDialogManager = {
// The proxy %2$S is requesting a username and password. The site says: "%1$S"
var currentProxyL10nPattern = "";
try
{
// Name changed again in Firefox 50 or so
currentProxyL10nPattern = this._cdBundle.GetStringFromName("EnterLoginForProxy3");
} catch (exception)
{
try
{
// Name changed in Firefox 49
currentProxyL10nPattern = this._cdBundle.GetStringFromName("EnterLoginForProxy2");
} catch (exception)
{
currentProxyL10nPattern = this._cdBundle.GetStringFromName("EnterLoginForProxy");
try
{
currentProxyL10nPattern = this._cdBundle.GetStringFromName("EnterLoginForProxy");
} catch (exception)
{
currentProxyL10nPattern = this._promptBundle.GetStringFromName("EnterLoginForProxy");
}
}
} catch (exception)
{
currentProxyL10nPattern = this._promptBundle.GetStringFromName("EnterLoginForProxy");
}

realmFirst = false;
Expand Down

0 comments on commit 73bccab

Please sign in to comment.