summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-12-18 17:58:12 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2018-12-18 17:58:12 +0100
commit6d02b0a26df780aef39c597a1f1691d1283b3fb6 (patch)
tree2b8075b1e33b67228d43400037c9bda780153338
parent495bf9c95442a64832dbb3b52036d400c34a7d42 (diff)
strings: squelch warning on multiple %s
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--app/src/main/res/values/strings.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 3ae499da..72b81535 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -28,9 +28,9 @@
<string name="addresses">Addresses</string>
<string name="allowed_ips">Allowed IPs</string>
<string name="app_name">WireGuard</string>
- <string name="bad_config_context">%s\'s %s</string>
+ <string name="bad_config_context">%1$s\'s %2$s</string>
<string name="bad_config_context_top_level">%s</string>
- <string name="bad_config_error">%s in %s</string>
+ <string name="bad_config_error">%1$s in %2$s</string>
<string name="bad_config_explanation_pka">: Must be positive and no more than 65535</string>
<string name="bad_config_explanation_positive_number">: Must be positive</string>
<string name="bad_config_explanation_udp_port">: Must be a valid UDP port number</string>