From 83fce5d8a1f94160bbcb96759f7427d70c7823c8 Mon Sep 17 00:00:00 2001
From: Wladimir Palant <374261+palant@users.noreply.github.com>
Date: Wed, 23 Oct 2024 14:51:28 +0200
Subject: [PATCH] fix(i18n): Allowed translating "No posts here" text (#3016)
---
components/timeline/TimelinePaginator.vue | 2 +-
locales/de-DE.json | 1 +
locales/en.json | 1 +
3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/components/timeline/TimelinePaginator.vue b/components/timeline/TimelinePaginator.vue
index 0f03d444..c9a400a8 100644
--- a/components/timeline/TimelinePaginator.vue
+++ b/components/timeline/TimelinePaginator.vue
@@ -55,7 +55,7 @@ const showOriginSite = computed(() =>
{{ $t('menu.open_in_original_site') }}
- No posts here!
+ {{ $t('timeline.no_posts') }}
diff --git a/locales/de-DE.json b/locales/de-DE.json
index 79494413..eea6165a 100644
--- a/locales/de-DE.json
+++ b/locales/de-DE.json
@@ -705,6 +705,7 @@
"year_past": "vor 0 Jahren|letztes Jahren|vor {n} Jahren"
},
"timeline": {
+ "no_posts": "Noch keine Beiträge hier!",
"show_new_items": "Zeige {v} neue Beiträge|Zeige {v} neuen Beitrag|Zeige {v} neue Beiträge",
"view_older_posts": "Ältere Beiträge aus anderen Instanzen werden möglicherweise nicht angezeigt."
},
diff --git a/locales/en.json b/locales/en.json
index 77bc9708..f498f5a8 100644
--- a/locales/en.json
+++ b/locales/en.json
@@ -713,6 +713,7 @@
"year_past": "0 years ago|last year|{n} years ago"
},
"timeline": {
+ "no_posts": "No posts here!",
"show_new_items": "Show {v} new items|Show {v} new item|Show {v} new items",
"view_older_posts": "Older posts from other instances may not be displayed."
},