diff --git a/locales/en/l10n-projects-imageBuilders-details.js b/locales/en/l10n-projects-imageBuilders-details.js index 90c2df24e33..4b26f284132 100644 --- a/locales/en/l10n-projects-imageBuilders-details.js +++ b/locales/en/l10n-projects-imageBuilders-details.js @@ -21,7 +21,6 @@ module.exports = { COPIED_SUCCESSFUL: 'Copied successfully.', BUILDER_IMAGE: 'Builder Image', PULL_POLICY: 'Pull Policy', - SOURCE_URL: 'Source URL', REMOTE_TRIGGER: 'Remote Trigger', // Run NEW_TAG_DESC: 'enter tag of the new image', diff --git a/locales/en/l10n-projects-imageBuilders-list.js b/locales/en/l10n-projects-imageBuilders-list.js index af41b483eca..7fc58568e7d 100644 --- a/locales/en/l10n-projects-imageBuilders-list.js +++ b/locales/en/l10n-projects-imageBuilders-list.js @@ -23,6 +23,9 @@ module.exports = { // List IMAGE_BUILDER_EMPTY_DESC: 'Please create an image builder.', NOT_RUNNING_YET: 'Not run yet', + BUILDING: 'Building', + S2I: 'Source-to-image', + B2I: 'Artifact-to-image', // List > Name (Displayed after you create a service from artifact) BUILD_IMAGE_FOR_SERVICE: 'Build image for service {service}.', // List > Create > Build Mode diff --git a/src/pages/projects/containers/ImageBuilder/Detail/index.jsx b/src/pages/projects/containers/ImageBuilder/Detail/index.jsx index 2a40ad72001..77a514c1834 100644 --- a/src/pages/projects/containers/ImageBuilder/Detail/index.jsx +++ b/src/pages/projects/containers/ImageBuilder/Detail/index.jsx @@ -187,7 +187,7 @@ export default class ImageBuilderDetail extends React.Component { value: get(spec, 'config.builderPullPolicy', '-'), }, { - name: t('SOURCE_URL'), + name: t('CODE_REPOSITORY_URL'), value: isBinaryURL ? ( {binaryName} diff --git a/src/pages/projects/containers/ImageBuilder/index.jsx b/src/pages/projects/containers/ImageBuilder/index.jsx index 77092c88762..5984fe746c0 100644 --- a/src/pages/projects/containers/ImageBuilder/index.jsx +++ b/src/pages/projects/containers/ImageBuilder/index.jsx @@ -121,7 +121,7 @@ export default class ImageBuilders extends React.Component { _status = _status === 'Running' ? 'Building' : _status return ( @@ -133,7 +133,7 @@ export default class ImageBuilders extends React.Component { dataIndex: 'type', isHideable: true, width: '15%', - render: type => t(type), + render: type => t(type.toUpperCase()), }, { title: t('SERVICE'),