From 65726bd89eec6972449f7ffdd726ebc75b637b43 Mon Sep 17 00:00:00 2001 From: WizDom13 Date: Thu, 13 Jun 2024 13:49:31 +0300 Subject: [PATCH] Fix typo --- .../wppenhacer/adapter/IGStatusAdapter.java | 6 +++--- .../features/customization/CustomView.java | 6 +++--- .../features/customization/IGStatus.java | 20 +++++++++---------- .../xposed/features/general/Others.java | 12 +++++------ app/src/main/res/values-ar/strings.xml | 4 ++-- app/src/main/res/values-de/strings.xml | 4 ++-- app/src/main/res/values-es/strings.xml | 4 ++-- app/src/main/res/values-fr/strings.xml | 4 ++-- app/src/main/res/values-id/strings.xml | 4 ++-- app/src/main/res/values-in/strings.xml | 4 ++-- app/src/main/res/values-it/strings.xml | 4 ++-- app/src/main/res/values-pt/strings.xml | 4 ++-- app/src/main/res/values-ru/strings.xml | 4 ++-- app/src/main/res/values-tr/strings.xml | 4 ++-- app/src/main/res/values/strings.xml | 4 ++-- .../main/res/xml/fragment_customization.xml | 6 +++--- 16 files changed, 47 insertions(+), 47 deletions(-) diff --git a/app/src/main/java/com/wmods/wppenhacer/adapter/IGStatusAdapter.java b/app/src/main/java/com/wmods/wppenhacer/adapter/IGStatusAdapter.java index aff3a092..9299168e 100644 --- a/app/src/main/java/com/wmods/wppenhacer/adapter/IGStatusAdapter.java +++ b/app/src/main/java/com/wmods/wppenhacer/adapter/IGStatusAdapter.java @@ -1,6 +1,6 @@ package com.wmods.wppenhacer.adapter; -import static com.wmods.wppenhacer.xposed.features.customization.IGStatus.itens; +import static com.wmods.wppenhacer.xposed.features.customization.IGStatus.items; import android.content.Context; import android.content.Intent; @@ -91,13 +91,13 @@ public IGStatusAdapter(@NonNull Context context, @NonNull Class statusInfoCla @Override public int getCount() { - return itens.size(); + return items.size(); } @NonNull @Override public View getView(int position, @Nullable View convertView, @NonNull ViewGroup parent) { - var item = itens.get(position); + var item = items.get(position); IGStatusViewHolder holder; if (convertView == null) { holder = new IGStatusViewHolder(); diff --git a/app/src/main/java/com/wmods/wppenhacer/xposed/features/customization/CustomView.java b/app/src/main/java/com/wmods/wppenhacer/xposed/features/customization/CustomView.java index 39754122..994afb64 100644 --- a/app/src/main/java/com/wmods/wppenhacer/xposed/features/customization/CustomView.java +++ b/app/src/main/java/com/wmods/wppenhacer/xposed/features/customization/CustomView.java @@ -70,13 +70,13 @@ public CustomView(@NonNull ClassLoader loader, @NonNull XSharedPreferences prefe @Override public void doHook() throws Throwable { - var filter_itens = prefs.getString("css_theme", null); - if (TextUtils.isEmpty(filter_itens)) return; + var filter_items = prefs.getString("css_theme", null); + if (TextUtils.isEmpty(filter_items)) return; cacheImages = new DrawableCache(); chacheDrawables = new HashMap<>(); mThreadService = Executors.newFixedThreadPool(8); - var sheet = CSSFactory.parseString(filter_itens, new URL("https://base.url/")); + var sheet = CSSFactory.parseString(filter_items, new URL("https://base.url/")); XposedHelpers.findAndHookMethod(Activity.class, "onCreate", Bundle.class, new XC_MethodHook() { @Override protected void beforeHookedMethod(MethodHookParam param) throws Throwable { diff --git a/app/src/main/java/com/wmods/wppenhacer/xposed/features/customization/IGStatus.java b/app/src/main/java/com/wmods/wppenhacer/xposed/features/customization/IGStatus.java index c149f027..30218f6c 100644 --- a/app/src/main/java/com/wmods/wppenhacer/xposed/features/customization/IGStatus.java +++ b/app/src/main/java/com/wmods/wppenhacer/xposed/features/customization/IGStatus.java @@ -32,7 +32,7 @@ import de.robv.android.xposed.XposedHelpers; public class IGStatus extends Feature { - public static ArrayList itens = new ArrayList<>(); + public static ArrayList items = new ArrayList<>(); @SuppressLint("StaticFieldLeak") private static IGStatusView mStatusContainer; @@ -144,7 +144,7 @@ protected void beforeHookedMethod(MethodHookParam param) throws Throwable { XposedBridge.hookAllConstructors(clazz2, new XC_MethodHook() { @Override protected void afterHookedMethod(MethodHookParam param) throws Throwable { - itens.add(0, null); + items.add(0, null); IGStatusAdapter mStatusAdapter = new IGStatusAdapter(WppCore.getMainActivity(), statusInfoClass); mStatusContainer.setAdapter(mStatusAdapter); mStatusContainer.updateList(); @@ -159,10 +159,10 @@ protected void afterHookedMethod(MethodHookParam param) throws Throwable { protected void beforeHookedMethod(MethodHookParam param) throws Throwable { var list1 = (List) param.args[2]; var list2 = (List) param.args[3]; - itens.clear(); - itens.add(0, null); - itens.addAll(list1); - itens.addAll(list2); + items.clear(); + items.add(0, null); + items.addAll(list1); + items.addAll(list2); mStatusContainer.updateList(); } }); @@ -183,10 +183,10 @@ protected void beforeHookedMethod(MethodHookParam param) throws Throwable { if (lists.size() < 3) return; var list1 = (List) lists.get(1).get(StatusListUpdates); var list2 = (List) lists.get(2).get(StatusListUpdates); - itens.clear(); - itens.add(0, null); - itens.addAll(list1); - itens.addAll(list2); + items.clear(); + items.add(0, null); + items.addAll(list1); + items.addAll(list2); mStatusContainer.updateList(); } }); diff --git a/app/src/main/java/com/wmods/wppenhacer/xposed/features/general/Others.java b/app/src/main/java/com/wmods/wppenhacer/xposed/features/general/Others.java index 5264a7b4..6f11561d 100644 --- a/app/src/main/java/com/wmods/wppenhacer/xposed/features/general/Others.java +++ b/app/src/main/java/com/wmods/wppenhacer/xposed/features/general/Others.java @@ -89,7 +89,7 @@ public void doHook() throws Exception { var adminGrp = prefs.getBoolean("admin_grp", false); var showOnline = prefs.getBoolean("showonline", false); var floatingMenu = prefs.getBoolean("floatingmenu", false); - var filter_itens = prefs.getString("filter_itens", null); + var filter_items = prefs.getString("filter_items", null); var disable_defemojis = prefs.getBoolean("disable_defemojis", false); propsBoolean.put(5171, filterSeen); // filtros de chat e grupos @@ -153,8 +153,8 @@ public void doHook() throws Exception { showOnline(); } - if (filter_itens != null) { - filterItens(filter_itens); + if (filter_items != null) { + filterItems(filter_items); } if (disable_defemojis) { @@ -168,10 +168,10 @@ private void disable_defEmojis() throws Exception { XposedBridge.hookMethod(defEmojiClass, XC_MethodReplacement.returnConstant(null)); } - private void filterItens(String filterItens) { - var itens = filterItens.split("\n"); + private void filterItems(String filterItems) { + var items = filterItems.split("\n"); var idsFilter = new ArrayList(); - for (String item : itens) { + for (String item : items) { var id = Utils.getID(item, "id"); if (id > 0) { idsFilter.add(id); diff --git a/app/src/main/res/values-ar/strings.xml b/app/src/main/res/values-ar/strings.xml index 87b4b1db..50a8d6a3 100644 --- a/app/src/main/res/values-ar/strings.xml +++ b/app/src/main/res/values-ar/strings.xml @@ -224,8 +224,8 @@ إظهار إشعار عندما تكون جهة اتصال على الإنترنت واجهة جديدة لقائمة الإعدادات سيتم تمكين قائمة إعدادات الرسالة الجديدة على نمط iOS. - تصفية العناصر حسب المعرف - تصفية العناصر حسب اسم المعرف + تصفية العناصر حسب المعرف + تصفية العناصر حسب اسم المعرف موضوع مخصص CSS تخصيص واتساب باستخدام أنماط CSS الرسائل المؤقتة diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 9443bfc7..11b73be9 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -223,8 +223,8 @@ Zeigt eine Nachricht, wenn ein Kontakt online ist Neue Kontextmenü-Oberfläche Das neue Kontextmenü für Nachrichten im iOS-Stil wird aktiviert. - Objekte nach ID filtern - Elemente nach Id-Namen filtern + Objekte nach ID filtern + Elemente nach Id-Namen filtern Benutzerdefiniertes CSS Thema Passen Sie Ihre WhatsApp mithilfe von CSS-Stilen an Gegen verschwindende Nachrichten diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index a1634755..54f5eeb1 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -223,8 +223,8 @@ Mostrar una notificación cuando un contacto está en linea Nueva interfaz de menú contextual Se habilitará el nuevo menú contextual de mensajes estilo iOS. - Filtrar Items por ID - Filtrar items por nombre id + Filtrar Items por ID + Filtrar items por nombre id Tema personalizado de CSS Personaliza tu WhatsApp usando estilos CSS Anti Desaparición de mensajes Temporales diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 0dc9eba6..83cd23ce 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -223,8 +223,8 @@ Show a toast when a contact is online New Context Menu UI The new iOS-style message context menu will be enabled. - Filter Itens By ID - Filter items by id name + Filter Items By ID + Filter items by id name Custom Theme CSS Customize your WhatsApp using CSS styles Anti Disappearing Messages diff --git a/app/src/main/res/values-id/strings.xml b/app/src/main/res/values-id/strings.xml index cec5250b..6568cf5e 100644 --- a/app/src/main/res/values-id/strings.xml +++ b/app/src/main/res/values-id/strings.xml @@ -229,8 +229,8 @@ Apakah Anda ingin mulai ulang WhatsApp? Tampilkan notifikasi mengambang ketika kontak sedang online Menu UI Konteks Baru Aktifkan menu konteks pesan baru bergaya iOS - Filter Item Berdasarkan ID - Filter item berdasarkan nama ID + Filter Item Berdasarkan ID + Filter item berdasarkan nama ID Tema Khusus CSS Sesuaikan WhatsApp Anda menggunakan gaya CSS Anti Hapus Pesan Sementara diff --git a/app/src/main/res/values-in/strings.xml b/app/src/main/res/values-in/strings.xml index 5a687cbc..74509be5 100644 --- a/app/src/main/res/values-in/strings.xml +++ b/app/src/main/res/values-in/strings.xml @@ -271,8 +271,8 @@ Tampilkan notifikasi mengambang ketika kontak sedang online Menu UI Konteks Baru Aktifkan menu konteks pesan baru bergaya iOS - Filter Item Berdasarkan ID - Filter item berdasarkan nama ID + Filter Item Berdasarkan ID + Filter item berdasarkan nama ID Tema Khusus CSS Sesuaikan WhatsApp Anda menggunakan gaya CSS Anti Hapus Pesan Sementara diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index d79fe239..6ceb3ba8 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -223,8 +223,8 @@ Mostra una notifica toast quando un contatto è online Nuova UI Menu Contestuale Verrà abilitato il nuovo menu contestuale del messaggio in stile iOS. - Filtra Elementi Per ID - Filtra elementi per nome id + Filtra Elementi Per ID + Filtra elementi per nome id Tema Personalizzato CSS Personalizza il tuo WhatsApp utilizzando gli stili CSS Anti Scomparsa Messaggi diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml index 2063db95..4ba97234 100644 --- a/app/src/main/res/values-pt/strings.xml +++ b/app/src/main/res/values-pt/strings.xml @@ -223,8 +223,8 @@ Mostra uma notificação toast quando qualquer contato entrar online. Nova IU do menu de contexto Habilite o novo menu de contexto de mensagens no estilo iOS para edição de mensagens. - Filtrar itens por ID - Você pode remover quase tudo no WhatsApp (visualmente) usando filtro de itens. + Filtrar items por ID + Você pode remover quase tudo no WhatsApp (visualmente) usando filtro de items. Tema personalizado CSS Personalize seu WhatsApp usando código CSS. Anti-deletar mensagens temporárias diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 86ef16a0..aacf3ff7 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -223,8 +223,8 @@ Показывать всплывающее уведомление, когда контакт в сети Новый пользовательский интерфейс контекстного меню Новое контекстное меню сообщений в стиле iOS. - Отфильтровать элементы по ID - Фильтровать по id имени + Отфильтровать элементы по ID + Фильтровать по id имени Пользовательская тема CSS Настройте WhatsApp с помощью стилей CSS Защита \"Исчезающих Сообщений\" diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml index d23f2506..95ca59e7 100644 --- a/app/src/main/res/values-tr/strings.xml +++ b/app/src/main/res/values-tr/strings.xml @@ -223,8 +223,8 @@ Bir kişi çevrimiçi olduğunda bir tost mesajı göster Yeni Bağlam Menüsü Kullanıcı Arayüzü Yeni iOS tarzı mesaj içerik menüsü etkinleştirilecektir. - Kimliğe Göre Filtrele - Öğeleri kimlik adına göre filtrele + Kimliğe Göre Filtrele + Öğeleri kimlik adına göre filtrele Özel CSS Teması CSS stillerini kullanarak WhatsApp\'ınızı özelleştirin Anti Kaybolan Mesajlar diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index e081cc92..999aec98 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -225,8 +225,8 @@ Show a toast when a contact is online New Context Menu UI The new iOS-style message context menu will be enabled. - Filter Itens By ID - Filter items by id name + Filter Items By ID + Filter items by id name Custom Theme CSS Customize your WhatsApp using CSS styles Anti Disappearing Messages diff --git a/app/src/main/res/xml/fragment_customization.xml b/app/src/main/res/xml/fragment_customization.xml index a9171e9a..1fdb62f1 100644 --- a/app/src/main/res/xml/fragment_customization.xml +++ b/app/src/main/res/xml/fragment_customization.xml @@ -95,9 +95,9 @@ app:title="@string/hide_tabs_on_home" /> + app:key="filter_items" + android:summary="@string/filter_items_by_id_sum" + app:title="@string/filter_items_by_id" />