From 13528a2c11fd6bf9a877ac919113a38c9724e2d5 Mon Sep 17 00:00:00 2001 From: tai-cha Date: Mon, 3 Mar 2025 11:24:50 +0900 Subject: [PATCH] build --- .../scripts/autogen/settings-search-index.ts | 460 +++++++++++------- 1 file changed, 274 insertions(+), 186 deletions(-) diff --git a/packages/frontend/src/scripts/autogen/settings-search-index.ts b/packages/frontend/src/scripts/autogen/settings-search-index.ts index 6ad2e2207e..4c647102e2 100644 --- a/packages/frontend/src/scripts/autogen/settings-search-index.ts +++ b/packages/frontend/src/scripts/autogen/settings-search-index.ts @@ -20,103 +20,320 @@ export type SearchIndexItem = { export const searchIndexes:SearchIndexItem[] = [ { - id: 'lkiKsD6A9', + id: '6fFIRXUww', children: [ { - id: '4WPlJ524l', + id: 'nO7NnzqiC', + label: i18n.ts.notUseSound, + keywords: [], + }, + ], + label: i18n.ts.sounds, + keywords: ['sounds'], + path: '/settings/sounds', + icon: 'ti ti-music', + }, + { + id: 'w4L6myH61', + children: [ + { + id: 'o1r83vQ5x', + label: i18n.ts._profile.name, + keywords: ['name'], + }, + { + id: 'yFEVCJxFX', + label: i18n.ts._profile.description, + keywords: ['description', 'bio'], + }, + { + id: 'qQSKqwYYC', + label: i18n.ts.location, + keywords: ['location', 'locale'], + }, + { + id: 's1gC4wLGe', + label: i18n.ts.birthday, + keywords: ['birthday', 'birthdate', 'age'], + }, + { + id: '9N9E2JDrl', + label: i18n.ts.language, + keywords: ['language', 'locale'], + }, + { + id: 'pPPwtfzRZ', + label: i18n.ts._profile.metadataEdit, + keywords: ['metadata'], + }, + { + id: 'nc9iLkzEn', + label: i18n.ts._profile.followedMessage, + keywords: ['follow', 'message', i18n.ts._profile.followedMessageDescription], + }, + { + id: 'yciwBnW3c', + label: i18n.ts.reactionAcceptance, + keywords: ['reaction'], + }, + { + id: 'qYM6CtIby', + children: [ + { + id: 'aCgNi4HMB', + label: i18n.ts.flagAsCat, + keywords: ['cat'], + }, + { + id: 'aHQCTp7cf', + label: i18n.ts.flagAsBot, + keywords: ['bot'], + }, + ], + label: i18n.ts.advancedSettings, + keywords: [], + }, + ], + label: i18n.ts.profile, + keywords: ['profile'], + path: '/settings/profile', + icon: 'ti ti-user', + }, + { + id: '2rp9ka5Ht', + children: [ + { + id: 'qBUSKPxLW', + label: i18n.ts.makeFollowManuallyApprove, + keywords: ['follow', 'lock', i18n.ts.lockedAccountInfo], + }, + { + id: 'rPrD9hseA', + label: i18n.ts.autoAcceptFollowed, + keywords: ['follow', 'auto', 'accept'], + }, + { + id: 'waWwFHTcL', + label: i18n.ts.makeReactionsPublic, + keywords: ['reaction', 'public', i18n.ts.makeReactionsPublicDescription], + }, + { + id: 'eFPEyCri0', + label: i18n.ts.followingVisibility, + keywords: ['following', 'visibility'], + }, + { + id: 'bQmNoFUku', + label: i18n.ts.followersVisibility, + keywords: ['follower', 'visibility'], + }, + { + id: '3HiV7Q9u9', + label: i18n.ts.hideOnlineStatus, + keywords: ['online', 'status', i18n.ts.hideOnlineStatusDescription], + }, + { + id: 'izbVlS3rh', + label: i18n.ts.noCrawle, + keywords: ['crawle', 'index', 'search', i18n.ts.noCrawleDescription], + }, + { + id: 'fhfOeQYCY', + label: i18n.ts.preventAiLearning, + keywords: ['crawle', 'ai', i18n.ts.preventAiLearningDescription], + }, + { + id: '468e8XVmt', + label: i18n.ts.makeExplorable, + keywords: ['explore', i18n.ts.makeExplorableDescription], + }, + { + id: '7LmVNpBSU', + children: [ + { + id: 'joHMIl2pJ', + label: i18n.ts.requireSigninToViewContents, + keywords: ['login', 'signin'], + }, + { + id: 'fINiZIxXR', + label: i18n.ts._accountSettings.makeNotesFollowersOnlyBefore, + keywords: ['follower', i18n.ts._accountSettings.makeNotesFollowersOnlyBeforeDescription], + }, + { + id: 'faEaYmXP9', + label: i18n.ts._accountSettings.makeNotesHiddenBefore, + keywords: ['hidden', i18n.ts._accountSettings.makeNotesHiddenBeforeDescription], + }, + ], + label: i18n.ts.lockdown, + keywords: ['lockdown'], + }, + { + id: 'hcwjvHhTV', + label: i18n.ts.rememberNoteVisibility, + keywords: ['remember', 'keep', 'note', 'visibility'], + }, + { + id: 'sNr7Jwfhv', + label: i18n.ts.defaultNoteVisibility, + keywords: ['default', 'note', 'visibility'], + }, + { + id: 'q8KaaudMT', + label: i18n.ts.keepCw, + keywords: ['remember', 'keep', 'note', 'cw'], + }, + ], + label: i18n.ts.privacy, + keywords: ['privacy'], + path: '/settings/privacy', + icon: 'ti ti-lock-open', + }, + { + id: '3icEvyv2D', + children: [ + { + id: 'Tyt3gZTy', + children: [ + { + id: '9b7ZURyAt', + label: i18n.ts.showMutedWord, + keywords: ['show'], + }, + ], + label: i18n.ts.wordMute, + keywords: ['note', 'word', 'soft', 'mute', 'hide'], + }, + { + id: 'kdMk41II0', + label: i18n.ts.hardWordMute, + keywords: ['note', 'word', 'hard', 'mute', 'hide'], + }, + { + id: 'mjORQamAK', + label: i18n.ts.instanceMute, + keywords: ['note', 'server', 'instance', 'host', 'federation', 'mute', 'hide'], + }, + { + id: '1ZT7S9FZd', + label: `${i18n.ts.mutedUsers} (${ i18n.ts.renote })`, + keywords: ['renote', 'mute', 'hide', 'user'], + }, + { + id: 'ANrPit3kQ', + label: i18n.ts.mutedUsers, + keywords: ['note', 'mute', 'hide', 'user'], + }, + { + id: 'bPAE4lfno', + label: i18n.ts.blockedUsers, + keywords: ['block', 'user'], + }, + ], + label: i18n.ts.muteAndBlock, + keywords: ['mute', 'block'], + path: '/settings/mute-block', + icon: 'ti ti-ban', + }, + { + id: 'BHYnopAJj', + children: [ + { + id: 'td5wn279u', label: i18n.ts.uiLanguage, keywords: ['language'], }, { - id: 'zTZP66QHY', + id: 'fYXewiIEg', label: i18n.ts.overridedDeviceKind, keywords: ['device', 'type', 'kind', 'smartphone', 'tablet', 'desktop'], }, { - id: 't6tieamLV', + id: 'urIIon30Q', label: i18n.ts.showFixedPostForm, keywords: ['post', 'form', 'timeline'], }, { - id: '7I09lqpHF', + id: 'hDmIFtgMg', label: i18n.ts.showFixedPostFormInChannel, keywords: ['post', 'form', 'timeline', 'channel'], }, { - id: 'tpSclMQgy', + id: 'ysfbMhmdS', label: i18n.ts.pinnedList, keywords: ['pinned', 'list'], }, { - id: 'BG9G2e7Fl', + id: '1unQHTznt', children: [ { - id: '1Rz8PU4Fg', + id: 'v5NZwImbV', label: i18n.ts.collapseRenotes, keywords: ['renote', i18n.ts.collapseRenotesDescription], }, { - id: 'x3ycuUD3Z', + id: 'zt52HZbij', label: i18n.ts.showNoteActionsOnlyHover, keywords: ['hover', 'show', 'footer', 'action'], }, { - id: 'AdDcoGIcU', + id: 'v6lvc03GK', label: i18n.ts.showClipButtonInNoteFooter, keywords: ['footer', 'action', 'clip', 'show'], }, { - id: 'eywH9VkYz', + id: 'vBwByfKxU', label: i18n.ts.enableAdvancedMfm, keywords: ['mfm', 'enable', 'show', 'advanced'], }, { - id: 'cDyb0gpsB', + id: 'jFTMHw7CL', label: i18n.ts.enableAnimatedMfm, keywords: ['mfm', 'enable', 'show', 'animated'], }, { - id: 'pq69uSb0G', + id: 'pKbOIF1er', label: i18n.ts.enableQuickAddMfmFunction, keywords: ['mfm', 'enable', 'show', 'advanced', 'picker', 'form', 'function', 'fn'], }, { - id: '9xaGcuSHY', + id: 'nk7Lvm20X', label: i18n.ts.showReactionsCount, keywords: ['reaction', 'count', 'show'], }, { - id: 'vZsJ1kmXl', + id: '8HQOtKsRz', label: i18n.ts.showGapBetweenNotesInTimeline, keywords: ['note', 'timeline', 'gap'], }, { - id: 'bgg61k3ir', + id: 'fPgnSbxju', label: i18n.ts.loadRawImages, keywords: ['image', 'photo', 'picture', 'media', 'thumbnail', 'quality', 'raw', 'attachment'], }, { - id: '1N0q2HWTs', + id: 'lJhIi4Ao8', label: i18n.ts.reactionsDisplaySize, keywords: ['reaction', 'size', 'scale', 'display'], }, { - id: 'kGDc1nDhk', + id: '2ockZ6zJk', label: i18n.ts.limitWidthOfReaction, keywords: ['reaction', 'size', 'scale', 'display', 'width', 'limit'], }, { - id: 'p76Dx3AOG', + id: '9PuhXBOk1', label: i18n.ts.instanceTicker, keywords: ['ticker', 'information', 'label', 'instance', 'server', 'host', 'federation'], }, { - id: 'lufqQAoEd', + id: '9ZkvD4wAt', label: i18n.ts.displayOfSensitiveMedia, keywords: ['attachment', 'image', 'photo', 'picture', 'media', 'thumbnail', 'nsfw', 'sensitive', 'display', 'show', 'hide', 'visibility'], }, { - id: 'fuNNuX4Qs', + id: 'fkvAmYg5u', label: i18n.ts.mediaListWithOneImageAppearance, keywords: ['attachment', 'image', 'photo', 'picture', 'media', 'thumbnail', 'list', 'size', 'height'], }, @@ -125,20 +342,20 @@ export const searchIndexes:SearchIndexItem[] = [ keywords: ['note', 'display'], }, { - id: '2XIXe59Rn', + id: '3Xq2hopEo', children: [ { - id: 'AJjuPGduR', + id: 'suwtXBzMw', label: i18n.ts.useGroupedNotifications, keywords: ['group'], }, { - id: 'mIp8pmHt1', + id: 'egvgCirmr', label: i18n.ts.position, keywords: ['position'], }, { - id: '1KolkQdYz', + id: 'pp1VvM4cD', label: i18n.ts.stackAxis, keywords: ['stack', 'axis', 'direction'], }, @@ -147,75 +364,75 @@ export const searchIndexes:SearchIndexItem[] = [ keywords: ['notification', 'display'], }, { - id: 'rj7TUPwRw', + id: '5eAweHfbB', children: [ { - id: '4eQq1fHJN', + id: 'FdoqeSYNF', label: i18n.ts.reduceUiAnimation, keywords: ['animation', 'motion', 'reduce'], }, { - id: 'jOlwSaPaw', + id: 't1tZdQBfO', label: i18n.ts.useBlurEffect, keywords: ['blur'], }, { - id: 'v5CPoXu93', + id: '8Ko4xXBFs', label: i18n.ts.useBlurEffectForModal, keywords: ['blur', 'modal'], }, { - id: 'ggvHGtnkK', + id: 'gBzTeKGFh', label: i18n.ts.disableShowingAnimatedImages, keywords: ['disable', 'animation', 'image', 'photo', 'picture', 'media', 'thumbnail', 'gif'], }, { - id: 'DdTBUW9az', + id: 'EhT7rDOov', label: i18n.ts.highlightSensitiveMedia, keywords: ['highlight', 'sensitive', 'nsfw', 'image', 'photo', 'picture', 'media', 'thumbnail'], }, { - id: 's16LrgSyh', + id: 'o5D4d4PiX', label: i18n.ts.squareAvatars, keywords: ['avatar', 'icon', 'square'], }, { - id: 'crXmbkAPF', + id: 'ukt7ov4c2', label: i18n.ts.showAvatarDecorations, keywords: ['avatar', 'icon', 'decoration', 'show'], }, { - id: 'q54tdMzdG', + id: 'jMcHsV8l9', label: i18n.ts.useSystemFont, keywords: ['font', 'system', 'native'], }, { - id: 'ayoWd2b6Z', + id: '4fF9YEwzx', label: i18n.ts.forceShowAds, keywords: ['ad', 'show'], }, { - id: 'bx8e2nq7T', + id: 'jjaqL4tFy', label: i18n.ts.seasonalScreenEffect, keywords: ['effect', 'show'], }, { - id: 'hDl4n0XbV', + id: 'C3cUvQQ8u', label: i18n.ts.useNativeUIForVideoAudioPlayer, keywords: ['native', 'system', 'video', 'audio', 'player', 'media'], }, { - id: 'rGagBkok0', + id: '8M02GAWXX', label: i18n.ts.menuStyle, keywords: ['menu', 'style', 'popup', 'drawer'], }, { - id: 'bfHGKlGNB', + id: '4Wt4cwgCv', label: i18n.ts.emojiStyle, keywords: ['emoji', 'style', 'native', 'system', 'fluent', 'twemoji'], }, { - id: 'DSvu9YHf5', + id: 'jAwbx3Not', label: i18n.ts.fontSize, keywords: ['font', 'size'], }, @@ -224,70 +441,70 @@ export const searchIndexes:SearchIndexItem[] = [ keywords: ['appearance'], }, { - id: '3KrlrHiy', + id: 'xwnqJsPvy', children: [ { - id: '9W3IBV65M', + id: '7lUTiERKq', label: i18n.ts.openImageInNewTab, keywords: ['image', 'photo', 'picture', 'media', 'thumbnail', 'new', 'tab'], }, { - id: 'huwlRz2Y5', + id: 'xV4v0qGX', label: i18n.ts.useReactionPickerForContextMenu, keywords: ['reaction', 'picker', 'contextmenu', 'open'], }, { - id: '4VVCvIuPm', + id: '8idWXW0kM', label: i18n.ts.enableInfiniteScroll, keywords: ['load', 'auto', 'more'], }, { - id: 'isI3TEHWe', + id: 'zdYaCoP8m', label: i18n.ts.keepScreenOn, keywords: ['keep', 'screen', 'display', 'on'], }, { - id: 'IXadN8TM', + id: 'tRYGdMhC5', label: i18n.ts.disableStreamingTimeline, keywords: ['disable', 'streaming', 'timeline'], }, { - id: 'gQIXmR2Zs', + id: '3QPrCh16U', label: i18n.ts.enableHorizontalSwipe, keywords: ['swipe', 'horizontal', 'tab'], }, { - id: 'a50kYZ4CZ', + id: '7yxBe9gfv', label: i18n.ts.alwaysConfirmFollow, keywords: ['follow', 'confirm', 'always'], }, { - id: 'CL4vhEg6H', + id: 'CzMi7EmBO', label: i18n.ts.confirmWhenRevealingSensitiveMedia, keywords: ['sensitive', 'nsfw', 'media', 'image', 'photo', 'picture', 'attachment', 'confirm'], }, { - id: 'mx7FWzzJU', + id: 'kqZlm0bsq', label: i18n.ts.confirmOnReact, keywords: ['reaction', 'confirm'], }, { - id: 'bEhm5hQNT', + id: 'yHf6FwZzS', label: i18n.ts.whenServerDisconnected, keywords: ['server', 'disconnect', 'reconnect', 'reload', 'streaming'], }, { - id: '3Hu4MyzGO', + id: 'yi4iotdED', label: i18n.ts._contextMenu.title, keywords: ['contextmenu', 'system', 'native'], }, { - id: 'AcUdgUHOM', + id: 'eacTCtnFP', label: i18n.ts.numberOfPageCache, keywords: ['cache', 'page'], }, { - id: 'eh5awlJ4', + id: 'BrEM5io6O', label: i18n.ts.dataSaver, keywords: ['datasaver'], }, @@ -296,15 +513,15 @@ export const searchIndexes:SearchIndexItem[] = [ keywords: ['behavior'], }, { - id: 'o0yvdjzxy', + id: '5tgJRLvkV', children: [ { - id: 'uYaK0hSj6', + id: '3ufBGbPyo', label: i18n.ts.hemisphere, keywords: [], }, { - id: 'lzaISmEIB', + id: '4LwXYWiG3', label: i18n.ts.additionalEmojiDictionary, keywords: ['emoji', 'dictionary', 'additional', 'extra'], }, @@ -318,135 +535,6 @@ export const searchIndexes:SearchIndexItem[] = [ path: '/settings/general', icon: 'ti ti-adjustments', }, - { - id: '3P5SEWR1V', - label: i18n.ts.makeReactionsPublic, - keywords: ['reaction', 'public', i18n.ts.makeReactionsPublicDescription], - }, - { - id: '51F6Uj8hB', - label: i18n.ts._profile.description, - keywords: ['description', 'bio'], - }, - { - id: 'gQ1GNiXi1', - label: i18n.ts.birthday, - keywords: ['birthday', 'birthdate', 'age'], - }, - { - id: '5Kcr62qAA', - label: i18n.ts.language, - keywords: ['language', 'locale'], - }, - { - id: 'FdDfkU5Mi', - label: i18n.ts._profile.metadataEdit, - keywords: ['metadata'], - }, - { - id: 'awmB82zY1', - label: i18n.ts._profile.followedMessage, - keywords: ['follow', 'message', i18n.ts._profile.followedMessageDescription], - }, - { - id: 'EOl81OwEL', - children: [ - { - id: '4KxTNOAaG', - label: i18n.ts._accountSettings.makeNotesHiddenBefore, - keywords: ['hidden', i18n.ts._accountSettings.makeNotesHiddenBeforeDescription], - }, - { - id: 'sNDKMBuxh', - label: i18n.ts.flagAsBot, - keywords: ['bot'], - }, - ], - label: i18n.ts.advancedSettings, - keywords: [], - }, - { - id: '85HeLKpoq', - label: i18n.ts.autoAcceptFollowed, - keywords: ['follow', 'auto', 'accept'], - }, - { - id: 'E90iUFBXC', - label: i18n.ts.followingVisibility, - keywords: ['following', 'visibility'], - }, - { - id: 'EoIxyXCQk', - label: i18n.ts.followersVisibility, - keywords: ['follower', 'visibility'], - }, - { - id: '7ShsDCPHU', - label: i18n.ts.noCrawle, - keywords: ['crawle', 'index', 'search', i18n.ts.noCrawleDescription], - }, - { - id: 'wQdjXX2EP', - label: i18n.ts.preventAiLearning, - keywords: ['crawle', 'ai', i18n.ts.preventAiLearningDescription], - }, - { - id: 'lp1s2skjv', - label: i18n.ts.makeExplorable, - keywords: ['explore', i18n.ts.makeExplorableDescription], - }, - { - id: 'vJqTLkoGN', - children: [ - { - id: 'mVKq4bdo3', - label: i18n.ts.requireSigninToViewContents, - keywords: ['login', 'signin'], - }, - { - id: 'i1ndjCPQj', - label: i18n.ts._accountSettings.makeNotesFollowersOnlyBefore, - keywords: ['follower', i18n.ts._accountSettings.makeNotesFollowersOnlyBeforeDescription], - }, - { - id: '4KxTNOAaG', - label: i18n.ts._accountSettings.makeNotesHiddenBefore, - keywords: ['hidden', i18n.ts._accountSettings.makeNotesHiddenBeforeDescription], - }, - ], - label: i18n.ts.lockdown, - keywords: ['lockdown'], - }, - { - id: 'zONwrNCVk', - label: i18n.ts.rememberNoteVisibility, - keywords: ['remember', 'keep', 'note', 'visibility'], - }, - { - id: '3kVGsKJTT', - label: i18n.ts.defaultNoteVisibility, - keywords: ['default', 'note', 'visibility'], - }, - { - id: '1yWthuQGm', - label: i18n.ts.showMutedWord, - keywords: ['show'], - }, - { - id: 'gmw2pWwJA', - label: i18n.ts.hardWordMute, - keywords: ['note', 'word', 'hard', 'mute', 'hide'], - }, - { - id: 'rTmclo0x', - label: `${i18n.ts.mutedUsers} (${ i18n.ts.renote })`, - keywords: ['renote', 'mute', 'hide', 'user'], - }, - { - id: 'mWq0ltyPE', - label: i18n.ts.blockedUsers, - keywords: ['block', 'user'], - }, ] as const; export type SearchIndex = typeof searchIndexes;