From 3b3a3fb2b3aecb5f565fb1f914b4b673c8335cbd Mon Sep 17 00:00:00 2001 From: Juan Arias <57142765+JuanArias-code@users.noreply.github.com> Date: Thu, 8 Jun 2023 21:09:48 -0500 Subject: [PATCH 1/2] Update SearchableListDialog.java Spanish Translate --- .../toptoche/searchablespinnerlibrary/SearchableListDialog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searchablespinnerlibrary/src/main/java/com/toptoche/searchablespinnerlibrary/SearchableListDialog.java b/searchablespinnerlibrary/src/main/java/com/toptoche/searchablespinnerlibrary/SearchableListDialog.java index 38e67b5..e598240 100644 --- a/searchablespinnerlibrary/src/main/java/com/toptoche/searchablespinnerlibrary/SearchableListDialog.java +++ b/searchablespinnerlibrary/src/main/java/com/toptoche/searchablespinnerlibrary/SearchableListDialog.java @@ -96,7 +96,7 @@ public Dialog onCreateDialog(Bundle savedInstanceState) { String strPositiveButton = _strPositiveButtonText == null ? "CLOSE" : _strPositiveButtonText; alertDialog.setPositiveButton(strPositiveButton, _onClickListener); - String strTitle = _strTitle == null ? "Select Item" : _strTitle; + String strTitle = _strTitle == null ? "Seleccionar Marca : _strTitle; alertDialog.setTitle(strTitle); final AlertDialog dialog = alertDialog.create(); From 3c7ae2c379bf4286c6f5defbbbbf61bc2206f74d Mon Sep 17 00:00:00 2001 From: Juan Arias <57142765+JuanArias-code@users.noreply.github.com> Date: Thu, 8 Jun 2023 21:12:32 -0500 Subject: [PATCH 2/2] Update SearchableListDialog.java Fix --- .../searchablespinnerlibrary/SearchableListDialog.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/searchablespinnerlibrary/src/main/java/com/toptoche/searchablespinnerlibrary/SearchableListDialog.java b/searchablespinnerlibrary/src/main/java/com/toptoche/searchablespinnerlibrary/SearchableListDialog.java index e598240..3c6f420 100644 --- a/searchablespinnerlibrary/src/main/java/com/toptoche/searchablespinnerlibrary/SearchableListDialog.java +++ b/searchablespinnerlibrary/src/main/java/com/toptoche/searchablespinnerlibrary/SearchableListDialog.java @@ -93,10 +93,10 @@ public Dialog onCreateDialog(Bundle savedInstanceState) { AlertDialog.Builder alertDialog = new AlertDialog.Builder(getActivity()); alertDialog.setView(rootView); - String strPositiveButton = _strPositiveButtonText == null ? "CLOSE" : _strPositiveButtonText; + String strPositiveButton = _strPositiveButtonText == null ? "Cerrar" : _strPositiveButtonText; alertDialog.setPositiveButton(strPositiveButton, _onClickListener); - String strTitle = _strTitle == null ? "Seleccionar Marca : _strTitle; + String strTitle = _strTitle == null ? "Seleccionar Marca" : _strTitle; alertDialog.setTitle(strTitle); final AlertDialog dialog = alertDialog.create();