fix: 表記揺れ
This commit is contained in:
parent
f633cfd302
commit
cafba63ddb
|
@ -5261,7 +5261,7 @@ export interface Locale extends ILocale {
|
|||
/**
|
||||
* 最も使用された絵文字リアクション上位100件を表示します
|
||||
*/
|
||||
"reactionsStatsDescription": string;
|
||||
"reactionStatsDescription": string;
|
||||
"_accountSettings": {
|
||||
/**
|
||||
* コンテンツの表示にログインを必須にする
|
||||
|
|
|
@ -1310,7 +1310,7 @@ acknowledgeNotesAndEnable: "注意事項を理解した上でオンにします
|
|||
federationSpecified: "このサーバーはホワイトリスト連合で運用されています。管理者が指定したサーバー以外とやり取りすることはできません。"
|
||||
federationDisabled: "このサーバーは連合が無効化されています。他のサーバーのユーザーとやり取りすることはできません。"
|
||||
reactionStats: "リアクション統計"
|
||||
reactionsStatsDescription: "最も使用された絵文字リアクション上位100件を表示します"
|
||||
reactionStatsDescription: "最も使用された絵文字リアクション上位100件を表示します"
|
||||
|
||||
_accountSettings:
|
||||
requireSigninToViewContents: "コンテンツの表示にログインを必須にする"
|
||||
|
|
|
@ -339,7 +339,7 @@ export * as 'pages/update' from './endpoints/pages/update.js';
|
|||
export * as 'ping' from './endpoints/ping.js';
|
||||
export * as 'pinned-users' from './endpoints/pinned-users.js';
|
||||
export * as 'promo/read' from './endpoints/promo/read.js';
|
||||
export * as 'reactions-stats' from './endpoints/reactions-stats.js';
|
||||
export * as 'reaction-stats' from './endpoints/reaction-stats.js';
|
||||
export * as 'renote-mute/create' from './endpoints/renote-mute/create.js';
|
||||
export * as 'renote-mute/delete' from './endpoints/renote-mute/delete.js';
|
||||
export * as 'renote-mute/list' from './endpoints/renote-mute/list.js';
|
||||
|
|
|
@ -176,10 +176,10 @@ export const navbarItemDef = reactive({
|
|||
show: computed(() => $i != null),
|
||||
to: `/@${$i?.username}`,
|
||||
},
|
||||
reactionStat: {
|
||||
title: i18n.ts.reactionsStat,
|
||||
reactionStats: {
|
||||
title: i18n.ts.reactionStats,
|
||||
icon: 'ti ti-chart-bar',
|
||||
to: '/reactions-stat',
|
||||
to: '/reaction-stats',
|
||||
},
|
||||
cacheClear: {
|
||||
title: i18n.ts.clearCache,
|
||||
|
|
|
@ -7,7 +7,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
<MkStickyContainer>
|
||||
<template #header><MkPageHeader v-model:tab="tab" :actions="headerActions" :tabs="headerTabs"/></template>
|
||||
<MkInfo>
|
||||
{{ i18n.ts.reactionsStatsDescription }}
|
||||
{{ i18n.ts.reactionStatsDescription }}
|
||||
</MkInfo>
|
||||
<MkSpacer v-if="tab === 'me'" :contentMax="1000" :marginMin="20">
|
||||
<div class="_gaps_s">
|
||||
|
@ -53,7 +53,7 @@ watch(tab, async () => {
|
|||
if (tab.value === 'site' && serverReactionsListMfm.value !== 'Loading...') { return; }
|
||||
if (tab.value !== 'site' && myReactionsListMfm.value !== 'Loading...') { return; }
|
||||
|
||||
const reactionsList = await misskeyApi('reactions-stats', { site: tab.value === 'site' });
|
||||
const reactionsList = await misskeyApi('reaction-stats', { site: tab.value === 'site' });
|
||||
|
||||
const res = reactionsList.map((x) => `${x.reaction} ${x.count}`).join('\n');
|
||||
|
||||
|
@ -80,7 +80,7 @@ const headerTabs = computed(() => [{
|
|||
}]);
|
||||
|
||||
definePageMetadata(() => ({
|
||||
title: i18n.ts.reactionsStats,
|
||||
title: i18n.ts.reactionStats,
|
||||
icon: 'ti ti-chart-bar',
|
||||
}));
|
||||
</script>
|
|
@ -579,7 +579,7 @@ const routes: RouteDef[] = [{
|
|||
component: page(() => import('@/pages/timeline.vue')),
|
||||
}, {
|
||||
path: '/reactions-stats',
|
||||
component: page(() => import('@/pages/reactions-stats.vue')),
|
||||
component: page(() => import('@/pages/reaction-stats.vue')),
|
||||
loginRequired: true,
|
||||
}, {
|
||||
name: 'index',
|
||||
|
|
|
@ -1724,8 +1724,8 @@ declare namespace entities {
|
|||
PingResponse,
|
||||
PinnedUsersResponse,
|
||||
PromoReadRequest,
|
||||
ReactionsStatsRequest,
|
||||
ReactionsStatsResponse,
|
||||
ReactionStatsRequest,
|
||||
ReactionStatsResponse,
|
||||
RenoteMuteCreateRequest,
|
||||
RenoteMuteDeleteRequest,
|
||||
RenoteMuteListRequest,
|
||||
|
@ -2940,10 +2940,10 @@ type QueueStats = {
|
|||
type QueueStatsLog = QueueStats[];
|
||||
|
||||
// @public (undocumented)
|
||||
type ReactionsStatsRequest = operations['reactions-stats']['requestBody']['content']['application/json'];
|
||||
type ReactionStatsRequest = operations['reaction-stats']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type ReactionsStatsResponse = operations['reactions-stats']['responses']['200']['content']['application/json'];
|
||||
type ReactionStatsResponse = operations['reaction-stats']['responses']['200']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type RenoteMuteCreateRequest = operations['renote-mute___create']['requestBody']['content']['application/json'];
|
||||
|
|
|
@ -3676,7 +3676,7 @@ declare module '../api.js' {
|
|||
*
|
||||
* **Credential required**: *Yes* / **Permission**: *read:account*
|
||||
*/
|
||||
request<E extends 'reactions-stats', P extends Endpoints[E]['req']>(
|
||||
request<E extends 'reaction-stats', P extends Endpoints[E]['req']>(
|
||||
endpoint: E,
|
||||
params: P,
|
||||
credential?: string | null,
|
||||
|
|
|
@ -489,8 +489,8 @@ import type {
|
|||
PingResponse,
|
||||
PinnedUsersResponse,
|
||||
PromoReadRequest,
|
||||
ReactionsStatsRequest,
|
||||
ReactionsStatsResponse,
|
||||
ReactionStatsRequest,
|
||||
ReactionStatsResponse,
|
||||
RenoteMuteCreateRequest,
|
||||
RenoteMuteDeleteRequest,
|
||||
RenoteMuteListRequest,
|
||||
|
@ -917,7 +917,7 @@ export type Endpoints = {
|
|||
'ping': { req: EmptyRequest; res: PingResponse };
|
||||
'pinned-users': { req: EmptyRequest; res: PinnedUsersResponse };
|
||||
'promo/read': { req: PromoReadRequest; res: EmptyResponse };
|
||||
'reactions-stats': { req: ReactionsStatsRequest; res: ReactionsStatsResponse };
|
||||
'reaction-stats': { req: ReactionStatsRequest; res: ReactionStatsResponse };
|
||||
'renote-mute/create': { req: RenoteMuteCreateRequest; res: EmptyResponse };
|
||||
'renote-mute/delete': { req: RenoteMuteDeleteRequest; res: EmptyResponse };
|
||||
'renote-mute/list': { req: RenoteMuteListRequest; res: RenoteMuteListResponse };
|
||||
|
|
|
@ -492,8 +492,8 @@ export type PagesUpdateRequest = operations['pages___update']['requestBody']['co
|
|||
export type PingResponse = operations['ping']['responses']['200']['content']['application/json'];
|
||||
export type PinnedUsersResponse = operations['pinned-users']['responses']['200']['content']['application/json'];
|
||||
export type PromoReadRequest = operations['promo___read']['requestBody']['content']['application/json'];
|
||||
export type ReactionsStatsRequest = operations['reactions-stats']['requestBody']['content']['application/json'];
|
||||
export type ReactionsStatsResponse = operations['reactions-stats']['responses']['200']['content']['application/json'];
|
||||
export type ReactionStatsRequest = operations['reaction-stats']['requestBody']['content']['application/json'];
|
||||
export type ReactionStatsResponse = operations['reaction-stats']['responses']['200']['content']['application/json'];
|
||||
export type RenoteMuteCreateRequest = operations['renote-mute___create']['requestBody']['content']['application/json'];
|
||||
export type RenoteMuteDeleteRequest = operations['renote-mute___delete']['requestBody']['content']['application/json'];
|
||||
export type RenoteMuteListRequest = operations['renote-mute___list']['requestBody']['content']['application/json'];
|
||||
|
|
|
@ -3176,14 +3176,14 @@ export type paths = {
|
|||
*/
|
||||
post: operations['promo___read'];
|
||||
};
|
||||
'/reactions-stats': {
|
||||
'/reaction-stats': {
|
||||
/**
|
||||
* reactions-stats
|
||||
* reaction-stats
|
||||
* @description No description provided.
|
||||
*
|
||||
* **Credential required**: *Yes* / **Permission**: *read:account*
|
||||
*/
|
||||
post: operations['reactions-stats'];
|
||||
post: operations['reaction-stats'];
|
||||
};
|
||||
'/renote-mute/create': {
|
||||
/**
|
||||
|
@ -24858,12 +24858,12 @@ export type operations = {
|
|||
};
|
||||
};
|
||||
/**
|
||||
* reactions-stats
|
||||
* reaction-stats
|
||||
* @description No description provided.
|
||||
*
|
||||
* **Credential required**: *Yes* / **Permission**: *read:account*
|
||||
*/
|
||||
'reactions-stats': {
|
||||
'reaction-stats': {
|
||||
requestBody: {
|
||||
content: {
|
||||
'application/json': {
|
||||
|
|
Loading…
Reference in New Issue