mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-04 20:46:28 +01:00
include room name in games list when pending
I can't send a manual invitation without that information
This commit is contained in:
parent
e7d4e93d12
commit
c496cf5a1f
2 changed files with 7 additions and 2 deletions
|
@ -200,8 +200,12 @@ public class GameSummary implements Serializable {
|
|||
DBUtils.SentInvitesInfo si = DBUtils.getInvitesFor( context,
|
||||
rowid );
|
||||
if ( si.getMinPlayerCount() >= missing ) {
|
||||
result = LocUtils.getString( context,
|
||||
R.string.summary_invites_out );
|
||||
result = ( null != roomName )
|
||||
? LocUtils.getString( context, R.string
|
||||
.summary_invites_out_fmt,
|
||||
roomName )
|
||||
: LocUtils.getString( context, R.string
|
||||
.summary_invites_out );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -62,6 +62,7 @@
|
|||
<string name="summary_relay_gameover_fmt">Game over in room \"%1$s\"</string>
|
||||
|
||||
<string name="summary_invites_out">Players invited</string>
|
||||
<string name="summary_invites_out_fmt">Players invited to room \"%1$s\"</string>
|
||||
|
||||
<!-- Games that have ended are listed with this string -->
|
||||
<string name="gameOver">Game over</string>
|
||||
|
|
Loading…
Add table
Reference in a new issue