Persistent Keepalive detail should read 'every n seconds'
This commit is contained in:
parent
df7bdc0baa
commit
69fddfa1f8
|
@ -93,6 +93,8 @@
|
||||||
"tunnelEditPlaceholderTextStronglyRecommended" = "Strongly recommended";
|
"tunnelEditPlaceholderTextStronglyRecommended" = "Strongly recommended";
|
||||||
"tunnelEditPlaceholderTextOff" = "Off";
|
"tunnelEditPlaceholderTextOff" = "Off";
|
||||||
|
|
||||||
|
"tunnelPeerPersistentKeepaliveValue (%d)" = "every %d seconds";
|
||||||
|
|
||||||
// Error alerts while creating / editing a tunnel configuration
|
// Error alerts while creating / editing a tunnel configuration
|
||||||
|
|
||||||
/* Alert title for error in the interface data */
|
/* Alert title for error in the interface data */
|
||||||
|
|
|
@ -252,7 +252,7 @@ class TunnelViewModel {
|
||||||
scratchpad[.endpoint] = endpoint.stringRepresentation
|
scratchpad[.endpoint] = endpoint.stringRepresentation
|
||||||
}
|
}
|
||||||
if let persistentKeepAlive = config.persistentKeepAlive {
|
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
|
// TODO(roopc): These next 3 fields should be prettier
|
||||||
// - bytes() in https://git.zx2c4.com/WireGuard/tree/src/tools/show.c#n185
|
// - bytes() in https://git.zx2c4.com/WireGuard/tree/src/tools/show.c#n185
|
||||||
|
|
Loading…
Reference in New Issue