From 9d994f8a77c37e5a3f7c9e9a6ac7a67b69787f7f Mon Sep 17 00:00:00 2001 From: Alys Date: Sun, 5 Aug 2018 18:48:36 +1000 Subject: [PATCH] allow notification screen text to be translated (#10576) The `noNotifications` string was not being used so changing it for this purpose makes sense. Non-English users will see meaningful text even before the new text is translated. --- website/client/components/header/notificationsDropdown.vue | 4 ++-- website/common/locales/en/generic.json | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/website/client/components/header/notificationsDropdown.vue b/website/client/components/header/notificationsDropdown.vue index c7aa8772d4..458ad12b42 100644 --- a/website/client/components/header/notificationsDropdown.vue +++ b/website/client/components/header/notificationsDropdown.vue @@ -27,8 +27,8 @@ menu-dropdown.item-notifications(:right="true", @toggled="handleOpenStatusChange v-if="notificationsCount === 0" ) .svg-icon(v-html="icons.success") - h2 You're all caught up! - p The notification fairies give you a raucous round of applause! Well done! + h2 {{ $t('noNotifications') }} + p {{ $t('noNotificationsText') }}