Synchronize localizations from Transifex

This commit is contained in:
RainLoop Team 2016-02-05 21:51:00 +03:00
parent 1695a40446
commit 17efdbf3bd
9 changed files with 434 additions and 402 deletions

View file

@ -12,7 +12,7 @@
position: relative;
overflow: hidden;
width: 1600px;
height: 370px;
height: 390px;
left: 0;
}
@ -24,6 +24,20 @@
left: -800px;
}
.domain-desc {
color: #666;
line-height: 20px;
background-color: #f9f9f9;
padding: 8px;
border: 1px solid #eee;
border-radius: 3px;
margin: -5px 0;
i {
font-style: normal;
color: red;
}
}
.error-desc {
color: red;
margin-left: 10px;

View file

@ -103,6 +103,11 @@
Translator.i18n('POPUPS_DOMAIN/TITLE_ADD_DOMAIN_WITH_NAME', {'NAME': sName}));
}, this);
this.domainDesc = ko.computed(function () {
var sName = this.name();
return !this.edit() && sName ? Translator.i18n('POPUPS_DOMAIN/NEW_DOMAIN_DESC', {'NAME': '*@' + sName}) : '';
}, this);
this.domainIsComputed = ko.computed(function () {
var