Skip to content

Commit

Permalink
🎨 Support listing for invalid block references in the search dialog #…
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Feb 28, 2024
1 parent c393b38 commit ca28272
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/appearance/langs/en_US.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"listInvalidRefBlocks": "List blocks with invalid references",
"listItemDotNumberClickFocus": "List item dot/number click to focus",
"listItemDotNumberClickFocusTip": "After enabling, clicking the list item dot/number will focus on the list item",
"reviewMode": "Review mode",
Expand Down
1 change: 1 addition & 0 deletions app/appearance/langs/es_ES.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"listInvalidRefBlocks": "Listar bloques con referencias no válidas",
"listItemDotNumberClickFocus": "Punto/número de elemento de lista, haga clic para enfocar",
"listItemDotNumberClickFocusTip": "Después de habilitarlo, hacer clic en el punto/número del elemento de la lista se centrará en el elemento de la lista",
"reviewMode": "Modo de revisión",
Expand Down
1 change: 1 addition & 0 deletions app/appearance/langs/fr_FR.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"listInvalidRefBlocks": "Liste des blocs avec des références invalides",
"listItemDotNumberClickFocus": "Cliquez sur le point/numéro de l'élément de la liste pour vous concentrer",
"listItemDotNumberClickFocusTip": "Après activation, cliquer sur le point/numéro de l'élément de liste se concentrera sur l'élément de liste",
"reviewMode": "Mode de révision",
Expand Down
1 change: 1 addition & 0 deletions app/appearance/langs/zh_CHT.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"listInvalidRefBlocks": "列出引用失效的區塊",
"listItemDotNumberClickFocus": "清單項目圓點/數字點選聚焦",
"listItemDotNumberClickFocusTip": "啟用後點選清單項目的圓點/數字將進入聚焦",
"reviewMode": "複習模式",
Expand Down
2 changes: 1 addition & 1 deletion app/appearance/langs/zh_CN.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"unref": "未引用",
"listInvalidRefBlocks": "列出引用失效的块",
"listItemDotNumberClickFocus": "列表项圆点/数字单击聚焦",
"listItemDotNumberClickFocusTip": "启用后单击列表项的圆点/数字将进入聚焦",
"reviewMode": "复习模式",
Expand Down
2 changes: 1 addition & 1 deletion app/src/search/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ export const genSearch = (app: App, config: ISearchOption, element: Element, clo
<svg><use xlink:href="#iconLayoutRight"></use></svg>
</span>
<span class="fn__space"></span>
<span id="searchUnRef" aria-label="${window.siyuan.languages.unref}" class="block__icon block__icon--show ariaLabel" data-position="9bottom">
<span id="searchUnRef" aria-label="${window.siyuan.languages.listInvalidRefBlocks}" class="block__icon block__icon--show ariaLabel" data-position="9bottom">
<svg><use xlink:href="#iconLinkOff"></use></svg>
</span>
<span class="fn__space"></span>
Expand Down

0 comments on commit ca28272

Please sign in to comment.