add js alert translation

This commit is contained in:
Alex Turchyn
2023-09-05 22:28:50 +03:00
parent 47ed8db955
commit bbd3618f0e
2 changed files with 19 additions and 10 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ export default {
fetch(this.baseUrl + `/send_submission_email.json?submitter_slug=${this.submitterSlug}`, {
method: 'POST'
}).then(() => {
alert('Email has been sent')
alert(this.t('email_has_been_sent'))
}).finally(() => {
this.isSendingCopy = false
})