diff --git a/components/servers/Finder.vue b/components/servers/Finder.vue
index 74984462..6d0da7ff 100644
--- a/components/servers/Finder.vue
+++ b/components/servers/Finder.vue
@@ -39,6 +39,7 @@
@@ -118,8 +119,8 @@ const sortOpen = ref(false);
// ▼フォームデータ初期化▼
type MiHubSFStorage = {
- f_langs: string;
- f_orderBy: 'recomendded' | 'notesCount' | 'usersCount';
+ f_langs: string | null;
+ f_orderBy: 'recomendded' | 'notesCount' | 'notesPer15Days' | 'usersCount';
f_order: 'asc' | 'desc';
f_registerAcceptance: 'public' | 'inviteOnly' | null;
};
@@ -132,7 +133,7 @@ if (process.client) {
const f_query_partial = ref("");
const f_query = ref("");
-const f_langs = ref(savedSettings?.f_langs ?? locale.value);
+const f_langs = ref(savedSettings?.f_langs ?? null);
const f_orderBy = ref(savedSettings?.f_orderBy ?? 'recomendded');
const f_order = ref(savedSettings?.f_order ?? 'desc');
const f_registerAcceptance = ref(savedSettings?.f_registerAcceptance || null);
@@ -219,6 +220,9 @@ const filteredInstances = computed(() => {
case 'notesCount':
orderKey = 'stats.originalNotesCount';
break;
+ case 'notesPer15Days':
+ orderKey = 'npd15';
+ break;
case 'usersCount':
orderKey = 'stats.originalUsersCount';
break;
diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml
index 0315d961..2b08abf2 100644
--- a/locales/ja-JP.yml
+++ b/locales/ja-JP.yml
@@ -21,7 +21,7 @@ _nav:
_landing:
_hero:
- description: "Misskeyはオープンソースの分散型ソーシャルネットワーキングプラットフォームです。"
+ description: "Misskey(ミスキー)はオープンソースの分散型ソーシャルネットワーキングプラットフォームです。"
gettingStarted: "はじめる"
_keyFeatures:
_open:
@@ -105,6 +105,7 @@ _servers:
orderBy: "並び替え"
recomendded: "デフォルト"
notesCount: "ノート数"
+ notesPer15Days: "1日あたりのノート数(15日平均)"
usersCount: "ユーザー数"
_registerAcceptance:
title: "新規登録"
diff --git a/types/instances-info.ts b/types/instances-info.ts
index 9f87c3ba..18cba7f8 100644
--- a/types/instances-info.ts
+++ b/types/instances-info.ts
@@ -24,7 +24,8 @@ export type InstanceItem = {
nodeinfo: Record | null,
/** result of api/meta */
meta: Misskey.entities.InstanceMetadata | null,
-
+ /** Number of Notes per Day (15-day average) */
+ npd15: number,
stats?: Record, // deprecated (result of api/stats)
};