Skip to content

Commit 600d3d3

Browse files
authored
[i18n] fix non-translated formatted string in the search page (sphinx-doc#12215)
1 parent f7a1397 commit 600d3d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sphinx/themes/basic/static/searchtools.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ const _finishSearch = (resultCount) => {
116116
);
117117
else
118118
Search.status.innerText = _(
119-
`Search finished, found ${resultCount} page(s) matching the search query.`
120-
);
119+
"Search finished, found ${resultCount} page(s) matching the search query."
120+
).replace('${resultCount}', resultCount);
121121
};
122122
const _displayNextItem = (
123123
results,

0 commit comments

Comments
 (0)