"Are you sure?" -> i18n

This commit is contained in:
Maxim Filippov 2019-02-21 02:51:28 +03:00
parent c71f411ad6
commit 267952b4e7
1 changed files with 1 additions and 1 deletions

View File

@ -321,7 +321,7 @@ const UserSettings = {
this.$router.replace('/')
},
revokeToken (id) {
if (window.confirm('Are you sure?')) {
if (window.confirm(`${this.$i18n.t('settings.revoke_token')}?`)) {
this.$store.dispatch('revokeToken', id)
}
}