mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
use a different missing-dict explanation string when the name of the
inviter isn't known (relay case)
This commit is contained in:
parent
2a1c028268
commit
7d6e393007
2 changed files with 8 additions and 2 deletions
|
@ -2123,6 +2123,10 @@
|
|||
play Crosswords using the wordlist %2$s (for play in %3$s), but it
|
||||
is not installed. Would you like to download the wordlist or
|
||||
decline the invitation?</string>
|
||||
<string name="invite_dict_missing_body_nonamef">You have been invited to
|
||||
play Crosswords using the wordlist %2$s (for play in %3$s), but it
|
||||
is not installed. Would you like to download the wordlist or
|
||||
decline the invitation?</string>
|
||||
<string name="button_decline">Decline</string>
|
||||
|
||||
<string name="downloadingf">Downloading %s...</string>
|
||||
|
|
|
@ -133,8 +133,10 @@ public class MultiService {
|
|||
String langStr = DictLangCache.getLangName( context, lang );
|
||||
String dict = intent.getStringExtra( DICT );
|
||||
String inviter = intent.getStringExtra( INVITER );
|
||||
String msg = context.getString( R.string.invite_dict_missing_bodyf,
|
||||
inviter, dict, langStr );
|
||||
int msgID = (null == inviter) ? R.string.invite_dict_missing_body_nonamef
|
||||
: R.string.invite_dict_missing_bodyf;
|
||||
String msg = context.getString( msgID, inviter, dict, langStr );
|
||||
|
||||
return new AlertDialog.Builder( context )
|
||||
.setTitle( R.string.invite_dict_missing_title )
|
||||
.setMessage( msg)
|
||||
|
|
Loading…
Add table
Reference in a new issue