Clarify a comment and correct its spelling

Change-Id: Idd1334d60822a1bfaae2354bca6cb277016f81f7
This commit is contained in:
Amir E. Aharoni 2014-12-28 00:50:54 +02:00
parent cad2056fc9
commit 84629d1b6c

View file

@ -471,8 +471,9 @@ ve.ui.MWSaveDialog.prototype.getSetupProcess = function ( data ) {
this.actions.forEach( { actions: 'save' }, function ( action ) {
action.setLabel(
ve.msg(
// TODO: Actually populate this.resotring with information, right now it is
// always false because of an oversight when migrating this code from init
// TODO: Actually populate this.restoring with information. Right now it is
// always false because of an oversight when migrating this code from init.
// Possible messages:
// visualeditor-savedialog-label-restore, visualeditor-savedialog-label-save
'visualeditor-savedialog-label-' + ( this.restoring ? 'restore' : 'save' )
)