Skip to content

Commit

Permalink
fix(ui): Task parameter close label
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Chau committed Mar 28, 2018
1 parent 100a12e commit 0a53836
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/@vue/cli-ui/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,8 @@
"project-task-details": {
"actions": {
"play": "Run task",
"stop": "Stop task"
"stop": "Stop task",
"close": "Close"
},
"command": "Script command",
"parameters": "Parameters",
Expand Down
3 changes: 2 additions & 1 deletion packages/@vue/cli-ui/src/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,8 @@
"project-task-details": {
"actions": {
"play": "Lancer la tâche",
"stop": "Arrêter la tâche"
"stop": "Arrêter la tâche",
"close": "Fermer"
},
"command": "Commande de script",
"parameters": "Paramètres",
Expand Down
6 changes: 5 additions & 1 deletion packages/@vue/cli-ui/src/views/ProjectTaskDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,11 @@
</div>

<div slot="footer" class="actions">
<VueButton class="primary" @click="showParameters = false">Close</VueButton>
<VueButton
class="primary"
:label="$t('views.project-task-details.actions.close')"
@click="showParameters = false"
/>
</div>
</VueModal>
</div>
Expand Down

0 comments on commit 0a53836

Please sign in to comment.