From 3a2238849597d2dfa152407013778746260f3146 Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Tue, 14 Dec 2021 16:51:52 -0300 Subject: [PATCH] Fix multiple substitutions specified in non-positional format The build warnings might persist until translations have been updated --- briar-android/src/main/res/values/strings.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/briar-android/src/main/res/values/strings.xml b/briar-android/src/main/res/values/strings.xml index fec1fc495..39f232c16 100644 --- a/briar-android/src/main/res/values/strings.xml +++ b/briar-android/src/main/res/values/strings.xml @@ -297,7 +297,7 @@ You already have a pending contact with this link: %s You already have a contact with this link: %s - Are %s and %s the same person? + Are %1$s and %2$s the same person? @@ -306,7 +306,7 @@ will be used in a dialog button, so if the translation of this string longer than 20 characters, please use "No" instead, and use "Yes" for the "Same Person" button --> Different Person - %s and %s sent you the same link.\n\nOne of them may be trying to discover who your contacts are.\n\nDon\'t tell them you received the same link from someone else. + %1$s and %2$s sent you the same link.\n\nOne of them may be trying to discover who your contacts are.\n\nDon\'t tell them you received the same link from someone else. Pending contact updated