diff options
Diffstat (limited to 'app/assets/javascripts/environments/components/environment_external_url.vue')
-rw-r--r-- | app/assets/javascripts/environments/components/environment_external_url.vue | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/app/assets/javascripts/environments/components/environment_external_url.vue b/app/assets/javascripts/environments/components/environment_external_url.vue index 793f7bf0681..b8def676e7d 100644 --- a/app/assets/javascripts/environments/components/environment_external_url.vue +++ b/app/assets/javascripts/environments/components/environment_external_url.vue @@ -18,22 +18,23 @@ export default { required: true, }, }, - computed: { - title() { - return s__('Environments|Open live environment'); - }, + i18n: { + title: s__('Environments|Open live environment'), + open: s__('Environments|Open'), }, }; </script> <template> <gl-button v-gl-tooltip - :title="title" - :aria-label="title" + :title="$options.i18n.title" + :aria-label="$options.i18n.title" :href="externalUrl" class="external-url" target="_blank" icon="external-link" rel="noopener noreferrer nofollow" - /> + > + {{ $options.i18n.open }} + </gl-button> </template> |