put a colon after chat sender's name in display

This commit is contained in:
Eric House 2016-03-13 12:50:09 -07:00
parent b07a783fe1
commit d25d33689a
5 changed files with 286 additions and 281 deletions

File diff suppressed because it is too large Load diff

View file

@ -2020,6 +2020,7 @@
<string name="menu_zoom">Zoom in/out</string>
<!-- -->
<string name="menu_chat">Chat</string>
<string name="chat_sender_fmt">%1$s:</string>
<!-- -->
<string name="menu_toggle_values">Toggle values</string>

View file

@ -1747,6 +1747,7 @@
<string name="menu_zoom">Mooz tuo/ni</string>
<!-- -->
<string name="menu_chat">Tahc</string>
<string name="chat_sender_fmt">%1$s:</string>
<!-- -->
<string name="menu_toggle_values">Elggot seulav</string>
<!-- board menu for small devices only -->

View file

@ -1747,6 +1747,7 @@
<string name="menu_zoom">ZOOM IN/OUT</string>
<!-- -->
<string name="menu_chat">CHAT</string>
<string name="chat_sender_fmt">%1$s:</string>
<!-- -->
<string name="menu_toggle_values">TOGGLE VALUES</string>
<!-- board menu for small devices only -->

View file

@ -91,7 +91,8 @@ public class ChatDelegate extends DelegateBase {
TextView view = (TextView)row.findViewById( R.id.chat_row_text );
view.setText( pair.msg );
view = (TextView)row.findViewById( R.id.chat_row_name );
view.setText( names[pair.playerIndx] );
view.setText( getString( R.string.chat_sender_fmt,
names[pair.playerIndx] ) );
layout.addView( row );
}
}