BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
6195e0a7
Commit
6195e0a7
authored
May 06, 2018
by
Dennis Tang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
translate properly
parent
68aa7969
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
actions.js
...ascripts/projects/gke_cluster_dropdowns/stores/actions.js
+10
-4
No files found.
app/assets/javascripts/projects/gke_cluster_dropdowns/stores/actions.js
View file @
6195e0a7
/* global gapi */
import
Flash
from
'~/flash'
;
import
{
sprintf
}
from
'~/locale'
;
import
{
s
__
,
s
printf
}
from
'~/locale'
;
import
*
as
types
from
'./mutation_types'
;
import
eventHub
from
'../eventhub'
;
...
...
@@ -37,7 +37,9 @@ export const getProjects = ({ commit }) =>
if
(
resp
.
result
.
error
)
{
Flash
(
sprintf
(
'ClusterIntegration|An error occured while trying to fetch your projects: %{error}'
,
s__
(
'ClusterIntegration|An error occured while trying to fetch your projects: %{error}'
,
),
{
error
:
resp
.
result
.
error
.
message
,
},
...
...
@@ -66,7 +68,9 @@ export const getZones = ({ commit, state }) =>
if
(
resp
.
result
.
error
)
{
Flash
(
sprintf
(
'ClusterIntegration|An error occured while trying to fetch project zones: %{error}'
,
s__
(
'ClusterIntegration|An error occured while trying to fetch project zones: %{error}'
,
),
{
error
:
resp
.
result
.
error
.
message
},
),
);
...
...
@@ -94,7 +98,9 @@ export const getMachineTypes = ({ commit, state }) =>
if
(
resp
.
result
.
error
)
{
Flash
(
sprintf
(
'ClusterIntegration|An error occured while trying to fetch zone machine types: %{error}'
,
s__
(
'ClusterIntegration|An error occured while trying to fetch zone machine types: %{error}'
,
),
{
error
:
resp
.
result
.
error
.
message
},
),
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment