Commit 5f11db2b authored by Mike Greiling's avatar Mike Greiling

Merge branch 'vue-i18n-js-clusters-directory-ee' into 'master'

EE Port: Vue-i18n: app/assets/javascripts/clusters/ directory

See merge request gitlab-org/gitlab-ee!14330
parents e7a6963d 1028a7e9
...@@ -207,7 +207,7 @@ export default { ...@@ -207,7 +207,7 @@ export default {
return __('Updating'); return __('Updating');
} }
return __('Updated'); return this.updateSuccessful ? __('Updated to') : __('Updated');
}, },
updateFailureDescription() { updateFailureDescription() {
return s__('ClusterIntegration|Update failed. Please check the logs and try again.'); return s__('ClusterIntegration|Update failed. Please check the logs and try again.');
...@@ -331,8 +331,6 @@ export default { ...@@ -331,8 +331,6 @@ export default {
class="form-text text-muted label p-0 js-cluster-application-update-details" class="form-text text-muted label p-0 js-cluster-application-update-details"
> >
{{ versionLabel }} {{ versionLabel }}
<span v-if="updateSuccessful">to</span>
<gl-link <gl-link
v-if="updateSuccessful" v-if="updateSuccessful"
:href="chartRepo" :href="chartRepo"
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
import LoadingButton from '~/vue_shared/components/loading_button.vue'; import LoadingButton from '~/vue_shared/components/loading_button.vue';
import ClipboardButton from '../../vue_shared/components/clipboard_button.vue'; import ClipboardButton from '../../vue_shared/components/clipboard_button.vue';
import { GlLoadingIcon } from '@gitlab/ui'; import { GlLoadingIcon } from '@gitlab/ui';
import { s__ } from '~/locale'; import { __, s__ } from '~/locale';
import { APPLICATION_STATUS } from '~/clusters/constants'; import { APPLICATION_STATUS } from '~/clusters/constants';
...@@ -32,7 +32,7 @@ export default { ...@@ -32,7 +32,7 @@ export default {
return [UPDATING].includes(this.knative.status); return [UPDATING].includes(this.knative.status);
}, },
saveButtonLabel() { saveButtonLabel() {
return this.saving ? this.__('Saving') : this.__('Save changes'); return this.saving ? __('Saving') : __('Save changes');
}, },
knativeInstalled() { knativeInstalled() {
return this.knative.installed; return this.knative.installed;
...@@ -122,9 +122,9 @@ export default { ...@@ -122,9 +122,9 @@ export default {
`ClusterIntegration|To access your application after deployment, point a wildcard DNS to the Knative Endpoint.`, `ClusterIntegration|To access your application after deployment, point a wildcard DNS to the Knative Endpoint.`,
) )
}} }}
<a :href="ingressDnsHelpPath" target="_blank" rel="noopener noreferrer"> <a :href="ingressDnsHelpPath" target="_blank" rel="noopener noreferrer">{{
{{ __('More information') }} __('More information')
</a> }}</a>
</p> </p>
<p <p
......
<script> <script>
import LoadingButton from '~/vue_shared/components/loading_button.vue'; import LoadingButton from '~/vue_shared/components/loading_button.vue';
import { APPLICATION_STATUS } from '~/clusters/constants'; import { APPLICATION_STATUS } from '~/clusters/constants';
import { __ } from '~/locale';
const { UPDATING, UNINSTALLING } = APPLICATION_STATUS; const { UPDATING, UNINSTALLING } = APPLICATION_STATUS;
...@@ -22,7 +23,7 @@ export default { ...@@ -22,7 +23,7 @@ export default {
return this.status === UNINSTALLING; return this.status === UNINSTALLING;
}, },
label() { label() {
return this.loading ? this.__('Uninstalling') : this.__('Uninstall'); return this.loading ? __('Uninstalling') : __('Uninstall');
}, },
}, },
}; };
......
...@@ -11780,6 +11780,9 @@ msgstr "" ...@@ -11780,6 +11780,9 @@ msgstr ""
msgid "Save variables" msgid "Save variables"
msgstr "" msgstr ""
msgid "Saving"
msgstr ""
msgid "Saving project." msgid "Saving project."
msgstr "" msgstr ""
...@@ -14623,6 +14626,12 @@ msgstr "" ...@@ -14623,6 +14626,12 @@ msgstr ""
msgid "Unfortunately, your email message to GitLab could not be processed." msgid "Unfortunately, your email message to GitLab could not be processed."
msgstr "" msgstr ""
msgid "Uninstall"
msgstr ""
msgid "Uninstalling"
msgstr ""
msgid "Unknown" msgid "Unknown"
msgstr "" msgstr ""
...@@ -14740,6 +14749,9 @@ msgstr "" ...@@ -14740,6 +14749,9 @@ msgstr ""
msgid "Updated %{updated_at} by %{updated_by}" msgid "Updated %{updated_at} by %{updated_by}"
msgstr "" msgstr ""
msgid "Updated to"
msgstr ""
msgid "Updating" msgid "Updating"
msgstr "" msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment