From 0c7e9836e23461e3f5cd5dfcba5d43d929cc8147 Mon Sep 17 00:00:00 2001 From: Eric House Date: Mon, 28 Sep 2020 11:48:26 -0700 Subject: [PATCH] cleanup --- .../java/org/eehouse/android/xw4/KnownPlayersDelegate.java | 3 +-- xwords4/android/app/src/main/res/values/strings.xml | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/KnownPlayersDelegate.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/KnownPlayersDelegate.java index 30a9cd2e7..0f6f268d4 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/KnownPlayersDelegate.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/KnownPlayersDelegate.java @@ -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; } diff --git a/xwords4/android/app/src/main/res/values/strings.xml b/xwords4/android/app/src/main/res/values/strings.xml index a2dbb352e..d07e7c5d0 100644 --- a/xwords4/android/app/src/main/res/values/strings.xml +++ b/xwords4/android/app/src/main/res/values/strings.xml @@ -2665,6 +2665,10 @@ delete the Known Player “%1$s”?\n\n(This action cannot be undone.) + + Rename Player + Unable to change name from “%1$s” to “%2$s”. Is “%2$s” already in use?