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
@@ -38,6 +38,8 @@ const wanderer: TranslationStrings = {
'wanderer.error.not_found': 'لم يعد هذا الدرب موجودًا في wanderer.',
'wanderer.error.not_own_trail': 'يمكن استيراد دروبك الخاصة في wanderer فقط.',
'wanderer.error.invalid_response': 'لم يأتِ الرد من wanderer. تحقق من أن العنوان يشير إلى wanderer نفسه.',
'wanderer.error.no_author':
'ردّ wanderer، لكنه لا يذكر أي مؤلف للدروب لحساب رمز API هذا، لذلك لا يستطيع TREK معرفة الدروب التي تخصّك.',
'wanderer.error.too_large': 'ملف الدرب أكبر من 10 MB.',
'wanderer.error.server_error': 'ردّ wanderer بخطأ. حاول مرة أخرى لاحقًا.',
'wanderer.error.offline': 'أنت غير متصل بالإنترنت. لا يمكن البحث في wanderer إلا عند الاتصال.',