Skip to content

Commit

Permalink
Merge pull request #3319 from mzazrivec/missing_i18n_in_notif_drawer
Browse files Browse the repository at this point in the history
Fix missing i18n in notification drawer
(cherry picked from commit 50d1a9a)

https://bugzilla.redhat.com/show_bug.cgi?id=1552751
  • Loading branch information
martinpovolny authored and simaishi committed Mar 7, 2018
1 parent caee2ac commit 531f717
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,9 @@ function NotificationsDrawerCtrl($scope, eventNotifications, $timeout) {
eventNotifications.clearAll(group);
};

vm.customScope.unreadCountText = function(count) {
return sprintf(__("%d New"), count);
}

refresh();
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
%span.subheading-class
-# TODO: i18n
{{notificationGroup.unreadCount}} New
{{customScope.unreadCountText(notificationGroup.unreadCount)}}

0 comments on commit 531f717

Please sign in to comment.