From 40d74fa779bbb079e844f9644d7677b06103b8f3 Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 6 Nov 2022 08:27:00 +0000 Subject: fix case and german translation string --- Zotlabs/Lib/ThreadItem.php | 4 ++-- view/de-de/hstrings.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php index 6ca952969..e86e2cac1 100644 --- a/Zotlabs/Lib/ThreadItem.php +++ b/Zotlabs/Lib/ThreadItem.php @@ -358,8 +358,8 @@ class ThreadItem { if($conv->get_mode() === 'channel') $viewthread = z_root() . '/channel/' . $owner_address . '?f=&mid=' . urlencode(gen_link_id($item['mid'])); - $comment_count_txt = sprintf( tt('%d comment','%d comments',$total_children),$total_children ); - $list_unseen_txt = (($unseen_comments) ? sprintf( t('%d unseen'),$unseen_comments) : ''); + $comment_count_txt = sprintf(tt('%d Comment', '%d Comments', $total_children), $total_children); + $list_unseen_txt = (($unseen_comments) ? sprintf(t('%d unseen'), $unseen_comments) : ''); $children = $this->get_children(); diff --git a/view/de-de/hstrings.php b/view/de-de/hstrings.php index 79fb84bf4..656972454 100644 --- a/view/de-de/hstrings.php +++ b/view/de-de/hstrings.php @@ -3432,11 +3432,11 @@ App::$strings["Reply on this comment"] = "Antworte auf diesen Kommentar"; App::$strings["reply"] = "antworten"; App::$strings["Reply to"] = "Antwort an"; App::$strings["Delivery Report"] = "Zustellungsbericht"; -App::$strings["%d comment"] = array( +App::$strings["%d Comment"] = array( 0 => "%d Kommentar", 1 => "%d Kommentare", ); -App::$strings["%d unseen"] = "1%d ungelesen"; +App::$strings["%d unseen"] = "%d ungelesen"; App::$strings["Forum"] = "Forum"; App::$strings["to"] = "an"; App::$strings["Wall-to-Wall"] = "Wall-to-Wall"; -- cgit v1.2.3