1
0
mirror of https://github.com/flarum/core.git synced 2025-08-04 07:27:39 +02:00

Merge pull request #577 from dcsjapan/leftover-string-extraction

Extract leftover core strings
This commit is contained in:
Toby Zerner
2015-10-14 14:48:02 +10:30
4 changed files with 4 additions and 6 deletions

View File

@@ -95,7 +95,7 @@ export default {
* Delete the user.
*/
deleteAction() {
if (confirm('Are you sure you want to delete this user? All of the user\'s posts will be deleted.')) {
if (confirm(app.trans('core.forum.user_controls_delete_confirmation'))) {
this.delete().then(() => {
if (app.current instanceof UserPage && app.current.user === this) {
app.history.back();