From be9cbc4da4d4e193b297b48a29a53551017e3cc6 Mon Sep 17 00:00:00 2001 From: Benny Samir Hierl Date: Sat, 12 Feb 2022 22:36:39 +0100 Subject: [PATCH] fallback text for no wishlist Signed-off-by: Benny Samir Hierl --- src/config/locales/de-DE.json | 7 +++++++ src/config/locales/en-US.json | 7 +++++++ src/views/HomeView.vue | 12 +++++++++++- 3 files changed, 25 insertions(+), 1 deletion(-) diff --git a/src/config/locales/de-DE.json b/src/config/locales/de-DE.json index 4aa5dee..86c34e7 100644 --- a/src/config/locales/de-DE.json +++ b/src/config/locales/de-DE.json @@ -32,6 +32,13 @@ } } }, + "home-view": { + "main": { + "empty-list": { + "text": "Keine Wunschlisten verfügbar." + } + } + }, "detail-view": { "main": { "empty-list": { diff --git a/src/config/locales/en-US.json b/src/config/locales/en-US.json index 5c6c836..65029b2 100644 --- a/src/config/locales/en-US.json +++ b/src/config/locales/en-US.json @@ -32,6 +32,13 @@ } } }, + "home-view": { + "main": { + "empty-list": { + "text": "No wishlists available." + } + } + }, "detail-view": { "main": { "empty-list": { diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index e2cdde1..8822499 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -12,7 +12,10 @@ await fetch()

{{ t('common.app-title.text') }}

-
+
+
+
+ {{ t('pages.home-view.main.empty-list.text') }} +
+