Add Polish and Portuguese (Portugal) languages

This commit is contained in:
RainLoop Team 2013-11-24 02:04:10 +04:00
parent a6e30e5506
commit b61142f29b
10 changed files with 851 additions and 14 deletions

View file

@ -2285,6 +2285,7 @@ img.mfp-img {
.flag.flag-en-ca {background-position: -48px -22px}
.flag.flag-nl, .flag.flag-nl-nl {background-position: -80px -110px}
.flag.flag-pl, .flag.flag-pl-pl {background-position: -32px -121px}
.flag.flag-ru, .flag.flag-ru-ru {background-position: -224px -121px}
.flag.flag-de, .flag.flag-de-de {background-position: -80px -33px}
.flag.flag-it, .flag.flag-it-it {background-position: -208px -66px}

File diff suppressed because one or more lines are too long

View file

@ -230,7 +230,19 @@ Consts.Values.SmtpDefaulSecurePort = 465;
* @const
* @type {number}
*/
Consts.Values.iMessageBodyCacheLimit = 15;
Consts.Values.MessageBodyCacheLimit = 15;
/**
* @const
* @type {number}
*/
Consts.Values.AjaxErrorLimit = 7;
/**
* @const
* @type {number}
*/
Consts.Values.TokenErrorLimit = 10;
/**
* @const
@ -5597,12 +5609,12 @@ AbstractAjaxRemoteStorage.prototype.defaultResponse = function (fCallback, sRequ
Globals.iTokenErrorCount++;
}
if (10 < Globals.iTokenErrorCount)
if (Consts.Values.TokenErrorLimit < Globals.iTokenErrorCount)
{
RL.loginAndLogoutReload(true);
}
if (oData.Logout || 7 < Globals.iAjaxErrorCount)
if (oData.Logout || Consts.Values.AjaxErrorLimit < Globals.iAjaxErrorCount)
{
if (window.__rlah_clear)
{

File diff suppressed because one or more lines are too long

View file

@ -230,7 +230,19 @@ Consts.Values.SmtpDefaulSecurePort = 465;
* @const
* @type {number}
*/
Consts.Values.iMessageBodyCacheLimit = 15;
Consts.Values.MessageBodyCacheLimit = 15;
/**
* @const
* @type {number}
*/
Consts.Values.AjaxErrorLimit = 7;
/**
* @const
* @type {number}
*/
Consts.Values.TokenErrorLimit = 10;
/**
* @const
@ -12788,7 +12800,7 @@ WebMailDataStorage.prototype.purgeMessageBodyCache = function()
var
iCount = 0,
oMessagesBodiesDom = null,
iEnd = Globals.iMessageBodyCacheCount - Consts.Values.iMessageBodyCacheLimit
iEnd = Globals.iMessageBodyCacheCount - Consts.Values.MessageBodyCacheLimit
;
if (0 < iEnd)
@ -13369,12 +13381,12 @@ AbstractAjaxRemoteStorage.prototype.defaultResponse = function (fCallback, sRequ
Globals.iTokenErrorCount++;
}
if (10 < Globals.iTokenErrorCount)
if (Consts.Values.TokenErrorLimit < Globals.iTokenErrorCount)
{
RL.loginAndLogoutReload(true);
}
if (oData.Logout || 7 < Globals.iAjaxErrorCount)
if (oData.Logout || Consts.Values.AjaxErrorLimit < Globals.iAjaxErrorCount)
{
if (window.__rlah_clear)
{

File diff suppressed because one or more lines are too long