1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-12 13:24:52 +00:00

[search] removed the dot after 'No results matching' (#5904)

This commit is contained in:
llj
2024-01-31 13:29:42 +08:00
committed by GitHub
parent 1109091348
commit f5fdebe5bb
4 changed files with 4 additions and 4 deletions

View File

@@ -283,7 +283,7 @@ class FileChooser extends React.Component {
} }
if (this.state.isResultGot && this.state.searchResults.length === 0) { if (this.state.isResultGot && this.state.searchResults.length === 0) {
return (<div className="search-result-none text-center">{gettext('No results matching.')}</div>); return (<div className="search-result-none text-center">{gettext('No results matching')}</div>);
} }
if (this.state.isResultGot && this.state.searchResults.length > 0) { if (this.state.isResultGot && this.state.searchResults.length > 0) {

View File

@@ -445,7 +445,7 @@ export default class AISearch extends Component {
<div className="item-name ellipsis">{gettext('Ask AI')}{': '}{this.state.value.trim()}</div> <div className="item-name ellipsis">{gettext('Ask AI')}{': '}{this.state.value.trim()}</div>
</div> </div>
</li> </li>
<div className="search-result-none">{gettext('No results matching.')}</div> <div className="search-result-none">{gettext('No results matching')}</div>
</> </>
); );
} }

View File

@@ -422,7 +422,7 @@ class Search extends Component {
return this.renderResults(resultItems); return this.renderResults(resultItems);
} }
else { else {
return <div className="search-result-none">{gettext('No results matching.')}</div>; return <div className="search-result-none">{gettext('No results matching')}</div>;
} }
} }

View File

@@ -190,7 +190,7 @@ class Search extends Component {
} }
if (!this.state.resultItems.length) { if (!this.state.resultItems.length) {
return ( return (
<div className="search-result-none">{gettext('No results matching.')}</div> <div className="search-result-none">{gettext('No results matching')}</div>
); );
} }
const { resultItems, total } = this.state; const { resultItems, total } = this.state;