Persistent Keepalive detail should read 'every n seconds'
Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
parent
a796c6c485
commit
d1f83d167e
|
@ -93,6 +93,8 @@
|
|||
"tunnelEditPlaceholderTextStronglyRecommended" = "Strongly recommended";
|
||||
"tunnelEditPlaceholderTextOff" = "Off";
|
||||
|
||||
"tunnelPeerPersistentKeepaliveValue (%d)" = "every %d seconds";
|
||||
|
||||
// Error alerts while creating / editing a tunnel configuration
|
||||
|
||||
/* Alert title for error in the interface data */
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue