Skip to content

Commit

Permalink
fix: fix devops inaccurate copywriting
Browse files Browse the repository at this point in the history
  • Loading branch information
ymh1028 committed Dec 12, 2019
1 parent e610485 commit 0164d83
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion server/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ client:
children:
- { name: base-info, title: Basic Info, skipAuth: true }
- { name: credentials, title: Credentials }
- { name: roles, title: Project Roles }
- { name: roles, title: DEVOPS_PROJECT_ROLES }
- { name: members, title: DEVOPS_PROJECT_MEMBERS }

# system workspace rules control
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,18 +149,12 @@ export default class ImageSearch extends React.Component {

if (isObject(this.selectedImage)) {
if (this.selectedImage.status === 'failed') {
const image = get(
this.props.formTemplate,
'metadata.annotations["kubesphere.io/imageName"]'
)
return (
<div
className={classnames(styles.selectedContent, styles.emptyContent)}
>
<Icon name="docker" className={styles.icon} />
<p className={styles.desc}>
{t('Not found this image')} > {image}
</p>
<p className={styles.desc}>{t('Not found this image')}</p>
</div>
)
}
Expand Down
1 change: 1 addition & 0 deletions src/locales/zh/devops.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export default {
'DevOps BaseInfo': '基本信息',
DEVOPS_PROJECT_MANAGEMENT: '工程管理',
DEVOPS_PROJECT_MEMBERS: '工程成员',
DEVOPS_PROJECT_ROLES: '工程角色',

Manager: '管理员',
'DevOps Project Manager': 'DevOps 工程管理员',
Expand Down

0 comments on commit 0164d83

Please sign in to comment.