Fixed bug from extra parenthesis
This commit is contained in:
parent
c52721aaab
commit
b8834bbaf6
|
@ -21,7 +21,7 @@ export const getQuickActionText = note => {
|
||||||
text = __('Applying multiple commands');
|
text = __('Applying multiple commands');
|
||||||
} else {
|
} else {
|
||||||
const commandDescription = executedCommands[0].description.toLowerCase();
|
const commandDescription = executedCommands[0].description.toLowerCase();
|
||||||
text = sprintf(__('Applying command to %{commandDescription}', { commandDescription }));
|
text = sprintf(__('Applying command to %{commandDescription}'), { commandDescription });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -101,10 +101,12 @@ Sidebar.prototype.toggleTodo = function(e) {
|
||||||
this.todoUpdateDone(data);
|
this.todoUpdateDone(data);
|
||||||
})
|
})
|
||||||
.catch(() =>
|
.catch(() =>
|
||||||
flash(sprintf(__('There was an error %{message} todo.')), {
|
flash(
|
||||||
|
sprintf(__('There was an error %{message} todo.'), {
|
||||||
message:
|
message:
|
||||||
ajaxType === 'post' ? s__('RightSidebar|adding a') : s__('RightSidebar|deleting the'),
|
ajaxType === 'post' ? s__('RightSidebar|adding a') : s__('RightSidebar|deleting the'),
|
||||||
}),
|
}),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue