Skip to content

Commit

Permalink
fix(ui): tasks id + locale
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Chau committed Mar 17, 2018
1 parent 5a80c24 commit 8e3198d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/@vue/cli-ui/src/graphql-api/connectors/tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function list (context) {
if (pkg.scripts) {
tasks = Object.keys(pkg.scripts).map(
name => ({
id: `${file}${name}`,
id: `${file}:${name}`,
name,
command: pkg.scripts[name],
status: 'idle'
Expand Down
3 changes: 1 addition & 2 deletions packages/@vue/cli-ui/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,7 @@
"title": "Project configuration"
},
"project-tasks": {
"title": "Project tasks",
"heading": "Scripts"
"title": "Project tasks"
}
}
}
10 changes: 10 additions & 0 deletions packages/@vue/cli-ui/src/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,16 @@
"plugin-update": "Mise à jour de {arg0}..."
}
},
"types": {
"task": {
"status": {
"idle": "A l'arrêt",
"running": "En cours",
"done": "Terminée",
"error": "Erreur"
}
}
},
"views": {
"project-select": {
"title": "Gestion des Projets Vue",
Expand Down

0 comments on commit 8e3198d

Please sign in to comment.