summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/boards/index.js
diff options
context:
space:
mode:
authorBrandon Labuschagne <blabuschagne@gitlab.com>2019-05-01 15:02:06 +0000
committerClement Ho <clemmakesapps@gmail.com>2019-05-01 15:02:06 +0000
commit359bf84655e7b82dd99bea2b8924855aade63872 (patch)
tree3e0d60d85d7f0cc50a2cee832391169841b252c4 /app/assets/javascripts/boards/index.js
parent0f919c1a90ebd3ecbb691728c96324107c8f0187 (diff)
downloadgitlab-ce-359bf84655e7b82dd99bea2b8924855aade63872.tar.gz
Internationalisation of board directory
This is one of many MRs opened in order to improve the overall internationalisation of the GitLab codebase. i18n documentation https://docs.gitlab.com/ee/development/i18n/externalization.html
Diffstat (limited to 'app/assets/javascripts/boards/index.js')
-rw-r--r--app/assets/javascripts/boards/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/boards/index.js b/app/assets/javascripts/boards/index.js
index 009ae5dd331..4995a8d9367 100644
--- a/app/assets/javascripts/boards/index.js
+++ b/app/assets/javascripts/boards/index.js
@@ -123,7 +123,7 @@ export default () => {
this.loading = false;
})
.catch(() => {
- Flash('An error occurred while fetching the board lists. Please try again.');
+ Flash(__('An error occurred while fetching the board lists. Please try again.'));
});
},
methods: {
@@ -223,7 +223,7 @@ export default () => {
},
tooltipTitle() {
if (this.disabled) {
- return 'Please add a list to your board first';
+ return __('Please add a list to your board first');
}
return '';