diff --git a/www/plugins/es/i18n/locale-en.json b/www/plugins/es/i18n/locale-en.json index 02eeca9c3e58b8de76648b19d7c86820945c5850..00db8a2c4099065f50d6ec969513cbcdd24c3273 100644 --- a/www/plugins/es/i18n/locale-en.json +++ b/www/plugins/es/i18n/locale-en.json @@ -68,7 +68,8 @@ "MESSAGE_NOT_READABLE": "Unable to read message.", "USER_NOT_RECIPIENT": "You are not the recipient of this message: unable to read it.", "NOT_AUTHENTICATED_MESSAGE": "The authenticity of the message is not certain or its content is corrupted.", - "REMOVE_MESSAGE_FAILED": "Error while deleting message" + "REMOVE_MESSAGE_FAILED": "Error while deleting message", + "MESSAGE_CONTENT_TOO_LONG": "Value too long ({{maxLength}} characters max)." } }, "MARKET": { diff --git a/www/plugins/es/i18n/locale-fr-FR.json b/www/plugins/es/i18n/locale-fr-FR.json index d8bed9bb04b4ecdd19a1c1f2fb0f393a9e254236..776ee698b226441b8c526e4cd7865c0fa4053ae8 100644 --- a/www/plugins/es/i18n/locale-fr-FR.json +++ b/www/plugins/es/i18n/locale-fr-FR.json @@ -47,7 +47,7 @@ "TO": "A", "OBJECT": "Objet", "OBJECT_HELP": "Objet", - "ENCRYPTED_HELP": "Veuillez noter que ce message sera crypté avant envoi. Seul le destinataire pourra le lire.", + "ENCRYPTED_HELP": "Veuillez noter que ce message sera chiffré avant envoi, afin que seul le destinataire puisse le lire, et qu'il soit assuré que vous soyez bien son auteur.", "MESSAGE": "Message", "MESSAGE_HELP": "Contenu du message", "CONTENT_CONFIRMATION": "Le contenu du message est vide.<br/><br/>Voulez-vous néanmoins envoyer le message ?" @@ -68,7 +68,8 @@ "MESSAGE_NOT_READABLE": "Lecture du message impossible.", "USER_NOT_RECIPIENT": "Vous n'etes pas le destinataire de ce message : déchiffrement impossible.", "NOT_AUTHENTICATED_MESSAGE": "L'authenticité du message est douteuse ou son contenu est corrompu.", - "REMOVE_MESSAGE_FAILED": "Erreur de suppression du message" + "REMOVE_MESSAGE_FAILED": "Erreur de suppression du message", + "MESSAGE_CONTENT_TOO_LONG": "Valeur trop longue ({{maxLength}} caractères max)." } }, "MARKET": { diff --git a/www/plugins/es/templates/message/compose_form.html b/www/plugins/es/templates/message/compose_form.html index 6a9e5691f73438e97b889fe80ba4db129759da45..69cf8953961998c6b555a524b25f5e99b7528416 100644 --- a/www/plugins/es/templates/message/compose_form.html +++ b/www/plugins/es/templates/message/compose_form.html @@ -45,7 +45,7 @@ ng-show="form.$submitted && form.title.$error" ng-messages="form.title.$error"> <div class="form-error" ng-message="maxlength"> - <span translate="ERROR.FIELD_TOO_LONG"></span> + <span translate="MESSAGE.ERROR.MESSAGE_CONTENT_TOO_LONG" translate-values="{maxLength: 256}"></span> </div> <div class="form-error" ng-message="required"> <span translate="ERROR.FIELD_REQUIRED"></span> @@ -57,17 +57,17 @@ ng-class="{'item-input-error': form.$submitted && form.content.$invalid}"> <span class="input-label">{{'MESSAGE.COMPOSE.MESSAGE' | translate}}</span> <textarea placeholder="{{'MESSAGE.COMPOSE.MESSAGE_HELP' | translate}}" - name="message" + name="content" ng-model="formData.content" rows="10" - ng-maxlength="1024"> + ng-maxlength="5000"> </textarea> </label> <div class="form-errors" ng-show="form.$submitted && form.content.$error" ng-messages="form.content.$error"> <div class="form-error" ng-message="maxlength"> - <span translate="ERROR.FIELD_TOO_LONG"></span> + <span translate="MESSAGE.ERROR.MESSAGE_CONTENT_TOO_LONG" translate-values="{maxLength: 5000}"></span> </div> </div>