Labs/Ubiquity/Ubiquity Source Tip Author Tutorial: Difference between revisions

Line 165: Line 165:
    
    
   preview: function( pblock ) {
   preview: function( pblock ) {
     var msg = 'Inserts todays date: "<i>${date}</i>"';
     var msg = _('Inserts todays date: "<i>${date}</i>"');
     pblock.innerHTML = CmdUtils.renderTemplate( msg, {date: this._date()} );
     pblock.innerHTML = CmdUtils.renderTemplate( msg, {date: this._date()} );
   },
   },
1,007

edits