Moved upload errors in user_settings to an array. Moved upload error strings to its separate section in i18n
This commit is contained in:
parent
25a04f2294
commit
bf8bb9ce13
5 changed files with 29 additions and 52 deletions
|
@ -264,7 +264,7 @@ const PostStatusForm = {
|
|||
},
|
||||
uploadFailed (errString, templateArgs) {
|
||||
templateArgs = templateArgs || {}
|
||||
this.error = this.$t('post_status.upload_error') + ' ' + this.$t('post_status.' + errString, templateArgs)
|
||||
this.error = this.$t('upload.error.base') + ' ' + this.$t('upload.error.' + errString, templateArgs)
|
||||
this.enableSubmit()
|
||||
},
|
||||
disableSubmit () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue