Skip to content
Snippets Groups Projects
Commit ee72dc1b authored by Clement Ho's avatar Clement Ho
Browse files

Merge branch 'localize-notification-dropdown' into 'master'

Localize notifications dropdown

Closes gitlab-ee#10686

See merge request gitlab-org/gitlab-ce!26844
parents b39209f3 6e61a6a7
No related branches found
No related tags found
No related merge requests found
import $ from 'jquery';
import Flash from './flash';
import { __ } from '~/locale';
 
export default function notificationsDropdown() {
$(document).on('click', '.update-notification', function updateNotificationCallback(e) {
Loading
Loading
@@ -27,7 +28,7 @@ export default function notificationsDropdown() {
.closest('.js-notification-dropdown')
.replaceWith(data.html);
} else {
Flash('Failed to save new settings', 'alert');
Flash(__('Failed to save new settings'), 'alert');
}
});
}
---
title: Localize notifications dropdown
merge_request: 26844
author:
type: changed
Loading
Loading
@@ -3595,6 +3595,9 @@ msgstr ""
msgid "Failed to remove user key."
msgstr ""
 
msgid "Failed to save new settings"
msgstr ""
msgid "Failed to update issues, please try again."
msgstr ""
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment