From 6f4e9233b8bcda7054c505fb00f780e27e794b84 Mon Sep 17 00:00:00 2001 From: Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> Date: Thu, 28 Jul 2022 00:31:48 +1000 Subject: [PATCH] Remove Block User menu option in ViewUserDetailActivity since Reddit does not allow 3rd-party apps access this API now. --- .../activities/ViewUserDetailActivity.java | 26 ------------ .../infinityforreddit/apis/RedditAPI.java | 5 --- .../infinityforreddit/user/BlockUser.java | 40 ------------------- .../res/menu/view_user_detail_activity.xml | 5 --- app/src/main/res/values-cs/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-hi/strings.xml | 4 -- app/src/main/res/values-hr/strings.xml | 4 -- app/src/main/res/values-hu/strings.xml | 4 -- app/src/main/res/values-it/strings.xml | 4 -- app/src/main/res/values-ja/strings.xml | 4 -- app/src/main/res/values-nl/strings.xml | 4 -- app/src/main/res/values-pl/strings.xml | 4 -- app/src/main/res/values-pt-rBR/strings.xml | 4 -- app/src/main/res/values-pt/strings.xml | 4 -- app/src/main/res/values-ro/strings.xml | 4 -- app/src/main/res/values-ru/strings.xml | 4 -- app/src/main/res/values-tr-rTR/strings.xml | 4 -- app/src/main/res/values-uk/strings.xml | 4 -- app/src/main/res/values-vi/strings.xml | 4 -- app/src/main/res/values-zh-rCN/strings.xml | 4 -- app/src/main/res/values/strings.xml | 5 --- 24 files changed, 157 deletions(-) delete mode 100644 app/src/main/java/ml/docilealligator/infinityforreddit/user/BlockUser.java diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewUserDetailActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewUserDetailActivity.java index b59ef604..ddf997c9 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewUserDetailActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewUserDetailActivity.java @@ -116,7 +116,6 @@ import ml.docilealligator.infinityforreddit.post.PostPagingSource; import ml.docilealligator.infinityforreddit.readpost.InsertReadPost; import ml.docilealligator.infinityforreddit.subreddit.ParseSubredditData; import ml.docilealligator.infinityforreddit.subreddit.SubredditData; -import ml.docilealligator.infinityforreddit.user.BlockUser; import ml.docilealligator.infinityforreddit.user.FetchUserData; import ml.docilealligator.infinityforreddit.user.UserDao; import ml.docilealligator.infinityforreddit.user.UserData; @@ -1112,7 +1111,6 @@ public class ViewUserDetailActivity extends BaseActivity implements SortTypeSele if (username.equals(mAccountName)) { menu.findItem(R.id.action_send_private_message_view_user_detail_activity).setVisible(false); menu.findItem(R.id.action_report_view_user_detail_activity).setVisible(false); - menu.findItem(R.id.action_block_user_view_user_detail_activity).setVisible(false); } else { menu.findItem(R.id.action_edit_profile_view_user_detail_activity).setVisible(false); } @@ -1180,30 +1178,6 @@ public class ViewUserDetailActivity extends BaseActivity implements SortTypeSele reportIntent.setData(Uri.parse("https://www.reddithelp.com/en/categories/rules-reporting/account-and-community-restrictions/what-should-i-do-if-i-see-something-i")); startActivity(reportIntent); return true; - } else if (itemId == R.id.action_block_user_view_user_detail_activity) { - if (mAccessToken == null) { - Toast.makeText(this, R.string.login_first, Toast.LENGTH_SHORT).show(); - return true; - } - - new MaterialAlertDialogBuilder(this, R.style.MaterialAlertDialogTheme) - .setTitle(R.string.block_user) - .setMessage(R.string.are_you_sure) - .setPositiveButton(R.string.yes, (dialogInterface, i) - -> BlockUser.blockUser(mOauthRetrofit, mAccessToken, username, new BlockUser.BlockUserListener() { - @Override - public void success() { - Toast.makeText(ViewUserDetailActivity.this, R.string.block_user_success, Toast.LENGTH_SHORT).show(); - } - - @Override - public void failed() { - Toast.makeText(ViewUserDetailActivity.this, R.string.block_user_failed, Toast.LENGTH_SHORT).show(); - } - })) - .setNegativeButton(R.string.no, null) - .show(); - return true; } else if (itemId == R.id.action_edit_profile_view_user_detail_activity) { startActivity(new Intent(this, EditProfileActivity.class)); return true; diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/apis/RedditAPI.java b/app/src/main/java/ml/docilealligator/infinityforreddit/apis/RedditAPI.java index 826dc663..2c75a17c 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/apis/RedditAPI.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/apis/RedditAPI.java @@ -251,11 +251,6 @@ public interface RedditAPI { @POST("/api/compose") Call composePrivateMessage(@HeaderMap Map headers, @FieldMap Map params); - - @FormUrlEncoded - @POST("api/block_user") - Call blockUser(@HeaderMap Map headers, @FieldMap Map params); - @GET("r/{subredditName}/api/user_flair_v2.json?raw_json=1") Call getUserFlairs(@HeaderMap Map headers, @Path("subredditName") String subredditName); diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/user/BlockUser.java b/app/src/main/java/ml/docilealligator/infinityforreddit/user/BlockUser.java deleted file mode 100644 index c7a7207e..00000000 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/user/BlockUser.java +++ /dev/null @@ -1,40 +0,0 @@ -package ml.docilealligator.infinityforreddit.user; - -import androidx.annotation.NonNull; - -import java.util.HashMap; -import java.util.Map; - -import ml.docilealligator.infinityforreddit.apis.RedditAPI; -import ml.docilealligator.infinityforreddit.utils.APIUtils; -import retrofit2.Call; -import retrofit2.Callback; -import retrofit2.Response; -import retrofit2.Retrofit; - -public class BlockUser { - public interface BlockUserListener { - void success(); - void failed(); - } - - public static void blockUser(Retrofit oauthRetrofit, String accessToken, String username, BlockUserListener blockUserListener) { - Map params = new HashMap<>(); - params.put(APIUtils.NAME_KEY, username); - oauthRetrofit.create(RedditAPI.class).blockUser(APIUtils.getOAuthHeader(accessToken), params).enqueue(new Callback() { - @Override - public void onResponse(@NonNull Call call, @NonNull Response response) { - if (response.isSuccessful()) { - blockUserListener.success(); - } else { - blockUserListener.failed(); - } - } - - @Override - public void onFailure(@NonNull Call call, @NonNull Throwable t) { - blockUserListener.failed(); - } - }); - } -} diff --git a/app/src/main/res/menu/view_user_detail_activity.xml b/app/src/main/res/menu/view_user_detail_activity.xml index ec9128e4..41e3527a 100644 --- a/app/src/main/res/menu/view_user_detail_activity.xml +++ b/app/src/main/res/menu/view_user_detail_activity.xml @@ -55,11 +55,6 @@ android:orderInCategory="9" android:title="@string/action_report" /> - - "Zobrazit odebrané" "Nastavit jako pozadí" "Poslat soukromou zprávu" - "Zablokovat uživatele" "Při parsování JSON odpovědi se vyskytla chyba" "Chyba při získávání tokenu" "Něco se pokazilo. Zkuste to znovu později." @@ -747,9 +746,6 @@ Chodí popředu." "%1$s bodů" "Pokud máte zapnuté dvoufázové ověření, zadejte prosím heslo v následujícím formátu: <heslo>:<2FA kód>. Příklad: mojeheslo:123456" - "Zablokovat uživatele" - "Zablokován" - "Nepodařilo se zablokovat uživatele" "Crosspost" "Dát ocenění" "Crosspost" diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index ab491df1..866c0547 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -63,7 +63,6 @@ "Entfernten Beitrag ansehen" "Als Hintergrundbild einstellen" "Private Nachricht senden" - "Benutzer blockieren" "Ein Fehler trat beim Abruf der JSON-Antwort auf" "Fehler beim Abruf des Tokens" "Etwas ist schiefgelaufen. Versuche es später erneut." @@ -806,9 +805,6 @@ Sie ist nicht krank oder so, aber sie könnte sich definitiv bessern." "%1$s Punkte" "Wenn du die Zwei-Faktor-Authentifizierung aktiviert hast, tippe dein Passwort wie folgt ein: <passwort>:<2FA code>. Beispiel: DeinPasswort:123456" - "Benutzer blockieren" - "Blockiert" - "Blockieren des Benutzers fehlgeschlagen" "Crossposten" "Auszeichnung verleihen" "Crossposten" diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 93e347d6..19098830 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -63,7 +63,6 @@ "Ver eliminados" "Definir como fondo de pantalla" "Enviar mensaje privado" - "Bloquear usuario" "No fue posible procesar la respuesta JSON" "Error al recuperar el token" "Algo salió mal. Inténtalo más tarde." @@ -788,9 +787,6 @@ No está enferma ni nada, pero definitivamente podría mejorar." "%1$s puntos" "Si tiene habilitada la autenticación de 2 factores, por favor escriba su contraseña como la siguiente: <contraseña>:<código 2FA>. Ejemplo: contraseña:123456" - "Bloquear usuario" - "Bloqueado" - "No fue posible bloquear el usuario" "Crosspost" "Premiar" "Crosspost" diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 6fa5bed7..61a9ded4 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -76,7 +76,6 @@ "Afficher les Publications Supprimées" "Définir comme Fond d'Écran" "Envoyer le Message Privé" - "Bloquer l'Utilisateur" "Une erreur s'est produite lors de l'analyse de la réponse JSON" "Erreur dans la récupération du jeton" "Une erreur s'est produite. Veuillez réessayer plus tard." @@ -840,9 +839,6 @@ Basé sur le thème sombre Indigo" "%1$s pts" "Si vous avez activé l'authentification à 2 facteurs, veuillez saisir votre mot de passe comme suit : <mot de passe>:<code A2F>. Exemple : motdepasse:123456" - "Bloquer l'utilisateur" - "Bloqué" - "Impossible de bloquer l'utilisateur" "Crosspost" "Récompenser" "Crosspost" diff --git a/app/src/main/res/values-hi/strings.xml b/app/src/main/res/values-hi/strings.xml index 9d719b6a..c33ac216 100644 --- a/app/src/main/res/values-hi/strings.xml +++ b/app/src/main/res/values-hi/strings.xml @@ -67,7 +67,6 @@ "हटाए हुए पोस्ट देखें" "वालपेपर लगाएं " "व्यक्तिगत संदेश भेजें" - "प्रतिबंधित करें " "JSON प्रतिक्रिया को समझने में त्रुटि" "टोकन प्राप्ति में त्रुटि" "कुछ गलत हो गया है। बाद में पुनः प्रयास करें।" @@ -816,9 +815,6 @@ https://play.google.com/store/apps/details?id=ml.docilealligator.infinityforredd "%1$s अंक" "अगार आपका 2-कदाम प्रमाणीकरण चालू है, तो कृपिया आपना पासबर्ड(चाबी) निम्ना लिखित तरीके से दिजीये: <पासबर्ड>:<2FA code> उदाहरण: पासबर्ड:123456" - "एकाउंट ब्लक करे" - "एकाउंट ब्लक" - "ब्लक करना असफल रहा" "क्रॉसपोस्ट " "पुरस्कार दें " "क्रॉसपोस्ट" diff --git a/app/src/main/res/values-hr/strings.xml b/app/src/main/res/values-hr/strings.xml index 1b69bed7..5e90c23d 100644 --- a/app/src/main/res/values-hr/strings.xml +++ b/app/src/main/res/values-hr/strings.xml @@ -65,7 +65,6 @@ "Vidi uklonjeno" "Postavi kao pozadinu zaslona" "Pošalji privatnu poruku" - "Blokiraj korisnika" "Došlo je do pogreške prilikom raščlanjivanja JSON odgovora" "Pogreška pri dohvaćanju tokena" "Nešto je pošlo po zlu. Pokušajte ponovno kasnije." @@ -782,9 +781,6 @@ Baziraj na Indigo Amoled temi" "Pokušajte učitati video na Redgifs" "%1$s boda/ova" "Ukoliko imate omogućenu 2-faktorsku autentikaciju, upišite zaporku na sljedeći način:<zaporka>:<2FA kod>. Primjer: vašazaporka:123456" - "Blokiraj korisnika" - "Blokiran" - "Blokiranje nije uspjelo" "Crosspost" "Nagradi" "Crosspost" diff --git a/app/src/main/res/values-hu/strings.xml b/app/src/main/res/values-hu/strings.xml index c7478b23..d72b53bc 100644 --- a/app/src/main/res/values-hu/strings.xml +++ b/app/src/main/res/values-hu/strings.xml @@ -61,7 +61,6 @@ "Eltávolítottak megtekintése" "Beállítás háttérképként" "Privát üzenet küldése" - "Felhasználó tiltása" "JSON elemzési hiba" "Token kérési hiba" "Ismeretlen hiba. Próbáld meg később." @@ -753,9 +752,6 @@ Az alap az indigó amoled téma" "Próbáld meg betölteni a videót Redgifs-en" "%1$s pont" "Ha a két faktoros azonosítás be van kapcsolva, kérlek írd be a jelszavad így: <jelszó>:<2FA kód>. Például: jelszavad:123456" - "Felhasználó tiltása" - "Tiltva" - "Felhasználó tiltása nem sikerült" "Crossposzt" "Adj kitüntetést" "Crossposzt" diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index adfbff00..2b86c7dc 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -61,7 +61,6 @@ "Visualizza Rimosso" "Imposta come sfondo del dispositivo" "Invia Messaggio privato" - "Blocca utente" "Si è verificato un errore durante l'analisi della risposta JSON" "Errore durante il recupero del token" "Qualcosa è andato storto. Riprova più tardi." @@ -736,9 +735,6 @@ https://play.google.com/store/apps/details?id=ml.docilealligator.infinityforredd "%1$s pts" "Se hai attivato l'autenticazione a due fattori, per favore inserisci la password come segue: <password>:<codice per l'autenticazione a due fattori>. Esempio: latuapassword:123456" - "Blocca utente" - "Bloccato" - "Blocco utente fallito" "Crosspost" "Assegna Premio" "Crosspost" diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index 6ac12fee..c0fc088b 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -65,7 +65,6 @@ "削除済みを見る" "壁紙に設定" "個人メッセージを送信" - "ユーザーをブロック" "JSONの解析中にエラーが発生しました" "トークンの取得中にエラーが発生しました" "エラーが発生しました。後ほど再度お試しください。" @@ -831,9 +830,6 @@ https://play.google.com/store/apps/details?id=ml.docilealligator.infinityforredd "%1$s点" "2段階認証を有効にしている場合、パスワードは次のように入力してください 「<パスワード>:<2段階認証コード>」。 例「yourpass:123456」" - "ユーザーをブロック" - "ブロックしました" - "ユーザーのブロックに失敗しました" "クロスポスト" "アワードを贈る" "クロスポスト" diff --git a/app/src/main/res/values-nl/strings.xml b/app/src/main/res/values-nl/strings.xml index 952a347e..c58b2a25 100644 --- a/app/src/main/res/values-nl/strings.xml +++ b/app/src/main/res/values-nl/strings.xml @@ -61,7 +61,6 @@ "Zie verwijderd" "Instellen als startschermachtergrond" "Privebericht versturen" - "Gebruiker blokkeren" "Er is een fout opgetreden bij het verwerken van het json-antwoord" "De toegangssleutel kan niet worden opgehaald" "Er is iets misgegaan - probeer het later opnieuw." @@ -758,9 +757,6 @@ Ze is niet ziek of zo, maar ze kan zeker beter worden." "%1$s pnt" "Als je 2-factor authenticatie hebt ingeschakeld, typ dan je wachtwoord als volgt in: <wachtwoord>: <2FA code>. Voorbeeld: yourpass:123456" - "Blokkeer gebruiker" - "Geblokkeerd" - "Kan gebruiker niet blokkeren" "Crosspost" "Geef Award" "Crosspost" diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml index 4137ecb0..a57a9786 100644 --- a/app/src/main/res/values-pl/strings.xml +++ b/app/src/main/res/values-pl/strings.xml @@ -61,7 +61,6 @@ "Zobacz usunięte" "Ustaw jako tapetę" "Wyślij wiadomość prywatną" - "Zablokuj użytkownika" "Wystąpił błąd podczas analizy odpowiedzi JSON" "Wystąpił błąd podczas pobierania tokenu" "Coś poszło nie tak. Spróbuj ponownie później." @@ -748,9 +747,6 @@ Nie jest chora ani nic, ale na pewno może stać się lepsza." "%1$s punktów" "Jeśli masz włączone uwierzytelnianie dwuskładnikowe, wpisz swoje hasło w następujący sposób: <hasło>:<kod 2FA> Example: yourpass:123456" - "Zablokuj użytkownika" - "Zablokowano" - "Nie udało się zablokować użytkownika" "Crosspost" "Daj nagrodę" "Crosspost" diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml index 5137e26f..e309275e 100644 --- a/app/src/main/res/values-pt-rBR/strings.xml +++ b/app/src/main/res/values-pt-rBR/strings.xml @@ -63,7 +63,6 @@ "Ver Removido" "Definir como Papel de Parede" "Enviar Mensagem Privada" - "Bloquear Usuário" "Ocorreu uma falha ao analisar a resposta do JSON" "Falha ao recuperar token" "Algo deu errado. Tente novamente mais tarde." @@ -747,9 +746,6 @@ Ela não está doente nem nada, mas definitivamente poderia melhorar." "%1$s pontos" "Se você tem a Autenticação em 2 Etapas ativada, digite a senha da seguinte forma: <senha>:<código de autenticação>. Exemplo: suasenha:123456" - "Bloquear usuário" - "Bloqueado" - "Erro ao bloquear usuário" "Crosspost" "Dar prêmio" "Crosspost" diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml index 59a11ea1..26d31902 100644 --- a/app/src/main/res/values-pt/strings.xml +++ b/app/src/main/res/values-pt/strings.xml @@ -61,7 +61,6 @@ "Ver Removido" "Definir como Imagem de Fundo" "Enviar Mensagem Privada" - "Bloquear Utilizador" "Ocorreu um erro ao analisar a resposta do JSON" "Erro ao Recuperar token" "Algo correu mal. Tente novamente mais tarde." @@ -744,9 +743,6 @@ Ela não está doente nem nada, mas certamente poderá melhorar." "%1$s pontos" "Caso tenha autenticação de 2 fatores ativada, por favor introduza a palavra-passe da seguinte forma: <palavra-passe>:<código 2FA>. Exemplo: asuapasse:123456" - "Bloquear Utilizador" - "Bloqueado" - "Falha a bloquear utilizador" "Republicar" "Premiar" "Republicar" diff --git a/app/src/main/res/values-ro/strings.xml b/app/src/main/res/values-ro/strings.xml index e4b2a4bb..55217113 100644 --- a/app/src/main/res/values-ro/strings.xml +++ b/app/src/main/res/values-ro/strings.xml @@ -61,7 +61,6 @@ "Vezi eliminarea" "Setează ca fundal" "Trimite mesaj pirvat" - "Blochează utilizator" "A apărut o eroare la parcurgerea răspunsului JSON" "Eroare în recuperarea tokenului" "Ceva nu merge. Încearcă mai târziu." @@ -743,9 +742,6 @@ Nu este bolnavă sau ceva de genul ăsta, dar cu siguranță ar putea să se fac "%1$s puncte" "Dacă aveți activată autentificarea cu 2 factori, vă rugăm să introduceți parola dvs. după cum urmează: <parolă>:<cod 2FA>. Exemplu: parolata:123456" - "Blocați utilizatorul" - "Blocat" - "Nu s-a reușit blocarea utilizatorului" "Crosspost" "Acordați un premiu" "Crosspost" diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 4aa24f26..147bc243 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -67,7 +67,6 @@ "Просмотр удалённого" "Установить как обои" "Отправить личное сообщение" - "Заблокировать пользователя" "Произошла ошибка при анализе JSON-отчёта" "Ошибка получения токена" "Что-то пошло не так. Попробуйте позже." @@ -757,9 +756,6 @@ https://play.google.com/store/apps/details?id=ml.docilealligator.infinityforredd "%1$s пойнтов" "Если у вас включена двухфакторная аутентификация, введите пароль, как показано ниже: &lt;password&gt;:&lt;2FA code&gt;. Пример: yourpass:123456" - "Заблокировать пользователя" - "Заблокирован" - "Ошибка блокировки пользователя" "Кросспост" "Наградить" "Кросспост" diff --git a/app/src/main/res/values-tr-rTR/strings.xml b/app/src/main/res/values-tr-rTR/strings.xml index 8564d208..cbdbeca8 100644 --- a/app/src/main/res/values-tr-rTR/strings.xml +++ b/app/src/main/res/values-tr-rTR/strings.xml @@ -61,7 +61,6 @@ "Kaldırılanları Göster" "Duvar Kağıdı Yap" "Özel Mesaj Gönder" - "Kullanıcıyı Engelle" "JSON yanıtı ayrıştırılırken hata oluştu" "Token alınırken hata oluştu" "Bir şeyler yanlış gitti. Daha sonra tekrar deneyin." @@ -765,9 +764,6 @@ Amoled Tema Şablonu Oluştur" "%1$s puan" "2 faktörlü kimlik doğrulamasını etkinleştirdiyseniz, lütfen şifrenizi aşağıdaki gibi yazınız: <parola>: <2FA code>. Örnek: yourpass:123456" - "Kullanıcıyı Engelle" - "Engellendi" - "Engelleme başarısız" "Çapraz Gönderi" "Ödül Ver" "Çapraz Gönderi" diff --git a/app/src/main/res/values-uk/strings.xml b/app/src/main/res/values-uk/strings.xml index 4886211b..d4624613 100644 --- a/app/src/main/res/values-uk/strings.xml +++ b/app/src/main/res/values-uk/strings.xml @@ -61,7 +61,6 @@ "Переглянути вилучені" "Зробити шпалерами" "Надіслати приватне повідомлення" - "Блокувати користувача" "Помилка відбулася під час аналізу відповіді JSON" "Помилка отримання токена" "Щось пішло не так. Спробуйте пізніше." @@ -741,9 +740,6 @@ https://play.google.com/store/apps/details?id=ml.docilealligator.infinityforredd "%1$s блв" "Якщо у Вас дозволена 2-факторна автентифікація, вводьте свій пароль наступним чином: <пароль>:<код 2ФА>. Приклад: yourpass:123456" - "Блокувати користувача" - "Заблоковано" - "Не вдалося заблокувати користувача" "Передопис" "Дати нагороду" "Передопис" diff --git a/app/src/main/res/values-vi/strings.xml b/app/src/main/res/values-vi/strings.xml index 6457a4d7..fd989442 100644 --- a/app/src/main/res/values-vi/strings.xml +++ b/app/src/main/res/values-vi/strings.xml @@ -61,7 +61,6 @@ "Xem bài đăng đã bị xóa" "Đặt làm hình nền" "Gửi tin nhắn riêng tư" - "Chặn người dùng" "Lỗi khi phân tích phản hồi JSON" "Lỗi khi truy xuất mã thông báo" "Đã xảy ra lỗi. Thử lại sau" @@ -756,9 +755,6 @@ Cô ta không ốm hay gì cả, nhưng cô ấy chắc chắn có thể khá h "%1$s điểm" "Nếu bạn đã bật xác thực 2 yếu tố, hãy vui lòng nhập mật khẩu như sau: <mật khẩu>:<mã 2FA>. Ví dụ: yourpass:123456" - "Chặn người dùng" - "Đã chặn" - "Chặn người dùng thất bại" "Đăng chéo" "Cho giải thưởng" "Đăng chéo" diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index 226b3aa0..5dac4031 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -61,7 +61,6 @@ "查看已删除" "设为壁纸" "发送私信" - "屏蔽用户" "解析 JSON 响应错误" "获取 Token 错误" "出错了,请稍后重试。" @@ -804,9 +803,6 @@ https://play.google.com/store/apps/details?id=ml.docilealligator.infinityforredd "%1$s 分" "如果您启用了两步验证,请按如下格式输入密码(使用英文的冒号):<密码>:<两步验证代码>。 范例:yourpass:123456" - "屏蔽用户" - "已屏蔽" - "屏蔽用户失败" "转发" "给予奖励" "转发" diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index f4914ca3..ce230fdd 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -80,7 +80,6 @@ Crosspost Set as Wallpaper Send Private Message - Block User Select User Flair Give Award Save to Database @@ -1052,10 +1051,6 @@ If you have 2-factor authentication enabled, kindly type your password like the following: <password>:<2FA code>.\nExample: yourpass:123456 - Block User - Blocked - Failed to block user - User flair selected Select this user flair?