Browse Source

add correct i18n for notifications menu

Jonathan Baird 5 years ago
parent
commit
f4d0791c6c
1 changed files with 4 additions and 4 deletions
  1. 4 4
      client/components/notifications/notificationsDrawer.jade

+ 4 - 4
client/components/notifications/notificationsDrawer.jade

@@ -2,10 +2,10 @@ template(name='notificationsDrawer')
   section#notifications-drawer(class="{{#if $.Session.get 'showReadNotifications'}}show-read{{/if}}")
   section#notifications-drawer(class="{{#if $.Session.get 'showReadNotifications'}}show-read{{/if}}")
     .header
     .header
       if $.Session.get 'showReadNotifications'
       if $.Session.get 'showReadNotifications'
-        a.toggle-read Filter by Unread
+        a.toggle-read {{_ 'filter-by-unread'}}
       else
       else
-        a.toggle-read View All
-      h5 Notifications
+        a.toggle-read {{_ 'view-all'}}
+      h5 {{_ 'notifications'}}
         if($gt unreadNotifications 0)
         if($gt unreadNotifications 0)
           |(#{unreadNotifications})
           |(#{unreadNotifications})
       a.fa.fa-times-thin.close
       a.fa.fa-times-thin.close
@@ -13,4 +13,4 @@ template(name='notificationsDrawer')
       each transformedProfile.notifications
       each transformedProfile.notifications
         +notification(activityData=activity index=dbIndex read=read)
         +notification(activityData=activity index=dbIndex read=read)
     if($gt unreadNotifications 0)
     if($gt unreadNotifications 0)
-      a.all-read Mark all as read
+      a.all-read {{_ 'mark-all-as-read'}}