Commit 8b9b3b97 authored by Brandon Labuschagne's avatar Brandon Labuschagne

I18N EE JS boards index file

This is one of many MRs opened in order to improve the overall
internationalisation of the GitLab codebase.

This commit only targets Vanilla JS files.

i18n documentation
https://docs.gitlab.com/ee/development/i18n/externalization.html
parent 0befc8b8
...@@ -2,7 +2,7 @@ import $ from 'jquery'; ...@@ -2,7 +2,7 @@ import $ from 'jquery';
import Vue from 'vue'; import Vue from 'vue';
import Flash from '~/flash'; import Flash from '~/flash';
import { __ } from '~/locale'; import { s__, __ } from '~/locale';
import '~/vue_shared/models/label'; import '~/vue_shared/models/label';
import '~/vue_shared/models/assignee'; import '~/vue_shared/models/assignee';
...@@ -235,7 +235,7 @@ export default () => { ...@@ -235,7 +235,7 @@ export default () => {
}, },
computed: { computed: {
buttonText() { buttonText() {
return this.canAdminList ? 'Edit board' : 'View scope'; return this.canAdminList ? s__('Boards|Edit board') : s__('Boards|View scope');
}, },
tooltipTitle() { tooltipTitle() {
return this.hasScope ? __("This board's scope is reduced") : ''; return this.hasScope ? __("This board's scope is reduced") : '';
......
...@@ -1956,6 +1956,12 @@ msgstr "" ...@@ -1956,6 +1956,12 @@ msgstr ""
msgid "Boards" msgid "Boards"
msgstr "" msgstr ""
msgid "Boards|Edit board"
msgstr ""
msgid "Boards|View scope"
msgstr ""
msgid "Branch %{branchName} was not found in this project's repository." msgid "Branch %{branchName} was not found in this project's repository."
msgstr "" msgstr ""
...@@ -11959,6 +11965,12 @@ msgstr "" ...@@ -11959,6 +11965,12 @@ msgstr ""
msgid "Sign-up restrictions" msgid "Sign-up restrictions"
msgstr "" msgstr ""
msgid "SignUp|Name is too long (maximum is %{max_length} characters)."
msgstr ""
msgid "SignUp|Username is too long (maximum is %{max_length} characters)."
msgstr ""
msgid "Signed in" msgid "Signed in"
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