Skip to content

Commit

Permalink
fix some zh-CN translate;
Browse files Browse the repository at this point in the history
Signed-off-by: Basuotian <basuoluomiu@gmail.com>
  • Loading branch information
basuotian committed Mar 28, 2023
1 parent 70eb261 commit f379613
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class SelectSearch extends React.Component<Props, State> {
const { Row, Col } = Grid;
const { Option } = Select;
const { registries } = this.props;
const queryPlaceholder = i18n.t('Search by name and description etc').toString();
const queryPlaceholder = i18n.t('Search by Name and Description etc').toString();
const { registryValue, inputValue } = this.state;

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ class SelectSearch extends React.Component<Props, State> {
const { projectValue, inputValue, envValue } = this.state;

const projectPlaceholder = i18n.t('Search by Project').toString();
const appPlaceholder = i18n.t('Search by name and description etc').toString();
const appPlaceholder = i18n.t('Search by Name and Description etc').toString();
const envPlaceholder = i18n.t('Search by Environment').toString();
const labelPlaceholder = i18n.t('Search by labels').toString();
const labelPlaceholder = i18n.t('Search by Label Selector').toString();
const projectSource = projects?.map((item) => {
return {
label: item.alias || item.name,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class InputSearch extends React.Component<Props, State> {
<Col span="24">
<Input
innerAfter={<AiOutlineSearch onClick={this.handleClickSearch} style={{ margin: 4 }} />}
placeholder={i18n.t('Search by name and description etc').toString()}
placeholder={i18n.t('Search by Name and Description etc').toString()}
onChange={this.handleChangName}
onPressEnter={this.handleClickSearch}
value={inputValue}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class SelectSearch extends React.Component<Props, State> {
const { projectValue, inputValue } = this.state;

const projectPlaceholder = i18n.t('Search by Project').toString();
const appPlaceholder = i18n.t('Search by name and description etc').toString();
const appPlaceholder = i18n.t('Search by Name and Description etc').toString();
const projectSource = projects?.map((item) => {
return {
label: item.alias || item.name,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ class SelectSearch extends React.Component<Props, State> {
<Select
hasClear
size="large"
placeholder={i18n.t('Search by labels').toString()}
placeholder={i18n.t('Search by Label Selector').toString()}
onChange={this.handleChangeLabel}
showSearch
mode="multiple"
Expand All @@ -181,7 +181,7 @@ class SelectSearch extends React.Component<Props, State> {
innerAfter={<Icon type="search" size="xs" onClick={this.handleClickSearch} style={{ margin: 4 }} />}
hasClear
size="large"
placeholder={i18n.t('Search by name and description etc')}
placeholder={i18n.t('Search by Name and Description etc')}
onChange={this.handleChangName}
onPressEnter={this.handleClickSearch}
value={inputValue}
Expand Down

0 comments on commit f379613

Please sign in to comment.