From 1b68e13d9cf4792749a686447712052d71417404 Mon Sep 17 00:00:00 2001 From: bjoern Date: Thu, 25 Nov 2021 12:09:10 +0100 Subject: [PATCH] "scan qr code" wordings (#2146) * pass qr-code strings to core (as qr code images are generated in core now) * shorter wording of qr code hints * quote group name as done in most other places --- res/values/strings.xml | 4 ++-- src/org/thoughtcrime/securesms/connect/DcHelper.java | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 1f0566e16..bc645176d 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -775,9 +775,9 @@ %1$s verified. %1$s joined the group. QR Invite Code - Scan this to join the group \"%1$s\". + Scan to join group \"%1$s\" QR Invite Code - Scan this to set up a contact with %1$s. + Scan to chat with %1$s QR code setup requires an internet connection. Please connect to a network before proceeding. No internet connection, can\'t perform QR code setup. Create new e-mail address on \"%1$s\" and log in there? diff --git a/src/org/thoughtcrime/securesms/connect/DcHelper.java b/src/org/thoughtcrime/securesms/connect/DcHelper.java index b7b65b5c0..249fc9c14 100644 --- a/src/org/thoughtcrime/securesms/connect/DcHelper.java +++ b/src/org/thoughtcrime/securesms/connect/DcHelper.java @@ -199,6 +199,8 @@ public class DcHelper { dcContext.setStockTranslation(116, context.getString(R.string.part_of_total_used)); dcContext.setStockTranslation(117, context.getString(R.string.secure_join_started)); dcContext.setStockTranslation(118, context.getString(R.string.secure_join_replies)); + dcContext.setStockTranslation(119, context.getString(R.string.qrshow_join_contact_hint)); + dcContext.setStockTranslation(120, context.getString(R.string.qrshow_join_group_hint)); } public static File getImexDir() {