From 64cce171e083e8c58d8a3523051d46f3586f3cf9 Mon Sep 17 00:00:00 2001 From: farisbasha Date: Wed, 18 Nov 2026 15:12:55 +0530 Subject: [PATCH] fix(i18n): add English messages for three backend error reasons reason.AnswerRestrictAnswer, reason.UploadFileSourceUnsupported and reason.ErrFeatureDisabled point to keys that are missing from i18n/en_US.yaml, so the API returned the raw key as the error message. --- i18n/en_US.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/i18n/en_US.yaml b/i18n/en_US.yaml index 63f9140c6..a1ad44397 100644 --- a/i18n/en_US.yaml +++ b/i18n/en_US.yaml @@ -175,6 +175,8 @@ backend: other: Answers cannot be added to this question. content_cannot_empty: other: Answer content cannot be empty. + restrict_answer: + other: You can only write one answer to this question. comment: edit_without_permission: other: You do not have permission to edit this comment. @@ -333,6 +335,11 @@ backend: upload: unsupported_file_format: other: Unsupported file format. + source_unsupported: + other: Unsupported upload source. + feature: + disabled: + other: This feature is disabled. site_info: config_not_found: other: Site config not found.