mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-07 05:24:46 +01:00
cleanup
This commit is contained in:
parent
7b097ea67d
commit
0c7e9836e2
2 changed files with 5 additions and 2 deletions
|
@ -89,7 +89,6 @@ public class KnownPlayersDelegate extends DelegateBase {
|
|||
final String oldName = (String)params[0];
|
||||
final Renamer namer = ((Renamer)inflate( R.layout.renamer ))
|
||||
.setName( oldName )
|
||||
.setLabel( "some label" )
|
||||
;
|
||||
|
||||
OnClickListener lstnr = new OnClickListener() {
|
||||
|
@ -99,7 +98,7 @@ public class KnownPlayersDelegate extends DelegateBase {
|
|||
tryRename( oldName, namer.getName() );
|
||||
}
|
||||
};
|
||||
dialog = buildNamerDlg( namer, R.string.game_name_group_title,
|
||||
dialog = buildNamerDlg( namer, R.string.knowns_rename_title,
|
||||
lstnr, null, dlgID );
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -2665,6 +2665,10 @@
|
|||
delete the Known Player “%1$s”?\n\n(This action cannot be
|
||||
undone.)</string>
|
||||
|
||||
<!-- Title of Alert for renaming Known Player -->
|
||||
<string name="knowns_rename_title">Rename Player</string>
|
||||
<!-- Error message when rename fails (which right now should only
|
||||
happen because the name is in use) -->
|
||||
<string name="knowns_dup_name_fmt">Unable to change name from
|
||||
“%1$s” to “%2$s”. Is “%2$s” already in use?</string>
|
||||
|
||||
|
|
Loading…
Reference in a new issue