mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
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.
This commit is contained in:
@@ -27,8 +27,8 @@ menu-dropdown.item-notifications(:right="true", @toggled="handleOpenStatusChange
|
|||||||
v-if="notificationsCount === 0"
|
v-if="notificationsCount === 0"
|
||||||
)
|
)
|
||||||
.svg-icon(v-html="icons.success")
|
.svg-icon(v-html="icons.success")
|
||||||
h2 You're all caught up!
|
h2 {{ $t('noNotifications') }}
|
||||||
p The notification fairies give you a raucous round of applause! Well done!
|
p {{ $t('noNotificationsText') }}
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang='scss' scoped>
|
<style lang='scss' scoped>
|
||||||
|
|||||||
@@ -126,7 +126,8 @@
|
|||||||
"error": "Error",
|
"error": "Error",
|
||||||
"menu": "Menu",
|
"menu": "Menu",
|
||||||
"notifications": "Notifications",
|
"notifications": "Notifications",
|
||||||
"noNotifications": "You have no notifications.",
|
"noNotifications": "You're all caught up!",
|
||||||
|
"noNotificationsText": "The notification fairies give you a raucous round of applause! Well done!",
|
||||||
"clear": "Clear",
|
"clear": "Clear",
|
||||||
"endTour": "End Tour",
|
"endTour": "End Tour",
|
||||||
"audioTheme": "Audio Theme",
|
"audioTheme": "Audio Theme",
|
||||||
|
|||||||
Reference in New Issue
Block a user