Commit 5bb9a78d authored by Phil Hughes's avatar Phil Hughes

added missing i18n methods & aria-hidden

removed console.log 🙈
parent 898cf02e
...@@ -51,13 +51,13 @@ ...@@ -51,13 +51,13 @@
</radio-group> </radio-group>
<radio-group <radio-group
:value="$options.commitToNewBranch" :value="$options.commitToNewBranch"
label="Create a new branch" :label="__('Create a new branch')"
:show-input="true" :show-input="true"
:help-text="commitToNewBranchText" :help-text="commitToNewBranchText"
/> />
<radio-group <radio-group
:value="$options.commitToNewBranchMR" :value="$options.commitToNewBranchMR"
label="Create a new branch and merge request" :label="__('Create a new branch and merge request')"
:show-input="true" :show-input="true"
:help-text="newMergeRequestHelpText" :help-text="newMergeRequestHelpText"
/> />
......
...@@ -71,7 +71,11 @@ ...@@ -71,7 +71,11 @@
class="help-block inline" class="help-block inline"
:title="helpText" :title="helpText"
> >
<i class="fa fa-question-circle"></i> <i
class="fa fa-question-circle"
aria-hidden="true"
>
</i>
</span> </span>
</span> </span>
</label> </label>
......
...@@ -146,7 +146,6 @@ export const commitChanges = ({ commit, state, getters, dispatch, rootState }) = ...@@ -146,7 +146,6 @@ export const commitChanges = ({ commit, state, getters, dispatch, rootState }) =
} }
}) })
.catch((err) => { .catch((err) => {
console.log(err);
let errMsg = __('Error committing changes. Please try again.'); let errMsg = __('Error committing changes. Please try again.');
if (err.response.data && err.response.data.message) { if (err.response.data && err.response.data.message) {
errMsg += ` (${stripHtml(err.response.data.message)})`; errMsg += ` (${stripHtml(err.response.data.message)})`;
......
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