aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/conf
diff options
context:
space:
mode:
authorSimon Rozman <simon@rozman.si>2020-02-27 08:58:40 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-03-15 14:49:27 -0600
commitc5d626821553c4c98e739170a2c84a410c1673bd (patch)
tree9067de44688ee843845ddec98fd9b2d24e204c1d /conf
parentl18n: fix Japanese translation and generate zgotext.go (diff)
downloadwireguard-windows-c5d626821553c4c98e739170a2c84a410c1673bd.tar.xz
wireguard-windows-c5d626821553c4c98e739170a2c84a410c1673bd.zip
l18n: disambiguate enumeration and unit concatenation separators
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 <tanioka404@gmail.com> Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'conf')
-rw-r--r--conf/config.go2
1 files changed, 1 insertions, 1 deletions
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)
}