From fcf290573aa612e23d60c298b0c63841942500b3 Mon Sep 17 00:00:00 2001 From: Zlatin Balevsky Date: Fri, 5 Aug 2022 00:13:47 +0100 Subject: [PATCH] translate link label properly --- .../groovy/com/muwire/gui/chat/CollectionLinkLabel.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/src/main/groovy/com/muwire/gui/chat/CollectionLinkLabel.groovy b/gui/src/main/groovy/com/muwire/gui/chat/CollectionLinkLabel.groovy index 4fe1ecbd..950f4a3d 100644 --- a/gui/src/main/groovy/com/muwire/gui/chat/CollectionLinkLabel.groovy +++ b/gui/src/main/groovy/com/muwire/gui/chat/CollectionLinkLabel.groovy @@ -18,7 +18,7 @@ class CollectionLinkLabel extends MuLinkLabel { StringBuffer sb = new StringBuffer() SizeFormatter.format(link.totalSize, sb) - return HTMLSanitizer.escape(link.name) + " (" + link.numFiles + " files " + - sb.toString() + trans("BYTES_SHORT") + ")" + return HTMLSanitizer.escape(link.name) + " (" + link.numFiles + " " + trans("FILES") + + " " + sb.toString() + trans("BYTES_SHORT") + ")" } }