mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-16 16:16:04 -04:00
[String] use public "Remove" instead of "Delete" (android internal)
This commit is contained in:
parent
25e5d0f412
commit
e1154efe6e
@ -68,7 +68,7 @@ public class ActionPopupWindow extends PinnedPopupWindow implements OnClickListe
|
|||||||
mDeleteTextView = (TextView) inflater.inflate(R.layout.control_action_popup_text, null);
|
mDeleteTextView = (TextView) inflater.inflate(R.layout.control_action_popup_text, null);
|
||||||
mDeleteTextView.setLayoutParams(wrapContent);
|
mDeleteTextView.setLayoutParams(wrapContent);
|
||||||
mContentView.addView(mDeleteTextView);
|
mContentView.addView(mDeleteTextView);
|
||||||
mDeleteTextView.setText(Resources.getSystem().getIdentifier("delete", "string", "com.android.internal"));
|
mDeleteTextView.setText(R.string.global_remove);
|
||||||
mDeleteTextView.setOnClickListener(this);
|
mDeleteTextView.setOnClickListener(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -190,7 +190,7 @@ public class ActionPopupWindow extends PinnedPopupWindow implements OnClickListe
|
|||||||
|
|
||||||
dialog.show();
|
dialog.show();
|
||||||
} else if (view == mDeleteTextView) {
|
} else if (view == mDeleteTextView) {
|
||||||
alert.setMessage(Resources.getSystem().getIdentifier("delete", "string", "com.android.internal") + " " + mHandleView.mView.getText() + "?");
|
alert.setMessage(R.string.global_remove + " " + mHandleView.mView.getText() + "?");
|
||||||
alert.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener(){
|
alert.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener(){
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user