Commit 86d01388 authored by Ezekiel Kigbo's avatar Ezekiel Kigbo Committed by Phil Hughes

Vue-i18n: app/assets/javascripts/issue_show directory

i18n linting for .vue files under the
app/assets/javascripts/issue_show directory
parent 058774ad
...@@ -73,7 +73,9 @@ export default { ...@@ -73,7 +73,9 @@ export default {
Save changes Save changes
<i v-if="formState.updateLoading" class="fa fa-spinner fa-spin" aria-hidden="true"> </i> <i v-if="formState.updateLoading" class="fa fa-spinner fa-spin" aria-hidden="true"> </i>
</button> </button>
<button class="btn btn-default float-right" type="button" @click="closeForm">Cancel</button> <button class="btn btn-default float-right" type="button" @click="closeForm">
{{ __('Cancel') }}
</button>
<button <button
v-if="shouldShowDeleteButton" v-if="shouldShowDeleteButton"
:class="{ disabled: deleteLoading }" :class="{ disabled: deleteLoading }"
......
...@@ -39,7 +39,7 @@ export default { ...@@ -39,7 +39,7 @@ export default {
<template> <template>
<div class="common-note-form"> <div class="common-note-form">
<label class="sr-only" for="issue-description"> Description </label> <label class="sr-only" for="issue-description">{{ __('Description') }}</label>
<markdown-field <markdown-field
:markdown-preview-path="markdownPreviewPath" :markdown-preview-path="markdownPreviewPath"
:markdown-docs-path="markdownDocsPath" :markdown-docs-path="markdownDocsPath"
...@@ -55,8 +55,8 @@ export default { ...@@ -55,8 +55,8 @@ export default {
qa-description-textarea" qa-description-textarea"
dir="auto" dir="auto"
data-supports-quick-actions="false" data-supports-quick-actions="false"
aria-label="Description" :aria-label="__('Description')"
placeholder="Write a comment or drag your files here…" :placeholder="__('Write a comment or drag your files here…')"
@keydown.meta.enter="updateIssuable" @keydown.meta.enter="updateIssuable"
@keydown.ctrl.enter="updateIssuable" @keydown.ctrl.enter="updateIssuable"
> >
......
...@@ -56,22 +56,31 @@ export default { ...@@ -56,22 +56,31 @@ export default {
data-selected="null" data-selected="null"
data-toggle="dropdown" data-toggle="dropdown"
> >
<span class="dropdown-toggle-text"> Choose a template </span> <span class="dropdown-toggle-text">{{ __('Choose a template') }}</span>
<i aria-hidden="true" class="fa fa-chevron-down"> </i> <i aria-hidden="true" class="fa fa-chevron-down"> </i>
</button> </button>
<div class="dropdown-menu dropdown-select"> <div class="dropdown-menu dropdown-select">
<div class="dropdown-title"> <div class="dropdown-title">
Choose a template Choose a template
<button class="dropdown-title-button dropdown-menu-close" aria-label="Close" type="button"> <button
class="dropdown-title-button dropdown-menu-close"
:aria-label="__('Close')"
type="button"
>
<i aria-hidden="true" class="fa fa-times dropdown-menu-close-icon"> </i> <i aria-hidden="true" class="fa fa-times dropdown-menu-close-icon"> </i>
</button> </button>
</div> </div>
<div class="dropdown-input"> <div class="dropdown-input">
<input type="search" class="dropdown-input-field" placeholder="Filter" autocomplete="off" /> <input
type="search"
class="dropdown-input-field"
:placeholder="__('Filter')"
autocomplete="off"
/>
<i aria-hidden="true" class="fa fa-search dropdown-input-search"> </i> <i aria-hidden="true" class="fa fa-search dropdown-input-search"> </i>
<i <i
role="button" role="button"
aria-label="Clear templates search input" :aria-label="__('Clear templates search input')"
class="fa fa-times dropdown-input-clear js-dropdown-input-clear" class="fa fa-times dropdown-input-clear js-dropdown-input-clear"
> >
</i> </i>
...@@ -79,8 +88,12 @@ export default { ...@@ -79,8 +88,12 @@ export default {
<div class="dropdown-content"></div> <div class="dropdown-content"></div>
<div class="dropdown-footer"> <div class="dropdown-footer">
<ul class="dropdown-footer-list"> <ul class="dropdown-footer-list">
<li><a class="no-template"> No template </a></li> <li>
<li><a class="reset-template"> Reset template </a></li> <a class="no-template">{{ __('No template') }}</a>
</li>
<li>
<a class="reset-template">{{ __('Reset template') }}</a>
</li>
</ul> </ul>
</div> </div>
</div> </div>
......
...@@ -14,7 +14,7 @@ export default { ...@@ -14,7 +14,7 @@ export default {
<template> <template>
<fieldset> <fieldset>
<label class="sr-only" for="issuable-title"> Title </label> <label class="sr-only" for="issuable-title">{{ __('Title') }}</label>
<input <input
id="issuable-title" id="issuable-title"
ref="input" ref="input"
...@@ -22,8 +22,8 @@ export default { ...@@ -22,8 +22,8 @@ export default {
class="form-control qa-title-input" class="form-control qa-title-input"
dir="auto" dir="auto"
type="text" type="text"
placeholder="Title" :placeholder="__('Title')"
aria-label="Title" :aria-label="__('Title')"
@keydown.meta.enter="updateIssuable" @keydown.meta.enter="updateIssuable"
@keydown.ctrl.enter="updateIssuable" @keydown.ctrl.enter="updateIssuable"
/> />
......
...@@ -10,8 +10,9 @@ export default { ...@@ -10,8 +10,9 @@ export default {
<template> <template>
<div class="alert alert-danger"> <div class="alert alert-danger">
Someone edited the issue at the same time you did. Please check out {{ sprintf(__("Someone edited the issue at the same time you did. Please check out
<a :href="currentPath" target="_blank" rel="nofollow">the issue</a> and make sure your changes %{linkStart}%the issue%{linkEnd} and make sure your changes will not unintentionally remove
will not unintentionally remove theirs. theirs."), { linkStart: `<a href="${currentPath}" target="_blank" rel="nofollow">` linkEnd: '</a
>', }) }}
</div> </div>
</template> </template>
...@@ -2064,6 +2064,9 @@ msgstr "" ...@@ -2064,6 +2064,9 @@ msgstr ""
msgid "Clear search input" msgid "Clear search input"
msgstr "" msgstr ""
msgid "Clear templates search input"
msgstr ""
msgid "Click any <strong>project name</strong> in the project list below to navigate to the project milestone." msgid "Click any <strong>project name</strong> in the project list below to navigate to the project milestone."
msgstr "" msgstr ""
...@@ -6665,6 +6668,9 @@ msgstr "" ...@@ -6665,6 +6668,9 @@ msgstr ""
msgid "No schedules" msgid "No schedules"
msgstr "" msgstr ""
msgid "No template"
msgstr ""
msgid "No, directly import the existing email addresses and usernames." msgid "No, directly import the existing email addresses and usernames."
msgstr "" msgstr ""
...@@ -8562,6 +8568,9 @@ msgstr "" ...@@ -8562,6 +8568,9 @@ msgstr ""
msgid "Reset runners registration token" msgid "Reset runners registration token"
msgstr "" msgstr ""
msgid "Reset template"
msgstr ""
msgid "Resolve all discussions in new issue" msgid "Resolve all discussions in new issue"
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