mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-08 05:24:39 +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 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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue