summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorRémi Rahir <rar@odoo.com>2018-07-09 13:57:01 +0200
committerRémi Rahir <rar@odoo.com>2018-07-09 15:56:01 +0200
commitb87a95b6d6b846b660506a3f4ef3472ebc4df809 (patch)
tree5b98c5fee6fee0817817ca6318aa99419f39ba98 /addons
parentfe74610f453345431ef8610e8fea6f383e419648 (diff)
[FIX] sms: proper translation in JS
Diffstat (limited to 'addons')
-rw-r--r--addons/sms/static/src/js/sms_widget.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/sms/static/src/js/sms_widget.js b/addons/sms/static/src/js/sms_widget.js
index 9d6ff6b3302..bf7f494ca26 100644
--- a/addons/sms/static/src/js/sms_widget.js
+++ b/addons/sms/static/src/js/sms_widget.js
@@ -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));
},
//--------------------------------------------------------------------------