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

1
.tx/readme.txt Normal file
View file

@ -0,0 +1 @@
tx pull

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

View file

@ -216,6 +216,7 @@ en:
BUTTON_CLOSE: "Close"
BUTTON_ADD: "Add"
BUTTON_UPDATE: "Update"
NEW_DOMAIN_DESC: "This domain configuration will allow you to work <br />with <i>%NAME%</i> email addresses."
WHITE_LIST_ALERT: |
List of domain users webmail is allowed to access.
Use a space as delimiter.

View file

@ -216,6 +216,7 @@ en_US:
BUTTON_CLOSE: "Close"
BUTTON_ADD: "Add"
BUTTON_UPDATE: "Update"
NEW_DOMAIN_DESC: "This domain configuration will allow you to work <br />with <i>%NAME%</i> email addresses."
WHITE_LIST_ALERT: |
List of domain users webmail is allowed to access.
Use a space as delimiter.
@ -292,6 +293,7 @@ en_US:
DEMO_SEND_MESSAGE_ERROR: "For security purposes, this account is not allowed to send messages to external e-mail addresses!"
DEMO_ACCOUNT_ERROR: "For security purposes, this account is not allowed for this action!"
ACCOUNT_ALREADY_EXISTS: "Account already exists"
ACCOUNT_DOES_NOT_EXIST: "Account doesn't exist"
MAIL_SERVER_ERROR: "An error has occured while accessing mail server"
INVALID_INPUT_ARGUMENT: "Invalid input argument"
UNKNOWN_ERROR: "Unknown error"

View file

@ -215,6 +215,7 @@ ru_RU:
BUTTON_CLOSE: "Закрыть"
BUTTON_ADD: "Добавить"
BUTTON_UPDATE: "Обновить"
NEW_DOMAIN_DESC: "Эта конфигурация позволит вам работать <br />с <i>%NAME%</i> адресами."
WHITE_LIST_ALERT: |
Список пользователей домена к которым разрешен доступ.
Используйте пробел в качестве разделителя.
@ -291,6 +292,7 @@ ru_RU:
DEMO_SEND_MESSAGE_ERROR: "Демо аккаунту отправка писем на внешние почтовые адреса запрещена!"
DEMO_ACCOUNT_ERROR: "По соображениям безопасности данный аккаунт не может выполнить это действие."
ACCOUNT_ALREADY_EXISTS: "Аккаунт уже добавлен"
ACCOUNT_DOES_NOT_EXIST: "Аккаунт не существует"
MAIL_SERVER_ERROR: "Ошибка доступа к почтовому серверу"
INVALID_INPUT_ARGUMENT: "Неверный параметр"
UNKNOWN_ERROR: "Неизвестная ошибка"

File diff suppressed because it is too large Load diff

View file

@ -273,7 +273,7 @@ ru_RU:
BUTTON_CLOSE: "Закрыть"
DANGER_DESC_WARNING: "Внимание!"
DANGER_DESC_HTML_1: "Данное действие приведет к полному удалению всех писем из папки <strong>%FOLDER%</strong>."
DANGER_DESC_HTML_2: "После начала очистки, процесс <strong style=\"color:red\">нельзя</strong> будет останосить или отменить."
DANGER_DESC_HTML_2: "После начала очистки, процесс <strong style=\"color:red\">нельзя</strong> будет остановить или отменить."
TITLE_CLEARING_PROCESS: "Очистка папки..."
POPUPS_IMPORT_OPEN_PGP_KEY:
TITLE_IMPORT_OPEN_PGP_KEY: "Импорт OpenPGP ключа"

View file

@ -8,15 +8,19 @@
<div class="modal-body">
<form class="form-horizontal domain-form" action="#/" onsubmit="return false;">
<div class="row" data-bind="visible: !edit()" style="margin-bottom: 20px;">
<div class="span10">
<div class="span5">
<span data-i18n="POPUPS_DOMAIN/LABEL_NAME"></span>
&nbsp;
<span style="color: #aaa">(<span data-i18n="POPUPS_DOMAIN/NAME_HELPER"></span>)</span>
<br />
<input type="text" class="span4" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
data-bind="textInput: name, hasfocus: name.focused" />
<span class="error-desc" data-bind="text: savingError"></span>
<div data-bind="visible: '' !== savingError()">
<span class="error-desc" data-bind="text: savingError"></span>
</div>
</div>
<div class="span5 domain-desc" data-bind="visible: '' !== domainDesc()">
<div data-bind="html: domainDesc"></div>
</div>
</div>
<div class="row">