"Are you sure?" -> i18n

deploy-ci
Maxim Filippov 6 years ago
parent c71f411ad6
commit 267952b4e7

@ -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)
}
}

Loading…
Cancel
Save