progress_bar.js 372 Bytes
Newer Older
François C. committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
odoo.define('translate_progress_bar_title', function (require) {
    'use strict';

    var core = require('web.core');
    var ProgressBar = require('web.ProgressBar');
    var _t = core._t;

    ProgressBar.include({
        init: function (parent, options) {
            this._super(parent, options);
            this.title = _t(options.title);
        },
    });

});