fix(wanderer): say so when wanderer names no author for the token's account

A token whose account has no local ActivityPub author was reported as
invalid_response, which the settings show as 'The answer did not come from
wanderer', although wanderer had answered fine. It now has its own code,
no_author, with a message in every language that says what is missing.
This commit is contained in:
Maurice
2026-10-25 17:57:32 +01:00
parent 217a576e16
commit a48dd7645f
30 changed files with 64 additions and 3 deletions
+2
View File
@@ -34,6 +34,8 @@ const wanderer: TranslationStrings = {
'wanderer.error.not_own_trail': 'Chỉ có thể nhập các cung đường wanderer của chính bạn.',
'wanderer.error.invalid_response':
'Phản hồi không đến từ wanderer. Hãy kiểm tra địa chỉ có trỏ đúng tới wanderer hay không.',
'wanderer.error.no_author':
'wanderer đã phản hồi nhưng không nêu tác giả cung đường nào cho tài khoản của token API này, nên TREK không biết cung đường nào là của bạn.',
'wanderer.error.too_large': 'Tệp cung đường lớn hơn 10 MB.',
'wanderer.error.server_error': 'wanderer trả về lỗi. Vui lòng thử lại sau.',
'wanderer.error.offline': 'Bạn đang ngoại tuyến. Chỉ có thể tìm kiếm wanderer khi trực tuyến.',