1
0
mirror of synced 2025-02-09 16:49:24 +03:00

Fixes French translation (see #4988)

This commit is contained in:
alexweissman 2017-09-24 21:38:04 -04:00
parent 389aa1ab97
commit ed24c34028
2 changed files with 4 additions and 22 deletions

View File

@ -9,6 +9,7 @@
- Updates to Slovak (#4915)
- Fixed Norwegian `inputTooShort` message (#4896)
- Add Bosnian translation (`bs`) (#4504)
- Improve French translation (#4988)
## 4.0.4

View File

@ -7,37 +7,18 @@ define(function () {
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'Supprimez ' + overChars + ' caractère';
if (overChars !== 1) {
message += 's';
}
return message;
return 'Supprimez ' + overChars + ' caractère' + (overChars > 1) ? 's' : '';
},
inputTooShort: function (args) {
var remainingChars = args.minimum - args.input.length;
var message = 'Saisissez ' + remainingChars + ' caractère';
if (remainingChars !== 1) {
message += 's';
}
return message;
return 'Saisissez au moins ' + remainingChars + ' caractère' + (remainingChars > 1) ? 's' : '';
},
loadingMore: function () {
return 'Chargement de résultats supplémentaires…';
},
maximumSelected: function (args) {
var message = 'Vous pouvez seulement sélectionner ' +
args.maximum + ' élément';
if (args.maximum !== 1) {
message += 's';
}
return message;
return 'Vous pouvez seulement sélectionner ' + args.maximum + ' élément' + (args.maximum > 1) ? 's' : '';
},
noResults: function () {
return 'Aucun résultat trouvé';