Skip to content

Commit

Permalink
fix: 表記揺れ
Browse files Browse the repository at this point in the history
  • Loading branch information
kakkokari-gtyih committed Feb 2, 2025
1 parent f633cfd commit cafba63
Show file tree
Hide file tree
Showing 12 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion locales/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5261,7 +5261,7 @@ export interface Locale extends ILocale {
/**
* 最も使用された絵文字リアクション上位100件を表示します
*/
"reactionsStatsDescription": string;
"reactionStatsDescription": string;
"_accountSettings": {
/**
* コンテンツの表示にログインを必須にする
Expand Down
2 changes: 1 addition & 1 deletion locales/ja-JP.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1310,7 +1310,7 @@ acknowledgeNotesAndEnable: "注意事項を理解した上でオンにします
federationSpecified: "このサーバーはホワイトリスト連合で運用されています。管理者が指定したサーバー以外とやり取りすることはできません。"
federationDisabled: "このサーバーは連合が無効化されています。他のサーバーのユーザーとやり取りすることはできません。"
reactionStats: "リアクション統計"
reactionsStatsDescription: "最も使用された絵文字リアクション上位100件を表示します"
reactionStatsDescription: "最も使用された絵文字リアクション上位100件を表示します"

_accountSettings:
requireSigninToViewContents: "コンテンツの表示にログインを必須にする"
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/src/server/api/endpoint-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
6 changes: 3 additions & 3 deletions packages/frontend/src/navbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down Expand Up @@ -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');

Expand All @@ -80,7 +80,7 @@ const headerTabs = computed(() => [{
}]);

definePageMetadata(() => ({
title: i18n.ts.reactionsStats,
title: i18n.ts.reactionStats,
icon: 'ti ti-chart-bar',
}));
</script>
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/router/definition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
8 changes: 4 additions & 4 deletions packages/misskey-js/etc/misskey-js.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1724,8 +1724,8 @@ declare namespace entities {
PingResponse,
PinnedUsersResponse,
PromoReadRequest,
ReactionsStatsRequest,
ReactionsStatsResponse,
ReactionStatsRequest,
ReactionStatsResponse,
RenoteMuteCreateRequest,
RenoteMuteDeleteRequest,
RenoteMuteListRequest,
Expand Down Expand Up @@ -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'];
Expand Down
2 changes: 1 addition & 1 deletion packages/misskey-js/src/autogen/apiClientJSDoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
6 changes: 3 additions & 3 deletions packages/misskey-js/src/autogen/endpoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -489,8 +489,8 @@ import type {
PingResponse,
PinnedUsersResponse,
PromoReadRequest,
ReactionsStatsRequest,
ReactionsStatsResponse,
ReactionStatsRequest,
ReactionStatsResponse,
RenoteMuteCreateRequest,
RenoteMuteDeleteRequest,
RenoteMuteListRequest,
Expand Down Expand Up @@ -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 };
Expand Down
4 changes: 2 additions & 2 deletions packages/misskey-js/src/autogen/entities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down
10 changes: 5 additions & 5 deletions packages/misskey-js/src/autogen/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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': {
/**
Expand Down Expand Up @@ -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': {
Expand Down

0 comments on commit cafba63

Please sign in to comment.