From 2e8d566bd42ac747ad276eb5e328ee2303c48c26 Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Sat, 15 Dec 2018 14:45:14 -0600 Subject: Clean up error messages Signed-off-by: Jason A. Donenfeld --- app/src/main/res/values/strings.xml | 82 +++++++++++++++++++++++-------------- 1 file changed, 51 insertions(+), 31 deletions(-) (limited to 'app/src/main/res/values/strings.xml') diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 7c9864bb..3ae499da 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -28,25 +28,41 @@ Addresses Allowed IPs WireGuard + %s\'s %s + %s + %s in %s + : Must be positive and no more than 65535 + : Must be positive + : Must be a valid UDP port number + Invalid key + Invalid number + Invalid value + Missing attribute + Missing section + Missing value + Syntax error + Unknown attribute + Unknown section + Value out of range File must be .conf or .zip Cancel Cannot delete configuration file %s - Configuration for %s already exists - Configuration file %s already exists - Configuration file %s not found - Cannot rename configuration file %s - Unable to save configuration for “%1$s”: %2$s + Configuration for “%s” already exists + Configuration file “%s” already exists + Configuration file “%s” not found + Cannot rename configuration file “%s” + Cannot save configuration for “%1$s”: %2$s Successfully saved configuration for “%s” Create WireGuard Tunnel - Could not create local binary directory + Cannot create local binary directory Create from scratch Create from file or archive - Create from QR code + Create from QR code Cannot create output directory - Could not create local temporary directory + Cannot create local temporary directory Create Tunnel - Currently using light day theme - Currently using dark night theme + Currently using light (day) theme + Currently using dark (night) theme Use dark theme Delete Deselect All @@ -59,28 +75,25 @@ Error bringing up tunnel: %s Exclude private IPs Excluded Applications - Unable to read exit status Generate + Unknown “%s” error (auto) (generated) (optional) (random) - Action labels in horizontal expand orientation is not supported. - Illegal file name %s + Illegal file name “%s” Unable to import tunnel: %s - Import Tunnel from QR Code + Import Tunnel from QR Code Imported “%s” Interface - Invalid config passed to %s - WireGuard base64 keys must be 44 characters encoding 32 bytes - WireGuard keys must be 32 bytes - WireGuard hex keys must be 64 characters encoding 32 bytes + : WireGuard base64 keys must be 44 characters (32 bytes) + : WireGuard keys must be 32 bytes + : WireGuard hex keys must be 64 characters (32 bytes) Listen port Unable to export log: %s - Saved to %s + Saved to “%s” Log file will be saved to downloads folder - Export log file - Expected 4 markers, received %i + Export log file Unable to determine kernel module version MTU Only one userspace tunnel can run at a time @@ -88,7 +101,12 @@ Trying to bring up a tunnel with no config No configurations found No tunnels exist - Cannot parse “%1$s” at %2$s + string + IP address + endpoint + IP network + number + Cannot parse %1$s “%2$s” Peer Allows an app to control WireGuard tunnels. Apps with this permission may enable and disable WireGuard tunnels at will, potentially misdirecting Internet traffic. control WireGuard tunnels @@ -97,13 +115,15 @@ Private key Public key Public key - Tip: generate with `qrencode -t ansiutf8 < tunnel.conf`. + Tip: generate with `qrencode -t ansiutf8 < tunnel.conf`. Bring up previously-enabled tunnels on boot Restore on boot Save Select all Set Exclusions Settings + Shell cannot read exit status + Shell expected 4 markers, received %i Shell failed to start: %i Error toggling WireGuard tunnel: %s wg and wg-quick are already installed @@ -120,10 +140,7 @@ Unable to configure tunnel (wg-quick returned %i) Unable to create tunnel: %s Successfully created tunnel “%s” - Tunnel %s already exists - Address is empty - Peer public key may not be empty - Forbidden characters in endpoint + Tunnel “%s” already exists Invalid name Add a tunnel using the blue button Tunnel Name @@ -132,14 +149,17 @@ Successfully renamed tunnel to “%s” Go userspace Kernel module + Unknown error %1$s backend v%2$s Checking %s backend version Unknown %s version - WireGuard for Android v%s" - VPN service not authorized by user + WireGuard for Android v%s + VPN service not authorized by user Unable to start Android VPN service Unable to export tunnels: %s - Saved to %s + Saved to “%s” Zip file will be saved to downloads folder - Export tunnels to zip file + Export tunnels to zip file + Incorrect key length + Bad characters in key -- cgit v1.2.3-59-g8ed1b