forked from mirrors/akkoma-fe
post_status_form: inherit language from parent
If I'm replying to a post in Klingon, chances are I'm going to write in Klingon. This reduces friction for properly marking post language in a conversation.
This commit is contained in:
parent
0eb6f65dcb
commit
23f7b33eb4
1 changed files with 1 additions and 2 deletions
|
|
@ -343,7 +343,6 @@ const PostStatusForm = {
|
|||
},
|
||||
clearStatus () {
|
||||
const config = this.$store.getters.mergedConfig
|
||||
const postLanguage = config.postLanguage || interfaceToISOLanguage(config.interfaceLanguage)
|
||||
this.newStatus = {
|
||||
status: '',
|
||||
spoilerText: '',
|
||||
|
|
@ -351,7 +350,7 @@ const PostStatusForm = {
|
|||
nsfw: !!config.sensitiveByDefault,
|
||||
visibility: this.suggestedVisibility(),
|
||||
contentType: config.postContentType,
|
||||
language: postLanguage,
|
||||
language: this.suggestedLanguage(),
|
||||
poll: {},
|
||||
mediaDescriptions: {}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue