From c5d626821553c4c98e739170a2c84a410c1673bd Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Thu, 27 Feb 2020 08:58:40 +0100 Subject: l18n: disambiguate enumeration and unit concatenation separators MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In Japanese, "1分、5秒 前" is a little strange. It should be "1分 5秒 前". After consulting Slovenian linguist, I've learned the same applies to Slovenian as well. Reported-by: Eiji Tanioka Signed-off-by: Simon Rozman --- conf/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'conf') diff --git a/conf/config.go b/conf/config.go index f4d8478a..9f5dbcc1 100644 --- a/conf/config.go +++ b/conf/config.go @@ -170,7 +170,7 @@ func (t HandshakeTime) String() string { if seconds > 0 { s = append(s, l18n.Sprintf("%d second(s)", seconds)) } - timestamp := strings.Join(s, l18n.EnumerationSeparator()) + timestamp := strings.Join(s, l18n.UnitSeparator()) return l18n.Sprintf("%s ago", timestamp) } -- cgit v1.2.3-59-g8ed1b