diff --git a/composables/masto/publish.ts b/composables/masto/publish.ts index f55d7405..569c8fbf 100644 --- a/composables/masto/publish.ts +++ b/composables/masto/publish.ts @@ -15,7 +15,7 @@ export function usePublish(options: { const { client } = $(useMasto()) const settings = useUserSettings() - const preferredLanguage = $computed(() => (settings.value?.language || 'en').split('-')[0]) + const preferredLanguage = $computed(() => (currentUser.value?.account.source.language || settings.value?.language || 'en').split('-')[0]) let isSending = $ref(false) const isExpanded = $ref(false) diff --git a/locales/de-DE.json b/locales/de-DE.json index bb68fb46..ac2b2d2f 100644 --- a/locales/de-DE.json +++ b/locales/de-DE.json @@ -426,6 +426,7 @@ "language": { "display_language": "Anzeigesprache", "label": "Sprache", + "post_language": "Beitragssprache", "status": "Übersetzungsstatus: {0}/{1} ({2}%)", "translations": { "add": "Hinzufügen", diff --git a/locales/en.json b/locales/en.json index a24e29c5..73226d4a 100644 --- a/locales/en.json +++ b/locales/en.json @@ -427,6 +427,7 @@ "language": { "display_language": "Display Language", "label": "Language", + "post_language": "Posting Language", "status": "Translation status: {0}/{1} ({2}%)", "translations": { "add": "Add", diff --git a/pages/settings/language/index.vue b/pages/settings/language/index.vue index 2ff488ca..53d66dc7 100644 --- a/pages/settings/language/index.vue +++ b/pages/settings/language/index.vue @@ -22,13 +22,27 @@ const status = computed(() => {
-