Skip to content

Commit 3178f31

Browse files
committedJan 6, 2024

File tree

7 files changed

+8
-3
lines changed

7 files changed

+8
-3
lines changed
 

‎app/appearance/langs/en_US.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,7 @@
482482
"useDefaultWidth": "Use Default Column Width",
483483
"type": "Type",
484484
"replaceType": "Replace type",
485+
"searchType": "Search type",
485486
"searchBlockType": "Block types (searches in the enabled types below, the filter option in the global search overrides this setting)",
486487
"searchBlockAttr": "Block attributes (search not only in the content, but also in the following enabled attributes)",
487488
"searchIndex": "Index",

‎app/appearance/langs/es_ES.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,7 @@
482482
"useDefaultWidth": "Usar el ancho de columna por defecto",
483483
"type": "Tipo",
484484
"replaceType": "Reemplazar tipo",
485+
"searchType": "Tipo de búsqueda",
485486
"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)",
486487
"searchBlockAttr": "Atributos de bloque (busca no sólo en el contenido, sino también en los siguientes atributos habilitados)",
487488
"searchIndex": "Índice",

‎app/appearance/langs/fr_FR.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,7 @@
482482
"useDefaultWidth": "Utiliser la largeur de colonne par défaut",
483483
"type": "Type",
484484
"replaceType": "Remplacer le type",
485+
"searchType": "Type de recherche",
485486
"searchBlockType": "Types de bloc (recherche dans les types activés ci-dessous, l'option de filtre dans la recherche globale remplace ce paramètre)",
486487
"searchBlockAttr": "Attributs de bloc (recherche non seulement dans le contenu, mais aussi dans les attributs activés suivants)",
487488
"searchIndex": "Index",

‎app/appearance/langs/zh_CHT.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,7 @@
482482
"useDefaultWidth": "使用預設列寬",
483483
"type": "類型",
484484
"replaceType": "替換類型",
485+
"searchType": "搜尋類型",
485486
"searchBlockType": "塊級類型(在以下啟用的類型中進行搜索,全域搜索中的過濾選項會覆蓋該設置)",
486487
"searchBlockAttr": "塊級屬性(不僅在內容中進行搜索,同時也會在以下啟用的屬性中搜索)",
487488
"searchIndex": "索引",

‎app/appearance/langs/zh_CN.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,7 @@
482482
"useDefaultWidth": "使用默认列宽",
483483
"type": "类型",
484484
"replaceType": "替换类型",
485+
"searchType": "搜索类型",
485486
"searchBlockType": "块级类型(在以下启用的类型中进行搜索,全局搜索中的过滤选项会覆盖该设置)",
486487
"searchBlockAttr": "块级属性(不仅在内容中进行搜索,同时也会在以下启用的属性中搜索)",
487488
"searchIndex": "索引",

‎app/src/search/menu.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {updateSearchResult} from "../mobile/menu/search";
1111

1212
export const filterMenu = (config: ISearchOption, cb: () => void) => {
1313
const filterDialog = new Dialog({
14-
title: window.siyuan.languages.type,
14+
title: window.siyuan.languages.replaceType,
1515
content: `<div class="b3-dialog__content">
1616
<label class="fn__flex b3-label">
1717
<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,
370370
/// #if MOBILE
371371
window.siyuan.menus.menu.append(new MenuItem({
372372
iconHTML: "",
373-
label: window.siyuan.languages.type,
373+
label: window.siyuan.languages.searchType,
374374
click() {
375375
filterMenu(config, () => {
376376
updateSearchResult(config, element, true);

‎app/src/search/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ export const genSearch = (app: App, config: ISearchOption, element: Element, clo
295295
<input id="searchInput" class="b3-text-field b3-text-field--text" placeholder="${window.siyuan.languages.showRecentUpdatedBlocks}">
296296
</div>
297297
<div class="block__icons">
298-
<span id="searchFilter" aria-label="${window.siyuan.languages.type}" class="block__icon ariaLabel" data-position="9bottom">
298+
<span id="searchFilter" aria-label="${window.siyuan.languages.replaceType}" class="block__icon ariaLabel" data-position="9bottom">
299299
<svg><use xlink:href="#iconFilter"></use></svg>
300300
</span>
301301
<span class="fn__space"></span>

0 commit comments

Comments
 (0)
Please sign in to comment.