Skip to content
Snippets Groups Projects
Commit b87a95b6 authored by Rémi Rahir's avatar Rémi Rahir
Browse files

[FIX] sms: proper translation in JS

parent fe74610f
Branches
Tags
No related merge requests found
......@@ -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));
},
//--------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment