mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-13 05:39:59 +00:00
[search] removed the dot after 'No results matching' (#5904)
This commit is contained in:
@@ -283,7 +283,7 @@ class FileChooser extends React.Component {
|
||||
}
|
||||
|
||||
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) {
|
||||
|
@@ -445,7 +445,7 @@ export default class AISearch extends Component {
|
||||
<div className="item-name ellipsis">{gettext('Ask AI')}{': '}{this.state.value.trim()}</div>
|
||||
</div>
|
||||
</li>
|
||||
<div className="search-result-none">{gettext('No results matching.')}</div>
|
||||
<div className="search-result-none">{gettext('No results matching')}</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
@@ -422,7 +422,7 @@ class Search extends Component {
|
||||
return this.renderResults(resultItems);
|
||||
}
|
||||
else {
|
||||
return <div className="search-result-none">{gettext('No results matching.')}</div>;
|
||||
return <div className="search-result-none">{gettext('No results matching')}</div>;
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -190,7 +190,7 @@ class Search extends Component {
|
||||
}
|
||||
if (!this.state.resultItems.length) {
|
||||
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;
|
||||
|
Reference in New Issue
Block a user