This commit is contained in:
parent
59e3781d22
commit
3178f31eb8
7 changed files with 8 additions and 3 deletions
|
@ -482,6 +482,7 @@
|
|||
"useDefaultWidth": "Use Default Column Width",
|
||||
"type": "Type",
|
||||
"replaceType": "Replace type",
|
||||
"searchType": "Search type",
|
||||
"searchBlockType": "Block types (searches in the enabled types below, the filter option in the global search overrides this setting)",
|
||||
"searchBlockAttr": "Block attributes (search not only in the content, but also in the following enabled attributes)",
|
||||
"searchIndex": "Index",
|
||||
|
|
|
@ -482,6 +482,7 @@
|
|||
"useDefaultWidth": "Usar el ancho de columna por defecto",
|
||||
"type": "Tipo",
|
||||
"replaceType": "Reemplazar tipo",
|
||||
"searchType": "Tipo de búsqueda",
|
||||
"searchBlockType": "Tipos de bloque (busque en los tipos habilitados a continuación, la opción de filtro en la búsqueda global anula esta configuración)",
|
||||
"searchBlockAttr": "Atributos de bloque (busca no sólo en el contenido, sino también en los siguientes atributos habilitados)",
|
||||
"searchIndex": "Índice",
|
||||
|
|
|
@ -482,6 +482,7 @@
|
|||
"useDefaultWidth": "Utiliser la largeur de colonne par défaut",
|
||||
"type": "Type",
|
||||
"replaceType": "Remplacer le type",
|
||||
"searchType": "Type de recherche",
|
||||
"searchBlockType": "Types de bloc (recherche dans les types activés ci-dessous, l'option de filtre dans la recherche globale remplace ce paramètre)",
|
||||
"searchBlockAttr": "Attributs de bloc (recherche non seulement dans le contenu, mais aussi dans les attributs activés suivants)",
|
||||
"searchIndex": "Index",
|
||||
|
|
|
@ -482,6 +482,7 @@
|
|||
"useDefaultWidth": "使用預設列寬",
|
||||
"type": "類型",
|
||||
"replaceType": "替換類型",
|
||||
"searchType": "搜尋類型",
|
||||
"searchBlockType": "塊級類型(在以下啟用的類型中進行搜索,全域搜索中的過濾選項會覆蓋該設置)",
|
||||
"searchBlockAttr": "塊級屬性(不僅在內容中進行搜索,同時也會在以下啟用的屬性中搜索)",
|
||||
"searchIndex": "索引",
|
||||
|
|
|
@ -482,6 +482,7 @@
|
|||
"useDefaultWidth": "使用默认列宽",
|
||||
"type": "类型",
|
||||
"replaceType": "替换类型",
|
||||
"searchType": "搜索类型",
|
||||
"searchBlockType": "块级类型(在以下启用的类型中进行搜索,全局搜索中的过滤选项会覆盖该设置)",
|
||||
"searchBlockAttr": "块级属性(不仅在内容中进行搜索,同时也会在以下启用的属性中搜索)",
|
||||
"searchIndex": "索引",
|
||||
|
|
|
@ -11,7 +11,7 @@ import {updateSearchResult} from "../mobile/menu/search";
|
|||
|
||||
export const filterMenu = (config: ISearchOption, cb: () => void) => {
|
||||
const filterDialog = new Dialog({
|
||||
title: window.siyuan.languages.type,
|
||||
title: window.siyuan.languages.replaceType,
|
||||
content: `<div class="b3-dialog__content">
|
||||
<label class="fn__flex b3-label">
|
||||
<svg class="ft__on-surface svg fn__flex-center"><use xlink:href="#iconMath"></use></svg>
|
||||
|
@ -370,7 +370,7 @@ export const moreMenu = async (config: ISearchOption,
|
|||
/// #if MOBILE
|
||||
window.siyuan.menus.menu.append(new MenuItem({
|
||||
iconHTML: "",
|
||||
label: window.siyuan.languages.type,
|
||||
label: window.siyuan.languages.searchType,
|
||||
click() {
|
||||
filterMenu(config, () => {
|
||||
updateSearchResult(config, element, true);
|
||||
|
|
|
@ -295,7 +295,7 @@ export const genSearch = (app: App, config: ISearchOption, element: Element, clo
|
|||
<input id="searchInput" class="b3-text-field b3-text-field--text" placeholder="${window.siyuan.languages.showRecentUpdatedBlocks}">
|
||||
</div>
|
||||
<div class="block__icons">
|
||||
<span id="searchFilter" aria-label="${window.siyuan.languages.type}" class="block__icon ariaLabel" data-position="9bottom">
|
||||
<span id="searchFilter" aria-label="${window.siyuan.languages.replaceType}" class="block__icon ariaLabel" data-position="9bottom">
|
||||
<svg><use xlink:href="#iconFilter"></use></svg>
|
||||
</span>
|
||||
<span class="fn__space"></span>
|
||||
|
|
Loading…
Add table
Reference in a new issue