Skip to content

Commit

Permalink
feat: config for TextAlias
Browse files Browse the repository at this point in the history
  • Loading branch information
linonetwo committed May 21, 2024
1 parent 728a259 commit 404a2f7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/commandpalette/configs/config.tid
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,7 @@ caption: <<lingo Name $:/plugins/linonetwo/commandpalette/language/>>
:<$checkbox tiddler="$:/plugins/linonetwo/commandpalette/configs/HideDefaultSearchBar" field="text" checked="yes" unchecked=""> <<lingo Configs/HideDefaultSearchBar/Description>></$checkbox>
;<<lingo Configs/TitleAlias/Caption>>
:<$edit-text tiddler="$:/plugins/linonetwo/commandpalette/configs/TitleAlias" tabindex=-1 focus=false cancelPopups="yes" fileDrop=no tag="input" /> <<lingo Configs/TitleAlias/Description>>
;<<lingo Configs/TextAlias/Caption>>
:<$edit-text tiddler="$:/plugins/linonetwo/commandpalette/configs/TextAlias" tabindex=-1 focus=false cancelPopups="yes" fileDrop=no tag="input" /> <<lingo Configs/TextAlias/Description>>
;<<lingo Configs/DesktopWidth/Caption>>
:<$edit-text tiddler="$:/plugins/linonetwo/commandpalette/configs/DesktopWidth" tabindex=-1 focus=false cancelPopups="yes" fileDrop=no tag="input" type="number" />% <<lingo Configs/DesktopWidth/Description>>
2 changes: 2 additions & 0 deletions src/commandpalette/language/en-GB/Translations.multids
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Configs/Description: These settings let you customise the behaviour of "Command
Configs/PluginConfigs/Caption: Plugin Configs
Configs/TitleAlias/Caption: Fields regarded as title to search
Configs/TitleAlias/Description: When searching title, you may want to include more fields to search. Separate fields with spaces, note that adding too many fields can cause lag.
Configs/TextAlias/Caption: Fields regarded as text to search
Configs/TextAlias/Description: When searching text, you may want to include more fields to search. Separate fields with spaces, note that adding too many fields can cause lag.
Configs/HideDefaultSearchBar/Caption: Hide default search bar
Configs/HideDefaultSearchBar/Description: If you only use commandpalette to search and don't need default search bar, check this box.
Configs/DesktopWidth/Caption: Width on desktop mode
Expand Down
2 changes: 2 additions & 0 deletions src/commandpalette/language/zh-Hans/Translations.multids
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Configs/Description: 通过这些设置,您可以自定义「命令菜单」
Configs/PluginConfigs/Caption: 插件设置
Configs/TitleAlias/Caption: 视为标题的字段
Configs/TitleAlias/Description: 搜索标题时,您可能希望包含更多的字段加入搜索。字段之间用空格隔开,注意加入过多字段会变卡。
Configs/TextAlias/Caption: 视为正文文本的字段
Configs/TextAlias/Description: 搜索正文文本时,您可能希望包含更多的字段加入搜索。字段之间用空格隔开,注意加入过多字段会变卡。
Configs/HideDefaultSearchBar/Caption: 隐藏默认搜索栏
Configs/HideDefaultSearchBar/Description: 如果您只使用命令菜单搜索,不需要默认搜索栏,请选中此复选框。
Configs/DesktopWidth/Caption: 桌面模式宽度
Expand Down

0 comments on commit 404a2f7

Please sign in to comment.