ba250fe1a5
Signed-off-by: Alessio Nossa <alessio.nossa@gmail.com>
31 lines
1.9 KiB
Plaintext
31 lines
1.9 KiB
Plaintext
// SPDX-License-Identifier: MIT
|
|
// Copyright © 2018-2021 WireGuard LLC. All Rights Reserved.
|
|
|
|
// App Intents Common
|
|
"wireguardAppIntentsWrongTunnelError %@" = "Cannot find a tunnel with the name \"%1$@\"";
|
|
"wireguardAppIntentsMissingConfigurationError" = "The selected tunnel has no configuration.";
|
|
|
|
// Get peers Intent
|
|
"getPeersIntentName" = "Get Peers";
|
|
"getPeersIntentDescription" = "Get list of public keys of peers in the selected configuration";
|
|
"getPeersIntentTunnelParameterTitle" = "Tunnel";
|
|
"getPeersIntentSummary ${tunnelName}" = "Get peers of ${tunnelName}";
|
|
|
|
// Update configuration [Dictionary]
|
|
"updateConfigurationIntentName" = "Update Tunnel Configuration [Dictionary]";
|
|
"updateConfigurationIntentDescription" = "Update peers configuration. Configuration must be provided as a JSON object that has the peers public keys as dictionary's keys and a nested dictionary with with the fields to update a as velue, like the following example. The fields you can update are: \"Endpoint\".
|
|
The fields and the peers you omit will not be modified.
|
|
|
|
Example
|
|
{ \"Peer1_Public_Key_(Base64)\": { \"Endpoint\": \"1.2.3.4:4321\" },
|
|
\"Peer1_Public_Key_(Base64)\": { \"Endpoint\": \"10.11.12.13:6789\"} }
|
|
|
|
In the Shortcuts app, you can pass directly a Dictionary object.";
|
|
"updateConfigurationIntentTunnelParameterTitle" = "Tunnel";
|
|
"updateConfigurationIntentConfigurationParameterTitle" = "Configuration";
|
|
"updateConfigurationIntentSummary ${tunnelName}" = "Update ${tunnelName} configuration";
|
|
|
|
"updateConfigurationIntentInvalidConfigurationError" = "The configuration update provided is not in the right format. Make sure you pass configuration as described in Action description.";
|
|
"updateConfigurationIntentJsonDecodingError" = "The configuration update provided is not a valid JSON object. Make sure you pass configuration as described in Action description.";
|
|
"updateConfigurationIntentMalformedPublicKeyError %@" = "The key \"%1$@\" is not a valid Public Key encoded in Base64 format.";
|