[FIX] sms: proper translation in JS

This commit is contained in:
Rémi Rahir
2018-07-09 15:56:01 +02:00
parent fe74610f45
commit b87a95b6d6
+1 -1
View File
@@ -90,7 +90,7 @@ var SmsWidget = FieldText.extend({
* @private
*/
_renderSMS: function () {
this.$('.o_sms_count').text(this.nbrChar + _t(' chars, fits in ') + this.nbrSMS + ' SMS (' + this.encoding + ') ');
this.$('.o_sms_count').text(_.str.sprintf(_t('%s chars, fits in %s SMS (%s) '), this.nbrChar, this.nbrSMS, this.encoding));
},
//--------------------------------------------------------------------------