From 48880281dcffca443d2fade82d119b5924b64061 Mon Sep 17 00:00:00 2001 From: Eric House Date: Thu, 4 Apr 2019 21:32:28 -0700 Subject: [PATCH] add empty invitee list string for Bluetooth too --- .../src/main/java/org/eehouse/android/xw4/BTInviteDelegate.java | 2 +- xwords4/android/app/src/main/res/values/strings.xml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BTInviteDelegate.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BTInviteDelegate.java index e4277550b..3332eff80 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BTInviteDelegate.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BTInviteDelegate.java @@ -140,7 +140,7 @@ public class BTInviteDelegate extends InviteDelegate { String msg = getQuantityString( R.plurals.invite_bt_desc_fmt_2, m_nMissing, m_nMissing ) + getString( R.string.invite_bt_desc_postscript ); - super.init( msg, 0 ); + super.init( msg, R.string.empty_bt_inviter ); addButtonBar( R.layout.bt_buttons, BUTTONIDS ); diff --git a/xwords4/android/app/src/main/res/values/strings.xml b/xwords4/android/app/src/main/res/values/strings.xml index 5d2d4fe84..1d5612d44 100644 --- a/xwords4/android/app/src/main/res/values/strings.xml +++ b/xwords4/android/app/src/main/res/values/strings.xml @@ -1974,6 +1974,8 @@ \"Import contact\" button to add people you want to invite, the + button to enter numbers directly. + No paired devices detected yet. + There are currently no devices reachable via WiFiDirect that have CrossWords installed.