aboutsummaryrefslogtreecommitdiff
path: root/src/components/post_status_form
diff options
context:
space:
mode:
authorRinpatch <rinpatch@sdf.org>2018-12-12 16:38:01 +0300
committerRinpatch <rinpatch@sdf.org>2018-12-12 16:38:01 +0300
commitbf8bb9ce134c8712885e52d005c6d130fca4e553 (patch)
tree563163e079b72343c32eecde199559a406d3dcfa /src/components/post_status_form
parent25a04f2294a4ed4d9cf527d8ee2d2899400447dd (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.js2
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 () {