Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
848bcc8b117d
Commit
bec617c0
authored
Jan 31, 2018
by
Clement Ho
Browse files
Remove namespaced internationalization import
parent
da5eba324ae2
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/assets/javascripts/awards_handler.js
View file @
848bcc8b
/* eslint-disable class-methods-use-this */
import
_
from
'
underscore
'
;
import
Cookies
from
'
js-cookie
'
;
import
{
s
__
}
from
'
./locale
'
;
import
{
__
}
from
'
./locale
'
;
import
{
isInIssuePage
,
updateTooltipTitle
}
from
'
./lib/utils/common_utils
'
;
import
flash
from
'
./flash
'
;
import
axios
from
'
./lib/utils/axios_utils
'
;
...
...
@@ -451,7 +451,7 @@ class AwardsHandler {
callback
();
}
})
.
catch
(()
=>
flash
(
s
__
(
'
Something went wrong on our end.
'
)));
.
catch
(()
=>
flash
(
__
(
'
Something went wrong on our end.
'
)));
}
}
...
...
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