From 206ca5c90dfa59a9f89742debbf170fe2f2d21b4 Mon Sep 17 00:00:00 2001 From: NoriDev Date: Mon, 5 Jun 2023 17:16:00 +0900 Subject: [PATCH] fix typo: newNoteRecivedNotification -> newNoteReceivedNotification --- locales/en-US.yml | 4 ++-- locales/index.d.ts | 4 ++-- locales/ja-JP.yml | 4 ++-- locales/ko-KR.yml | 4 ++-- packages/frontend/src/pages/settings/general.vue | 12 ++++++------ .../src/pages/settings/preferences-backups.vue | 2 +- packages/frontend/src/pages/timeline.vue | 4 ++-- packages/frontend/src/store.ts | 2 +- 8 files changed, 18 insertions(+), 18 deletions(-) diff --git a/locales/en-US.yml b/locales/en-US.yml index d57bc684b8..3c24fa3a60 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -1,7 +1,7 @@ --- _lang_: "English" useBoldFont: "Bold Text" -newNoteRecivedNotification: "New note notification" +newNoteReceivedNotification: "When receive a new note notification" disableRightClick: "Prohibit right click" useEnterToSend: "Press Enter to send" useEnterToSendDescription: "When the option is enabled, you can use the Shift + Enter key for line break." @@ -1441,7 +1441,7 @@ _role: and: "AND-Condition" or: "OR-Condition" not: "NOT-Condition" -_newNoteRecivedNotificationBehavior: +_newNoteReceivedNotificationBehavior: default: "Default" count: "Show number of notes" none: "None" diff --git a/locales/index.d.ts b/locales/index.d.ts index 91a517905d..546db9230a 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -4,7 +4,7 @@ export interface Locale { "_lang_": string; "useBoldFont": string; - "newNoteRecivedNotification": string; + "newNoteReceivedNotification": string; "disableRightClick": string; "useEnterToSend": string; "useEnterToSendDescription": string; @@ -1527,7 +1527,7 @@ export interface Locale { "not": string; }; }; - "_newNoteRecivedNotificationBehavior": { + "_newNoteReceivedNotificationBehavior": { "default": string; "count": string; "none": string; diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index e681e88368..fc8343861e 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1,7 +1,7 @@ _lang_: "日本語" useBoldFont: "文字を太くする" -newNoteRecivedNotification: "新しいノート通知" +newNoteReceivedNotification: "新しいノート通知を表示するとき" disableRightClick: "右クリックを禁止" useEnterToSend: "Enterキーを押して送信" useEnterToSendDescription: "オプションを有効にすると、行替えはShift+Enterキーでできます。" @@ -1447,7 +1447,7 @@ _role: or: "~または~" not: "~ではない" -_newNoteRecivedNotificationBehavior: +_newNoteReceivedNotificationBehavior: default: "デフォルト" count: "ノート数表示" none: "表示なし" diff --git a/locales/ko-KR.yml b/locales/ko-KR.yml index bb26b56be7..3fb39bee6c 100644 --- a/locales/ko-KR.yml +++ b/locales/ko-KR.yml @@ -1,7 +1,7 @@ --- _lang_: "한국어" useBoldFont: "볼드체 텍스트" -newNoteRecivedNotification: "새 노트 알림" +newNoteReceivedNotification: "새 노트 알림을 표시할 때" disableRightClick: "우클릭 방지" useEnterToSend: "Enter 키를 눌러 보내기" useEnterToSendDescription: "옵션을 활성화하면 줄 바꿈은 Shift + Enter 키로 할 수 있어요." @@ -1442,7 +1442,7 @@ _role: and: "다음을 모두 만족" or: "다음을 하나라도 만족" not: "다음을 만족하지 않음" -_newNoteRecivedNotificationBehavior: +_newNoteReceivedNotificationBehavior: default: "기본" count: "노트 수 표시" none: "표시하지 않음" diff --git a/packages/frontend/src/pages/settings/general.vue b/packages/frontend/src/pages/settings/general.vue index 894486e854..63f64f13d7 100644 --- a/packages/frontend/src/pages/settings/general.vue +++ b/packages/frontend/src/pages/settings/general.vue @@ -215,11 +215,11 @@ - - - - - + + + + + @@ -316,7 +316,7 @@ const notificationStackAxis = computed(defaultStore.makeGetterSetter('notificati const showTimelineReplies = computed(defaultStore.makeGetterSetter('showTimelineReplies')); const useEnterToSend = computed(defaultStore.makeGetterSetter('useEnterToSend')); const postFormVisibilityHotkey = computed(defaultStore.makeGetterSetter('postFormVisibilityHotkey')); -const newNoteRecivedNotificationBehavior = computed(defaultStore.makeGetterSetter('newNoteRecivedNotificationBehavior')); +const newNoteReceivedNotificationBehavior = computed(defaultStore.makeGetterSetter('newNoteReceivedNotificationBehavior')); const fontSize = computed(defaultStore.makeGetterSetter('fontSize')); const collapseDefault = computed(defaultStore.makeGetterSetter('collapseDefault')); diff --git a/packages/frontend/src/pages/settings/preferences-backups.vue b/packages/frontend/src/pages/settings/preferences-backups.vue index 6eadf82b63..3cc74be17f 100644 --- a/packages/frontend/src/pages/settings/preferences-backups.vue +++ b/packages/frontend/src/pages/settings/preferences-backups.vue @@ -89,7 +89,7 @@ const defaultStoreSaveKeys: (keyof typeof defaultStore['state'])[] = [ 'mediaListWithOneImageAppearance', 'useEnterToSend', 'postFormVisibilityHotkey', - 'newNoteRecivedNotificationBehavior', + 'newNoteReceivedNotificationBehavior', 'collapseDefault', ]; const coldDeviceStorageSaveKeys: (keyof typeof ColdDeviceStorage.default)[] = [ diff --git a/packages/frontend/src/pages/timeline.vue b/packages/frontend/src/pages/timeline.vue index 9808858914..2b9e8e4fb3 100644 --- a/packages/frontend/src/pages/timeline.vue +++ b/packages/frontend/src/pages/timeline.vue @@ -15,7 +15,7 @@ :enterFromClass="defaultStore.state.animation ? $style.transition_new_enterFrom : ''" :leaveToClass="defaultStore.state.animation ? $style.transition_new_leaveTo : ''" > -
+
-
+