enhance(frontend): 一部の設定配置を変更
This commit is contained in:
parent
f56c006994
commit
a6b7f7f921
|
@ -69,6 +69,7 @@
|
|||
- Enhance: 네비게이션 메뉴 디자인 개선
|
||||
- Enhance: '서버의 머신 사양을 공개하기' 설정이 비활성화 상태인 경우, 제어판에서 서버 통계를 출력할 수 없다는 안내 문구를 표시하도록
|
||||
- Enhance: 로그인할 때 프로필 아이콘의 모양을 '프로필 아이콘을 사각형으로 표시' 설정을 따르도록
|
||||
- Enhance: 일부 설정 배치 변경
|
||||
- Fix: (Friendly) 흐림 효과를 사용할 때 하단 내비게이션 바의 가독성이 매우 떨어지는 문제
|
||||
- Fix: (Friendly) 위젯 버튼에서 'UI 애니메이션 줄이기' 옵션이 적용되지 않는 문제
|
||||
- Fix: (Friendly) 스크롤을 해도 위젯 버튼이 숨겨지지 않는 문제
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
_lang_: "English"
|
||||
showFixedPostFormInReplies: "Show posting form in replies"
|
||||
showFixedPostFormInRepliesDescription: "Only visible in desktop and tablet environments."
|
||||
renoteQuoteButtonSeparation: "Show renote and quote buttons separately"
|
||||
showReplyInNotification: "Show parent note of notes with replies in notifications"
|
||||
infoButtonForNoteActions: "Show detail view button in the note"
|
||||
infoButtonForNoteActionsDescription: "Applies when the option \"Only show note actions on hover\" is turned on."
|
||||
disabledServerMachineStats: "The 'Publish server hardware stats' setting is turned off.\nTo view server metrics, please enable the 'Publish server hardware stats' setting in 'Control Panel - Other'."
|
||||
replayUserSetupDialog: "Replay initial setting"
|
||||
replayTutorial: "Replay tutorial"
|
||||
|
@ -1217,7 +1221,7 @@ _cherrypick:
|
|||
postFormVisibilityHotkey: "Toggle visibility with a hotkey"
|
||||
postFormVisibilityHotkeyDescription: "When writing a note, press Ctrl(control) + Shift to switch the visibility range. The hotkey to make it Local only is Ctrl(command or control) + Alt(option)."
|
||||
showRenoteConfirmPopup: "Show confirmation popup when renote"
|
||||
showRenoteConfirmPopupDescription: "This setting must have the \"Show renote and quote buttons separately\" setting turned on."
|
||||
showRenoteConfirmPopupDescription: "This setting must have the \"General - Show renote and quote buttons separately\" setting turned on."
|
||||
displayHeaderNavBarWhenScroll: "Show elements when scrolling (header, floating buttons, navigation bar)"
|
||||
_displayHeaderNavBarWhenScroll:
|
||||
all: "Display all"
|
||||
|
@ -1228,16 +1232,11 @@ _cherrypick:
|
|||
hide: "Hide All"
|
||||
patch: "Patch"
|
||||
patchDescription: "Make changes to Misskey's functionality"
|
||||
infoButtonForNoteActions: "Show detail view button in the note"
|
||||
infoButtonForNoteActionsDescription: "Applies when the option \"Only show note actions on hover\" is turned on."
|
||||
rememberPostFormToggleState: "Remember to turn preview on/off in the note post form"
|
||||
reactableRemoteReaction: "Allow remote custom emoji reactions to react if there is an emoji with the same name on this server."
|
||||
showFollowingMessageInsteadOfButton: "Do not show the follow button in the notification field if you are already following someone"
|
||||
mobileTimelineHeaderChange: "Timeline header design change in mobile environment"
|
||||
renameTheButtonInPostFormToNya: "Change the \"Note\" button on the note-posting form to \"Nyan!\""
|
||||
renameTheButtonInPostFormToNyaDescription: "Outside of the note-posting form, they are still as \"Note\"."
|
||||
showReplyInNotification: "Show parent note of notes with replies in notifications"
|
||||
renoteQuoteButtonSeparation: "Show renote and quote buttons separately"
|
||||
_bannerDisplay:
|
||||
all: "All"
|
||||
topBottom: "Top and Bottom"
|
||||
|
|
9
locales/index.d.ts
vendored
9
locales/index.d.ts
vendored
|
@ -5,6 +5,10 @@ export interface Locale {
|
|||
"_lang_": string;
|
||||
"showFixedPostFormInReplies": string;
|
||||
"showFixedPostFormInRepliesDescription": string;
|
||||
"renoteQuoteButtonSeparation": string;
|
||||
"showReplyInNotification": string;
|
||||
"infoButtonForNoteActions": string;
|
||||
"infoButtonForNoteActionsDescription": string;
|
||||
"disabledServerMachineStats": string;
|
||||
"replayUserSetupDialog": string;
|
||||
"replayTutorial": string;
|
||||
|
@ -1238,16 +1242,11 @@ export interface Locale {
|
|||
};
|
||||
"patch": string;
|
||||
"patchDescription": string;
|
||||
"infoButtonForNoteActions": string;
|
||||
"infoButtonForNoteActionsDescription": string;
|
||||
"rememberPostFormToggleState": string;
|
||||
"reactableRemoteReaction": string;
|
||||
"showFollowingMessageInsteadOfButton": string;
|
||||
"mobileTimelineHeaderChange": string;
|
||||
"renameTheButtonInPostFormToNya": string;
|
||||
"renameTheButtonInPostFormToNyaDescription": string;
|
||||
"showReplyInNotification": string;
|
||||
"renoteQuoteButtonSeparation": string;
|
||||
};
|
||||
"_bannerDisplay": {
|
||||
"all": string;
|
||||
|
|
|
@ -2,6 +2,10 @@ _lang_: "日本語"
|
|||
|
||||
showFixedPostFormInReplies: "返信に投稿フォームを表示する"
|
||||
showFixedPostFormInRepliesDescription: "デスクトップとタブレット環境でのみ表示されます。"
|
||||
renoteQuoteButtonSeparation: "リノートと引用ボタンを分けて表示する"
|
||||
showReplyInNotification: "通知で返信があるノートの親ノートを表示する"
|
||||
infoButtonForNoteActions: "ノートに詳細表示ボタンを表示する"
|
||||
infoButtonForNoteActionsDescription: "オプション「ノートの操作部をホバー時のみ表示する」をオンにしたときに適用されます。"
|
||||
disabledServerMachineStats: "「サーバーのマシン情報を公開する」設定がオフになっています。\nサーバーメトリクスを表示するには、「コントロールパネル - その他」で「サーバーのマシン情報を公開する」設定を有効にしてください。"
|
||||
replayUserSetupDialog: "初期設定のリプレイ"
|
||||
replayTutorial: "チュートリアルのリプレイ"
|
||||
|
@ -1224,7 +1228,7 @@ _cherrypick:
|
|||
postFormVisibilityHotkey: "ショートカットキーで公開範囲を切り替える"
|
||||
postFormVisibilityHotkeyDescription: "ノートを作成する際、Ctrl(control) + Shiftキーを押すと公開範囲を切り替えることができます。ローカルのみショートカットキーは、Ctrl(commandまたはcontrol) + Alt(option)キーです。"
|
||||
showRenoteConfirmPopup: "Renoteするときに確認ポップアップを表示"
|
||||
showRenoteConfirmPopupDescription: "この設定は「リノートと引用ボタンを分けて表示する」設定がオンになっている必要があります。"
|
||||
showRenoteConfirmPopupDescription: "この設定は「全般 - リノートと引用ボタンを分けて表示する」設定がオンになっている必要があります。"
|
||||
displayHeaderNavBarWhenScroll: "スクロール時の要素表示(ヘッダー、フローティングボタン、ナビゲーションバー)"
|
||||
_displayHeaderNavBarWhenScroll:
|
||||
all: "全て表示"
|
||||
|
@ -1235,16 +1239,11 @@ _cherrypick:
|
|||
hide: "全て隠す"
|
||||
patch: "パッチ"
|
||||
patchDescription: "Misskeyの機能に変更を加えます。"
|
||||
infoButtonForNoteActions: "ノートに詳細表示ボタンを表示する"
|
||||
infoButtonForNoteActionsDescription: "オプション「ノートの操作部をホバー時のみ表示する」をオンにしたときに適用されます。"
|
||||
rememberPostFormToggleState: "投稿フォームにて、プレビューのオン・オフを記憶する"
|
||||
reactableRemoteReaction: "リモートのカスタム絵文字リアクションでも、このサーバーに同じ名前の絵文字があればリアクションできるようにする"
|
||||
showFollowingMessageInsteadOfButton: "既にフォローしている場合、通知欄にフォローボタンを表示しない"
|
||||
mobileTimelineHeaderChange: "モバイル環境でタイムラインのヘッダーデザインを変更"
|
||||
renameTheButtonInPostFormToNya: "ノート作成画面の「ノート」ボタンを「にゃ!」に変更する"
|
||||
renameTheButtonInPostFormToNyaDescription: "にゃあにゃんにゃんにゃんにゃにゃん?"
|
||||
showReplyInNotification: "通知で返信があるノートの親ノートを表示する"
|
||||
renoteQuoteButtonSeparation: "リノートと引用ボタンを分けて表示する"
|
||||
|
||||
_bannerDisplay:
|
||||
all: "全て"
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
_lang_: "한국어"
|
||||
showFixedPostFormInReplies: "답글에 글 작성란 표시"
|
||||
showFixedPostFormInRepliesDescription: "데스크톱과 태블릿 환경에서만 표시돼요."
|
||||
renoteQuoteButtonSeparation: "리노트와 인용 버튼을 분리해서 표시하기"
|
||||
showReplyInNotification: "알림에서 답글이 달린 노트의 상위 노트 표시하기"
|
||||
infoButtonForNoteActions: "노트에 자세히 버튼 표시"
|
||||
infoButtonForNoteActionsDescription: "'노트 액션 버튼을 마우스를 올렸을 때에만 표시' 기능을 켰을 때만 적용돼요."
|
||||
disabledServerMachineStats: "'서버의 머신 사양을 공개하기' 설정이 꺼져 있습니다.\n서버 통계를 보려면 '제어판 - 기타'에서 '서버의 머신 사양을 공개하기' 설정을 활성화하세요."
|
||||
replayUserSetupDialog: "초기 설정 다시 보기"
|
||||
replayTutorial: "튜토리얼 다시 보기"
|
||||
|
@ -1209,7 +1213,7 @@ _cherrypick:
|
|||
postFormVisibilityHotkey: "단축키로 공개 범위 전환하기"
|
||||
postFormVisibilityHotkeyDescription: "노트를 작성할 때, Ctrl(control) + Shift 키를 누르면 공개 범위를 전환할 수 있어요. 로컬에만 보이게 하는 단축키는 Ctrl(command 또는 control) + Alt(option) 키에요."
|
||||
showRenoteConfirmPopup: "리노트할 때 확인 팝업 표시"
|
||||
showRenoteConfirmPopupDescription: "이 설정은 '리노트와 인용 버튼을 분리해서 표시하기' 설정이 켜져 있어야 해요."
|
||||
showRenoteConfirmPopupDescription: "이 설정은 '일반 - 리노트와 인용 버튼을 분리해서 표시하기' 설정이 켜져 있어야 해요."
|
||||
displayHeaderNavBarWhenScroll: "스크롤 시 요소 표시 (헤더, 플로팅 버튼, 탐색 모음)"
|
||||
_displayHeaderNavBarWhenScroll:
|
||||
all: "모두 표시"
|
||||
|
@ -1220,16 +1224,11 @@ _cherrypick:
|
|||
hide: "모두 숨기기"
|
||||
patch: "패치"
|
||||
patchDescription: "Misskey의 기능을 변경해요."
|
||||
infoButtonForNoteActions: "노트에 자세히 버튼 표시"
|
||||
infoButtonForNoteActionsDescription: "「노트 액션 버튼을 마우스를 올렸을 때에만 표시」기능을 켰을 때만 적용돼요."
|
||||
rememberPostFormToggleState: "노트 작성 화면에서 본문 미리보기 활성화 상태 기억"
|
||||
reactableRemoteReaction: "서버에 리모트 이모지와 이름이 같은 이모지가 있으면 리모트 이모지에도 반응할 수 있음"
|
||||
showFollowingMessageInsteadOfButton: "이미 팔로우한 경우 알림 필드에 팔로우 버튼을 표시하지 않음"
|
||||
mobileTimelineHeaderChange: "모바일 환경에서 타임라인의 헤더 디자인을 변경"
|
||||
renameTheButtonInPostFormToNya: "노트 작성 화면의 \"노트\" 버튼을 \"냥!\"으로 변경"
|
||||
renameTheButtonInPostFormToNya: "노트 작성 화면의 '노트' 버튼을 '냥!'으로 변경"
|
||||
renameTheButtonInPostFormToNyaDescription: "냐앙냥냥냥냐냥?"
|
||||
showReplyInNotification: "알림에서 답글이 달린 노트의 상위 노트 표시하기"
|
||||
renoteQuoteButtonSeparation: "리노트와 인용 버튼을 분리해서 표시하기"
|
||||
_bannerDisplay:
|
||||
all: "전부"
|
||||
topBottom: "상단 및 하단"
|
||||
|
|
|
@ -48,10 +48,6 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
<div class="_gaps_m">
|
||||
<div>{{ i18n.ts._cherrypick.patchDescription }}</div>
|
||||
|
||||
<MkSwitch v-model="infoButtonForNoteActionsEnabled">
|
||||
{{ i18n.ts._cherrypick.infoButtonForNoteActions }}
|
||||
<template #caption>{{ i18n.ts._cherrypick.infoButtonForNoteActionsDescription }}</template>
|
||||
</MkSwitch>
|
||||
<MkSwitch v-model="reactableRemoteReactionEnabled">{{ i18n.ts._cherrypick.reactableRemoteReaction }}</MkSwitch>
|
||||
<MkSwitch v-model="showFollowingMessageInsteadOfButtonEnabled">{{ i18n.ts._cherrypick.showFollowingMessageInsteadOfButton }}</MkSwitch>
|
||||
<MkSwitch v-model="mobileTimelineHeaderChange">{{ i18n.ts._cherrypick.mobileTimelineHeaderChange }}</MkSwitch>
|
||||
|
@ -59,8 +55,6 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
{{ i18n.ts._cherrypick.renameTheButtonInPostFormToNya }}
|
||||
<template #caption>{{ i18n.ts._cherrypick.renameTheButtonInPostFormToNyaDescription }}</template>
|
||||
</MkSwitch>
|
||||
<MkSwitch v-model="showReplyInNotification">{{ i18n.ts._cherrypick.showReplyInNotification }}</MkSwitch>
|
||||
<MkSwitch v-model="renoteQuoteButtonSeparation">{{ i18n.ts._cherrypick.renoteQuoteButtonSeparation }}</MkSwitch>
|
||||
</div>
|
||||
</FormSection>
|
||||
</div>
|
||||
|
@ -91,21 +85,15 @@ const nicknameEnabled = computed(defaultStore.makeGetterSetter('nicknameEnabled'
|
|||
const useEnterToSend = computed(defaultStore.makeGetterSetter('useEnterToSend'));
|
||||
const postFormVisibilityHotkey = computed(defaultStore.makeGetterSetter('postFormVisibilityHotkey'));
|
||||
const showRenoteConfirmPopup = computed(defaultStore.makeGetterSetter('showRenoteConfirmPopup'));
|
||||
const infoButtonForNoteActionsEnabled = computed(defaultStore.makeGetterSetter('infoButtonForNoteActionsEnabled'));
|
||||
const reactableRemoteReactionEnabled = computed(defaultStore.makeGetterSetter('reactableRemoteReactionEnabled'));
|
||||
const showFollowingMessageInsteadOfButtonEnabled = computed(defaultStore.makeGetterSetter('showFollowingMessageInsteadOfButtonEnabled'));
|
||||
const mobileTimelineHeaderChange = computed(defaultStore.makeGetterSetter('mobileTimelineHeaderChange'));
|
||||
const displayHeaderNavBarWhenScroll = computed(defaultStore.makeGetterSetter('displayHeaderNavBarWhenScroll'));
|
||||
const renameTheButtonInPostFormToNya = computed(defaultStore.makeGetterSetter('renameTheButtonInPostFormToNya'));
|
||||
const showReplyInNotification = computed(defaultStore.makeGetterSetter('showReplyInNotification'));
|
||||
const renoteQuoteButtonSeparation = computed(defaultStore.makeGetterSetter('renoteQuoteButtonSeparation'));
|
||||
|
||||
watch([
|
||||
infoButtonForNoteActionsEnabled,
|
||||
reactableRemoteReactionEnabled,
|
||||
renameTheButtonInPostFormToNya,
|
||||
showReplyInNotification,
|
||||
renoteQuoteButtonSeparation,
|
||||
], async () => {
|
||||
await reloadAsk();
|
||||
});
|
||||
|
|
|
@ -71,6 +71,9 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
<MkSwitch v-model="enableAbsoluteTime">{{ i18n.ts.enableAbsoluteTime }} <span class="_beta">CherryPick</span></MkSwitch>
|
||||
<MkSwitch v-model="enableMarkByDate" :disabled="defaultStore.state.enableAbsoluteTime">{{ i18n.ts.enableMarkByDate }} <span class="_beta">CherryPick</span></MkSwitch>
|
||||
<MkSwitch v-model="showSubNoteFooterButton">{{ i18n.ts.showSubNoteFooterButton }}<template #caption>{{ i18n.ts.showSubNoteFooterButtonDescription }}</template> <span class="_beta">CherryPick</span></MkSwitch>
|
||||
<MkSwitch v-model="infoButtonForNoteActionsEnabled">{{ i18n.ts.infoButtonForNoteActions }}<template #caption>{{ i18n.ts.infoButtonForNoteActionsDescription }}</template> <span class="_beta">CherryPick</span></MkSwitch>
|
||||
<MkSwitch v-model="showReplyInNotification">{{ i18n.ts.showReplyInNotification }} <span class="_beta">CherryPick</span></MkSwitch>
|
||||
<MkSwitch v-model="renoteQuoteButtonSeparation">{{ i18n.ts.renoteQuoteButtonSeparation }} <span class="_beta">CherryPick</span></MkSwitch>
|
||||
<MkSwitch v-model="showFixedPostFormInReplies">{{ i18n.ts.showFixedPostFormInReplies }}<template #caption>{{ i18n.ts.showFixedPostFormInRepliesDescription }}</template> <span class="_beta">CherryPick</span></MkSwitch>
|
||||
</div>
|
||||
|
||||
|
@ -187,7 +190,8 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
</div>
|
||||
<div :class="$style.fontSizeSlider">
|
||||
<div :class="$style.fontSizeLeft">Aa</div>
|
||||
<MkRange v-model="fontSize" style="position: initial !important; width: 100%; margin: 0 -10px;" :min="1" :max="19" :step="1" easing :textConverter="(v) =>
|
||||
<MkRange
|
||||
v-model="fontSize" style="position: initial !important; width: 100%; margin: 0 -10px;" :min="1" :max="19" :step="1" easing :textConverter="(v) =>
|
||||
v === 1 ? '7px' :
|
||||
v === 2 ? '8px' :
|
||||
v === 3 ? '9px' :
|
||||
|
@ -353,6 +357,9 @@ const showTranslateButtonInNote = computed(defaultStore.makeGetterSetter('showTr
|
|||
const enableAbsoluteTime = computed(defaultStore.makeGetterSetter('enableAbsoluteTime'));
|
||||
const enableMarkByDate = computed(defaultStore.makeGetterSetter('enableMarkByDate'));
|
||||
const showSubNoteFooterButton = computed(defaultStore.makeGetterSetter('showSubNoteFooterButton'));
|
||||
const infoButtonForNoteActionsEnabled = computed(defaultStore.makeGetterSetter('infoButtonForNoteActionsEnabled'));
|
||||
const showReplyInNotification = computed(defaultStore.makeGetterSetter('showReplyInNotification'));
|
||||
const renoteQuoteButtonSeparation = computed(defaultStore.makeGetterSetter('renoteQuoteButtonSeparation'));
|
||||
const showFixedPostFormInReplies = computed(defaultStore.makeGetterSetter('showFixedPostFormInReplies'));
|
||||
|
||||
watch(lang, () => {
|
||||
|
@ -406,6 +413,9 @@ watch([
|
|||
enableAbsoluteTime,
|
||||
enableMarkByDate,
|
||||
showSubNoteFooterButton,
|
||||
infoButtonForNoteActionsEnabled,
|
||||
showReplyInNotification,
|
||||
renoteQuoteButtonSeparation,
|
||||
showFixedPostFormInReplies,
|
||||
], async () => {
|
||||
await reloadAsk();
|
||||
|
|
|
@ -437,6 +437,18 @@ export const defaultStore = markRaw(new Storage('base', {
|
|||
where: 'device',
|
||||
default: true,
|
||||
},
|
||||
infoButtonForNoteActionsEnabled: {
|
||||
where: 'account',
|
||||
default: true,
|
||||
},
|
||||
showReplyInNotification: {
|
||||
where: 'device',
|
||||
default: false,
|
||||
},
|
||||
renoteQuoteButtonSeparation: {
|
||||
where: 'device',
|
||||
default: true,
|
||||
},
|
||||
showFixedPostFormInReplies: {
|
||||
where: 'device',
|
||||
default: true,
|
||||
|
@ -505,10 +517,6 @@ export const defaultStore = markRaw(new Storage('base', {
|
|||
where: 'device',
|
||||
default: 'hideHeaderFloatBtn' as 'all' | 'hideHeaderOnly' | 'hideHeaderFloatBtn' | 'hideFloatBtnOnly' | 'hideFloatBtnNavBar' | 'hide',
|
||||
},
|
||||
infoButtonForNoteActionsEnabled: {
|
||||
where: 'account',
|
||||
default: true,
|
||||
},
|
||||
reactableRemoteReactionEnabled: {
|
||||
where: 'account',
|
||||
default: true,
|
||||
|
@ -525,14 +533,6 @@ export const defaultStore = markRaw(new Storage('base', {
|
|||
where: 'account',
|
||||
default: false,
|
||||
},
|
||||
showReplyInNotification: {
|
||||
where: 'device',
|
||||
default: false,
|
||||
},
|
||||
renoteQuoteButtonSeparation: {
|
||||
where: 'device',
|
||||
default: true,
|
||||
},
|
||||
|
||||
// - etc
|
||||
friendlyEnableNotifications: {
|
||||
|
|
Loading…
Reference in a new issue