Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
… the translations related to composer to esn.inbox.libs (linagora#49)
  • Loading branch information
Huy Ta Quoc authored Aug 11, 2020
1 parent 7012b96 commit fccd9bc
Show file tree
Hide file tree
Showing 12 changed files with 88 additions and 64 deletions.
12 changes: 12 additions & 0 deletions src/esn.inbox.libs/app/app.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
'use strict';

angular.module('esn.inbox.libs')
.config(registerI18N);

function registerI18N($translateProvider) {
$translateProvider.translations('en', require('../i18n/en.json'));
$translateProvider.translations('fr', require('../i18n/fr.json'));
$translateProvider.translations('ru', require('../i18n/ru.json'));
$translateProvider.translations('vi', require('../i18n/vi.json'));
$translateProvider.translations('zh', require('../i18n/zh.json'));
}
1 change: 1 addition & 0 deletions src/esn.inbox.libs/app/app.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ angular.module('esn.inbox.libs', [
]);

require('esn-frontend-common-libs/src/frontend/js/modules/http.js');
require('./app.config');
require('./app.constants');
require('./services/inbox-restangular.service');
15 changes: 15 additions & 0 deletions src/esn.inbox.libs/i18n/en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"Bcc": "Bcc",
"Cc": "Cc",
"Message sent": "Message sent",
"My identity": "My identity",
"Name or email address": "Name or email address",
"New message": "New message",
"Reopen the composer": "Reopen the composer",
"Request a read receipt": "Request a read receipt",
"You have been disconnected. Please check if the message was sent before retrying": "You have been disconnected. Please check if the message was sent before retrying",
"Your device has lost Internet connection. Try later!": "Your device has lost Internet connection. Try later!",
"Your email should have at least one recipient": "Your email should have at least one recipient",
"Your message cannot be sent": "Your message cannot be sent",
"Your message is being sent...": "Your message is being sent..."
}
15 changes: 15 additions & 0 deletions src/esn.inbox.libs/i18n/fr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"Bcc": "Cci",
"Cc": "Cc",
"Message sent": "Message envoyé",
"My identity": "Mon identité",
"Name or email address": "Nom ou adresse email",
"New message": "Nouveau message",
"Reopen the composer": "Réouvrir le compositeur",
"Request a read receipt": "Demander une confirmation de lecture",
"You have been disconnected. Please check if the message was sent before retrying": "Vous avez été déconnecté. Vérifiez si le message a été envoyé avant de réessayer",
"Your device has lost Internet connection. Try later!": "La connexion a été coupée. Veuillez réessayer plus tard!",
"Your email should have at least one recipient": "Votre courrier électronique devrait avoir au moins un destinataire",
"Your message cannot be sent": "Votre message ne peut pas être envoyé",
"Your message is being sent...": "Votre message est envoyé..."
}
15 changes: 15 additions & 0 deletions src/esn.inbox.libs/i18n/ru.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"Bcc": "Bcc",
"Cc": "Cc",
"Message sent": "Сообщение отправлено",
"My identity": "Моя личность",
"Name or email address": "Имя или адрес электронной почты",
"New message": "Новое сообщение",
"Reopen the composer": "Открыть еще раз компоновщик",
"Request a read receipt": "Запросить подтверждение прочтения",
"You have been disconnected. Please check if the message was sent before retrying": "Вы были отключены. Перед повторной попыткой проверьте, было ли отправлено сообщение.",
"Your device has lost Internet connection. Try later!": "Ваше устройство потеряло подключение к Интернету. Попробуйте позже!",
"Your email should have at least one recipient": "В вашем письме должен быть хотя бы один получатель",
"Your message cannot be sent": "Ваше сообщение не может быть отправлено",
"Your message is being sent...": "Ваше сообщение отправляется..."
}
15 changes: 15 additions & 0 deletions src/esn.inbox.libs/i18n/vi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"Bcc": "Bcc",
"Cc": "Cc",
"Message sent": "Thư đã được gửi",
"My identity": "Định danh của tôi",
"Name or email address": "Tên hoặc địa chỉ email",
"New message": "Thư mới",
"Reopen the composer": "Mở lại trình soạn",
"Request a read receipt": "Yêu cầu trạng thái đọc của thư",
"You have been disconnected. Please check if the message was sent before retrying": "Mất kết nối. Kiểm tra trạng thái gửi của thư trước khi thử lại",
"Your device has lost Internet connection. Try later!": "Thiết bị của bạn đã mất kết nôi. Vui lòng thử lại sau!",
"Your email should have at least one recipient": "Email phải chứa ít nhất 1 người nhận",
"Your message cannot be sent": "Không gửi được thư",
"Your message is being sent...": "Thư đang được gửi..."
}
15 changes: 15 additions & 0 deletions src/esn.inbox.libs/i18n/zh.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"Bcc": "密送",
"Cc": "抄送",
"Message sent": "消息已发送",
"My identity": "我的身份",
"Name or email address": "名字或邮箱地址",
"New message": "新消息",
"Reopen the composer": "重新打开编辑",
"Request a read receipt": "要求已读回执",
"You have been disconnected. Please check if the message was sent before retrying": "连接断开。请检查消息是否已发送,然后重试",
"Your device has lost Internet connection. Try later!": "您的设置断开了连接。请稍后重试!",
"Your email should have at least one recipient": "您的邮件需要至少一个收件人",
"Your message cannot be sent": "您的消息无法被发送",
"Your message is being sent...": "您的消息发送中…"
}
13 changes: 0 additions & 13 deletions src/linagora.esn.unifiedinbox/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
"Attach files": "Attach files",
"Attachments": "Attachments",
"authorize your browser": "authorize your browser",
"Bcc": "Bcc",
"Cannot move \"%s\" to \"%s\"": "Cannot move \"%s\" to \"%s\"",
"Cc": "Cc",
"Child Of": "Child Of",
"Clear filters": "Clear filters",
"close": "close",
Expand Down Expand Up @@ -122,22 +120,18 @@
"me": "me",
"Message \"%s\" successfully downloaded": "Message \"%s\" successfully downloaded",
"Message body": "Message body",
"Message sent": "Message sent",
"Message was displayed on %s": "Message was displayed on %s",
"Messages": "Messages",
"Modification of vacation settings": "Modification of vacation settings",
"Move to": "Move to",
"move to destination folder %s": "move to destination folder %s",
"Move to trash": "Move to trash",
"My identity": "My identity",
"My folders": "My folders",
"Name or email address": "Name or email address",
"Navigation": "Navigation",
"New": "New",
"New filter": "New filter",
"Edit filter": "Edit filter",
"New folder": "New folder",
"New message": "New message",
"No end date": "No end date",
"No end time": "No end time",
"No quarantined email": "No quarantined email",
Expand Down Expand Up @@ -165,10 +159,8 @@
"Removing identity...": "Removing identity...",
"Rename": "Rename",
"Reopen": "Reopen",
"Reopen the composer": "Reopen the composer",
"Replied": "Replied",
"Reply to address": "Reply to address",
"Request a read receipt": "Request a read receipt",
"Request receipts": "Request receipts",
"Retry": "Retry",
"Saving identity...": "Saving identity...",
Expand Down Expand Up @@ -245,21 +237,16 @@
"Yesterday": "Yesterday",
"You are not forwarding your email": "You are not forwarding your email",
"You can create rules that will tell OpenPaaS how to handle incoming messages. You choose both the condition that trigger a rule and the actions the rule will take. Rules will run in order shown in the list below, starting with the rule at the top": "You can create rules that will tell OpenPaaS how to handle incoming messages. You choose both the condition that trigger a rule and the actions the rule will take. Rules will run in order shown in the list below, starting with the rule at the top",
"You have been disconnected. Please check if the message was sent before retrying": "You have been disconnected. Please check if the message was sent before retrying",
"You have neither direct messages nor mentions for this account.": "You have neither direct messages nor mentions for this account.",
"You have no mail, have a nice day!": "You have no mail, have a nice day!",
"You're out of storage space and unable to send or receive emails.": "You're out of storage space and unable to send or receive emails.",
"You're out of storage space and will soon be unable to send or receive emails.": "You're out of storage space and will soon be unable to send or receive emails.",
"Your account %s is currently unavailable. You can click to retry": "Your account %s is currently unavailable. You can click to retry",
"Your active filter is too restrictive": "Your active filter is too restrictive",
"Your active filter is too restrictive.": "Your active filter is too restrictive.",
"Your device has lost Internet connection. Try later!": "Your device has lost Internet connection. Try later!",
"Your download has started": "Your download has started",
"Your email should have at least one recipient": "Your email should have at least one recipient",
"Your file is larger than %s. It will be uploaded to %s.": "Your file is larger than %s. It will be uploaded to %s.",
"Your files are larger than %s. They will be uploaded to %s.": "Your files are larger than %s. They will be uploaded to %s.",
"Your message cannot be sent": "Your message cannot be sent",
"Your message is being sent...": "Your message is being sent...",
"Your vacation responder is enabled.": "Your vacation responder is enabled.",
"Your vacation responder stopped on %s": "Your vacation responder stopped on {{ end }}",
"Your vacation responder will be activated on %s": "Your vacation responder will be activated on {{ start }}",
Expand Down
13 changes: 0 additions & 13 deletions src/linagora.esn.unifiedinbox/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
"Attach files": "Joindre des fichiers",
"Attachments": "Pièces jointes",
"authorize your browser": "autoriser votre navigateur",
"Bcc": "Cci",
"Cannot move \"%s\" to \"%s\"": "Impossible de déplacer \"%s\" vers \"%s\"",
"Cc": "Cc",
"Child Of": "Sous",
"Clear filters": "Enlever tous les filtres",
"close": "fermer",
Expand Down Expand Up @@ -122,22 +120,18 @@
"me": "moi",
"Message \"%s\" successfully downloaded": "Le téléchargement du message \"%s\" est terminé",
"Message body": "Corps du message",
"Message sent": "Message envoyé",
"Message was displayed on %s": "Le message a été affiché le %s",
"Messages": "Messages",
"Modification of vacation settings": "Modification du répondeur automatique",
"Move to": "Déplacer vers",
"move to destination folder %s": "le déplacer dans le dossier %s",
"Move to trash": "Déplacer à la corbeille",
"My identity": "Mon identité",
"My folders": "Mes dossiers",
"Name or email address": "Nom ou adresse email",
"Navigation": "Navigation",
"New": "Nouveau",
"New filter": "Nouveau filtre",
"Edit filter": "Modification de filtre",
"New folder": "Nouveau dossier",
"New message": "Nouveau message",
"No end date": "Pas de date de fin",
"No end time": "Aucune heure de fin",
"No quarantined email": "Pas d'email en quarantaine",
Expand Down Expand Up @@ -165,10 +159,8 @@
"Removing identity...": "Suppression de l'identité ...",
"Rename": "Renommer",
"Reopen": "Réouvrir",
"Reopen the composer": "Réouvrir le compositeur",
"Replied": "Répondu",
"Reply to address": "Adresse de réponse",
"Request a read receipt": "Demander une confirmation de lecture",
"Request receipts": "Demande d'accusés",
"Retry": "Réessayer",
"Saving identity...": "Enregistrement de l'identité...",
Expand Down Expand Up @@ -245,21 +237,16 @@
"Yesterday": "Hier",
"You are not forwarding your email": "Vous ne transférez pas votre email",
"You can create rules that will tell OpenPaaS how to handle incoming messages. You choose both the condition that trigger a rule and the actions the rule will take. Rules will run in order shown in the list below, starting with the rule at the top": "Vous pouvez créer des règles qui indiqueront à OpenPaaS comment traiter les mails reçus. Vous pouvez choisir la condition de déclenchement de la règle ainsi que l'action à effectuer. Les règles sont exécutées dans l'ordre où elles apparaissent en commençant par celle du haut.",
"You have been disconnected. Please check if the message was sent before retrying": "Vous avez été déconnecté. Vérifiez si le message a été envoyé avant de réessayer",
"You have neither direct messages nor mentions for this account.": "Vous n'avez ni messages directs, ni mentions pour ce compte.",
"You have no mail, have a nice day!": "Vous n'avez pas de mails, passez une bonne journée !",
"You're out of storage space and unable to send or receive emails.": "Vous n'avez plus d'espace de stockage et vous ne pouvez plus envoyer ou recevoir des emails.",
"You're out of storage space and will soon be unable to send or receive emails.": "Vous n'avez plus d'espace de stockage et serez bientôt incapable d'envoyer ou de recevoir des emails.",
"Your account %s is currently unavailable. You can click to retry": "Votre compte %s n'est pas disponible pour l'instant. Vous pouvez cliquer pour réessayer",
"Your active filter is too restrictive": "Votre filtre actif est trop restrictif",
"Your active filter is too restrictive.": "Votre filtre actif est trop restrictif.",
"Your device has lost Internet connection. Try later!": "La connexion a été coupée. Veuillez réessayer plus tard!",
"Your download has started": "Votre téléchargement a commencé",
"Your email should have at least one recipient": "Votre courrier électronique devrait avoir au moins un destinataire",
"Your file is larger than %s. It will be uploaded to %s.": "La taille de votre fichier est supérieure à %s. Le ficher sera téléversé vers %s.",
"Your files are larger than %s. They will be uploaded to %s.": "La taille de vos fichiers dépasse %s. Les fichiers seront téléversés vers %s.",
"Your message cannot be sent": "Votre message ne peut pas être envoyé",
"Your message is being sent...": "Votre message est envoyé...",
"Your vacation responder is enabled.": "Votre répondeur automatique est actif.",
"Your vacation responder stopped on %s": "Votre message d'absence est désactivé depuis le {{ end }}",
"Your vacation responder will be activated on %s": "Votre message d'absence sera activé le {{ start }}",
Expand Down
13 changes: 0 additions & 13 deletions src/linagora.esn.unifiedinbox/i18n/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
"Attach files": "Прикрепить файлы",
"Attachments": "Вложения",
"authorize your browser": "авторизовать свой браузер",
"Bcc": "Bcc",
"Cannot move \"%s\" to \"%s\"": "Невозможно переместить \"%s\" в \"%s\"",
"Cc": "Cc",
"Child Of": "Под",
"Clear filters": "Очистить фильтры",
"close": "Закрыть",
Expand Down Expand Up @@ -122,22 +120,18 @@
"me": "мне",
"Message \"%s\" successfully downloaded": "Сообщение \"%s\" успешно загружено",
"Message body": "Тело сообщения",
"Message sent": "Сообщение отправлено",
"Message was displayed on %s": "Сообщение было отображено на %s",
"Messages": "Сообщения",
"Modification of vacation settings": "Модификация настроек отпуска",
"Move to": "Переместить в",
"move to destination folder %s": "переместить в папку назначения %s",
"Move to trash": "Переместить в корзину",
"My identity": "Моя личность",
"My folders": "Мои папки",
"Name or email address": "Имя или адрес электронной почты",
"Navigation": "Навигация",
"New": "Новый",
"New filter": "Новый фильтр",
"Edit filter": "Редактировать фильтр",
"New folder": "Новая папка",
"New message": "Новое сообщение",
"No end date": "Нет даты окончания",
"No end time": "Нет конца времени",
"No quarantined email": "Нет карантина",
Expand Down Expand Up @@ -165,10 +159,8 @@
"Removing identity...": "Удаление личности ...",
"Rename": "Переименовать",
"Reopen": "Возобновить",
"Reopen the composer": "Открыть еще раз компоновщик",
"Replied": "Ответил(-a)",
"Reply to address": "Ответить по адресу",
"Request a read receipt": "Запросить подтверждение прочтения",
"Request receipts": "Запрос подтверждений",
"Retry": "Повторить",
"Saving identity...": "Сохранение подписи...",
Expand Down Expand Up @@ -245,21 +237,16 @@
"Yesterday": "Вчера",
"You are not forwarding your email": "Вы не пересылаете свое письмо",
"You can create rules that will tell OpenPaaS how to handle incoming messages. You choose both the condition that trigger a rule and the actions the rule will take. Rules will run in order shown in the list below, starting with the rule at the top": "Вы можете создавать правила, которые сообщат OpenPaaS, как обрабатывать входящие сообщения. Вы выбираете как условие, которое запускает правило, так и действия, которые будет выполнять правило. Правила будут работать в порядке, указанном в списке ниже, начиная с правила сверху",
"You have been disconnected. Please check if the message was sent before retrying": "Вы были отключены. Перед повторной попыткой проверьте, было ли отправлено сообщение.",
"You have neither direct messages nor mentions for this account.": "У вас нет ни прямых сообщений, ни упоминаний для этого аккаунта.",
"You have no mail, have a nice day!": "У вас нет новых входящих писем, хорошего дня!",
"You're out of storage space and unable to send or receive emails.": "Вам не хватает места и вы не можете отправлять или получать электронные письма.",
"You're out of storage space and will soon be unable to send or receive emails.": "Вам не хватает места и скоро вы не сможете отправлять или получать электронные письма.",
"Your account %s is currently unavailable. You can click to retry": "Ваша учетная запись %s в настоящее время недоступна. Вы можете нажать, чтобы повторить",
"Your active filter is too restrictive": "Ваш активный фильтр слишком ограничен",
"Your active filter is too restrictive.": "Ваш активный фильтр слишком ограничен.",
"Your device has lost Internet connection. Try later!": "Ваше устройство потеряло подключение к Интернету. Попробуйте позже!",
"Your download has started": "Ваша загрузка началась",
"Your email should have at least one recipient": "В вашем письме должен быть хотя бы один получатель",
"Your file is larger than %s. It will be uploaded to %s.": "Ваш файл больше, чем %s. Он будет загружен в %s.",
"Your files are larger than %s. They will be uploaded to %s.": "Ваши файлы больше чем %s. Они будут загружены в %s.",
"Your message cannot be sent": "Ваше сообщение не может быть отправлено",
"Your message is being sent...": "Ваше сообщение отправляется ...",
"Your vacation responder is enabled.": "Ваш автоответчик включен.",
"Your vacation responder stopped on %s": "Ваш автоответчик остановился на {{ end }}",
"Your vacation responder will be activated on %s": "Ваш автоответчик будет активирован на {{ start }}",
Expand Down
Loading

0 comments on commit fccd9bc

Please sign in to comment.