This commit is contained in:
Eric House 2020-09-28 11:48:26 -07:00
parent 7b097ea67d
commit 0c7e9836e2
2 changed files with 5 additions and 2 deletions

View file

@ -89,7 +89,6 @@ public class KnownPlayersDelegate extends DelegateBase {
final String oldName = (String)params[0]; final String oldName = (String)params[0];
final Renamer namer = ((Renamer)inflate( R.layout.renamer )) final Renamer namer = ((Renamer)inflate( R.layout.renamer ))
.setName( oldName ) .setName( oldName )
.setLabel( "some label" )
; ;
OnClickListener lstnr = new OnClickListener() { OnClickListener lstnr = new OnClickListener() {
@ -99,7 +98,7 @@ public class KnownPlayersDelegate extends DelegateBase {
tryRename( oldName, namer.getName() ); tryRename( oldName, namer.getName() );
} }
}; };
dialog = buildNamerDlg( namer, R.string.game_name_group_title, dialog = buildNamerDlg( namer, R.string.knowns_rename_title,
lstnr, null, dlgID ); lstnr, null, dlgID );
break; break;
} }

View file

@ -2665,6 +2665,10 @@
delete the Known Player “%1$s”?\n\n(This action cannot be delete the Known Player “%1$s”?\n\n(This action cannot be
undone.)</string> 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 <string name="knowns_dup_name_fmt">Unable to change name from
“%1$s” to “%2$s”. Is “%2$s” already in use?</string> “%1$s” to “%2$s”. Is “%2$s” already in use?</string>