Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lookupErrors-> remoteLookupErrors
Browse files Browse the repository at this point in the history
kakkokari-gtyih committed Dec 18, 2024
1 parent 64f0c20 commit d4943c1
Showing 3 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion locales/index.d.ts
Original file line number Diff line number Diff line change
@@ -10601,7 +10601,7 @@ export interface Locale extends ILocale {
*/
"sent": string;
};
"_lookupErrors": {
"_remoteLookupErrors": {
"_federationNotAllowed": {
/**
* このサーバーとは通信できません
2 changes: 1 addition & 1 deletion locales/ja-JP.yml
Original file line number Diff line number Diff line change
@@ -2827,7 +2827,7 @@ _followRequest:
recieved: "受け取った申請"
sent: "送った申請"

_lookupErrors:
_remoteLookupErrors:
_federationNotAllowed:
title: "このサーバーとは通信できません"
description: "このサーバーとの通信が無効化されているか、このサーバーをブロックしている・ブロックされている可能性があります。\nサーバー管理者にお問い合わせください。"
24 changes: 12 additions & 12 deletions packages/frontend/src/scripts/lookup.ts
Original file line number Diff line number Diff line change
@@ -39,28 +39,28 @@ export async function lookup(router?: Router) {

switch (err.id) {
case '974b799e-1a29-4889-b706-18d4dd93e266':
title = i18n.ts._lookupErrors._federationNotAllowed.title;
text = i18n.ts._lookupErrors._federationNotAllowed.description;
title = i18n.ts._remoteLookupErrors._federationNotAllowed.title;
text = i18n.ts._remoteLookupErrors._federationNotAllowed.description;
break;
case '1a5eab56-e47b-48c2-8d5e-217b897d70db':
title = i18n.ts._lookupErrors._uriInvalid.title;
text = i18n.ts._lookupErrors._uriInvalid.description;
title = i18n.ts._remoteLookupErrors._uriInvalid.title;
text = i18n.ts._remoteLookupErrors._uriInvalid.description;
break;
case '81b539cf-4f57-4b29-bc98-032c33c0792e':
title = i18n.ts._lookupErrors._requestFailed.title;
text = i18n.ts._lookupErrors._requestFailed.description;
title = i18n.ts._remoteLookupErrors._requestFailed.title;
text = i18n.ts._remoteLookupErrors._requestFailed.description;
break;
case '70193c39-54f3-4813-82f0-70a680f7495b':
title = i18n.ts._lookupErrors._responseInvalid.title;
text = i18n.ts._lookupErrors._responseInvalid.description;
title = i18n.ts._remoteLookupErrors._responseInvalid.title;
text = i18n.ts._remoteLookupErrors._responseInvalid.description;
break;
case 'a2c9c61a-cb72-43ab-a964-3ca5fddb410a':
title = i18n.ts._lookupErrors._responseInvalid.title;
text = i18n.ts._lookupErrors._responseInvalidIdHostNotMatch.description;
title = i18n.ts._remoteLookupErrors._responseInvalid.title;
text = i18n.ts._remoteLookupErrors._responseInvalidIdHostNotMatch.description;
break;
case 'dc94d745-1262-4e63-a17d-fecaa57efc82':
title = i18n.ts._lookupErrors._noSuchObject.title;
text = i18n.ts._lookupErrors._noSuchObject.description;
title = i18n.ts._remoteLookupErrors._noSuchObject.title;
text = i18n.ts._remoteLookupErrors._noSuchObject.description;
break;
}

0 comments on commit d4943c1

Please sign in to comment.