Skip to content

Commit 1b81ca4

Browse files
enhance(frontend): 「見たことのあるリノートを省略して表示」の名称を変更 (#13883)
* enhance(frontend): 「見たことのあるリノートを省略して表示」の名称を変更 * ひとつだけcaptionが入ってるやつが真ん中にいると不格好だったので場所変更
1 parent 1df8ea8 commit 1b81ca4

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

locales/index.d.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -4113,9 +4113,13 @@ export interface Locale extends ILocale {
41134113
*/
41144114
"thisPostMayBeAnnoyingIgnore": string;
41154115
/**
4116-
* 見たことのあるリノートを省略して表示
4116+
* リノートのスマート省略
41174117
*/
41184118
"collapseRenotes": string;
4119+
/**
4120+
* リアクションやリノートをしたことがあるノートをたたんで表示します。
4121+
*/
4122+
"collapseRenotesDescription": string;
41194123
/**
41204124
* サーバー内部エラー
41214125
*/

locales/ja-JP.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,8 @@ thisPostMayBeAnnoying: "この投稿は迷惑になる可能性があります
10241024
thisPostMayBeAnnoyingHome: "ホームに投稿"
10251025
thisPostMayBeAnnoyingCancel: "やめる"
10261026
thisPostMayBeAnnoyingIgnore: "このまま投稿"
1027-
collapseRenotes: "見たことのあるリノートを省略して表示"
1027+
collapseRenotes: "リノートのスマート省略"
1028+
collapseRenotesDescription: "リアクションやリノートをしたことがあるノートをたたんで表示します。"
10281029
internalServerError: "サーバー内部エラー"
10291030
internalServerErrorDescription: "サーバー内部で予期しないエラーが発生しました。"
10301031
copyErrorInfo: "エラー情報をコピー"

packages/frontend/src/pages/settings/general.vue

+4-1
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,12 @@ SPDX-License-Identifier: AGPL-3.0-only
5050

5151
<div class="_gaps_m">
5252
<div class="_gaps_s">
53+
<MkSwitch v-model="collapseRenotes">
54+
<template #label>{{ i18n.ts.collapseRenotes }}</template>
55+
<template #caption>{{ i18n.ts.collapseRenotesDescription }}</template>
56+
</MkSwitch>
5357
<MkSwitch v-model="showNoteActionsOnlyHover">{{ i18n.ts.showNoteActionsOnlyHover }}</MkSwitch>
5458
<MkSwitch v-model="showClipButtonInNoteFooter">{{ i18n.ts.showClipButtonInNoteFooter }}</MkSwitch>
55-
<MkSwitch v-model="collapseRenotes">{{ i18n.ts.collapseRenotes }}</MkSwitch>
5659
<MkSwitch v-model="advancedMfm">{{ i18n.ts.enableAdvancedMfm }}</MkSwitch>
5760
<MkSwitch v-if="advancedMfm" v-model="animatedMfm">{{ i18n.ts.enableAnimatedMfm }}</MkSwitch>
5861
<MkSwitch v-if="advancedMfm" v-model="enableQuickAddMfmFunction">{{ i18n.ts.enableQuickAddMfmFunction }}</MkSwitch>

0 commit comments

Comments
 (0)