From d1f83d167e0efa4d732cec44afb239357bdc4474 Mon Sep 17 00:00:00 2001 From: Roopesh Chander Date: Mon, 28 Jan 2019 13:05:16 +0530 Subject: Persistent Keepalive detail should read 'every n seconds' Signed-off-by: Roopesh Chander --- WireGuard/WireGuard/UI/TunnelViewModel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'WireGuard/WireGuard/UI/TunnelViewModel.swift') diff --git a/WireGuard/WireGuard/UI/TunnelViewModel.swift b/WireGuard/WireGuard/UI/TunnelViewModel.swift index 9124a00..805e03d 100644 --- a/WireGuard/WireGuard/UI/TunnelViewModel.swift +++ b/WireGuard/WireGuard/UI/TunnelViewModel.swift @@ -252,7 +252,7 @@ class TunnelViewModel { scratchpad[.endpoint] = endpoint.stringRepresentation } if let persistentKeepAlive = config.persistentKeepAlive { - scratchpad[.persistentKeepAlive] = String(persistentKeepAlive) + scratchpad[.persistentKeepAlive] = tr(format: "tunnelPeerPersistentKeepaliveValue (%d)", persistentKeepAlive) } // TODO(roopc): These next 3 fields should be prettier // - bytes() in https://git.zx2c4.com/WireGuard/tree/src/tools/show.c#n185 -- cgit v1.2.3-59-g8ed1b