diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-12-12 19:55:16 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-12-12 19:55:16 +0300 |
commit | 40d6edac49404290f773e83952e61fde0912245f (patch) | |
tree | 7ccaf5a9f5dfb30b374524216805788cab38719c /app/assets/javascripts | |
parent | ae4a04ea11ec22e30ca3f93db1abbccaddf7cdb7 (diff) |
Adds i18n
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r-- | app/assets/javascripts/pipelines/components/empty_state.vue | 7 | ||||
-rw-r--r-- | app/assets/javascripts/pipelines/pipelines_bundle.js | 3 |
2 files changed, 6 insertions, 4 deletions
diff --git a/app/assets/javascripts/pipelines/components/empty_state.vue b/app/assets/javascripts/pipelines/components/empty_state.vue index 465e02cbafe..78322f30685 100644 --- a/app/assets/javascripts/pipelines/components/empty_state.vue +++ b/app/assets/javascripts/pipelines/components/empty_state.vue @@ -23,18 +23,17 @@ <div class="col-xs-12"> <div class="text-content"> <h4 class="text-center"> - Build with confidence + {{ s__("Pipelines|Build with confidence") }} </h4> <p> - Continous Integration can help catch bugs by running your tests automatically, - while Continuous Deployment can help you deliver code to your product environment. + {{ s__("Pipelines|Continous Integration can help catch bugs by running your tests automatically, while Continuous Deployment can help you deliver code to your product environment.") }} </p> <div class="text-center"> <a :href="helpPagePath" class="btn btn-info" > - Get started with Pipelines + {{ s__("Pipelines|Get started with Pipelines") }} </a> </div> </div> diff --git a/app/assets/javascripts/pipelines/pipelines_bundle.js b/app/assets/javascripts/pipelines/pipelines_bundle.js index 923d9bfb248..3e4b6eeb5bf 100644 --- a/app/assets/javascripts/pipelines/pipelines_bundle.js +++ b/app/assets/javascripts/pipelines/pipelines_bundle.js @@ -1,6 +1,9 @@ import Vue from 'vue'; import PipelinesStore from './stores/pipelines_store'; import pipelinesComponent from './components/pipelines.vue'; +import Translate from '../vue_shared/translate'; + +Vue.use(Translate); document.addEventListener('DOMContentLoaded', () => new Vue({ el: '#pipelines-list-vue', |