Skip to content

Commit

Permalink
Fix missing i18n in notification drawer
Browse files Browse the repository at this point in the history
  • Loading branch information
mzazrivec committed Jan 25, 2018
1 parent 190984f commit 2443bdd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
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();
}
@@ -1,3 +1,2 @@
%span.subheading-class
-# TODO: i18n
{{notificationGroup.unreadCount}} New
{{customScope.unreadCountText(notificationGroup.unreadCount)}}

0 comments on commit 2443bdd

Please sign in to comment.