diff options
| author | Rinpatch <rinpatch@sdf.org> | 2018-12-12 16:38:01 +0300 |
|---|---|---|
| committer | Rinpatch <rinpatch@sdf.org> | 2018-12-12 16:38:01 +0300 |
| commit | bf8bb9ce134c8712885e52d005c6d130fca4e553 (patch) | |
| tree | 563163e079b72343c32eecde199559a406d3dcfa /src/components/post_status_form | |
| parent | 25a04f2294a4ed4d9cf527d8ee2d2899400447dd (diff) | |
Moved upload errors in user_settings to an array. Moved upload error strings to its separate section in i18n
Diffstat (limited to 'src/components/post_status_form')
| -rw-r--r-- | src/components/post_status_form/post_status_form.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index f8225fb2..3899027f 100644 --- a/src/components/post_status_form/post_status_form.js +++ b/src/components/post_status_form/post_status_form.js @@ -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 () { |
