diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2022-07-27 14:31:48 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2022-07-27 14:31:48 +0000 |
commit | 6f4e9233b8bcda7054c505fb00f780e27e794b84 (patch) | |
tree | 8c33d9af589a70952c332aed472a4a9b61745440 | |
parent | 55af125dfeb6a187dcd114164bd8690114eb5c84 (diff) | |
download | infinity-for-reddit-6f4e9233b8bcda7054c505fb00f780e27e794b84.tar infinity-for-reddit-6f4e9233b8bcda7054c505fb00f780e27e794b84.tar.gz infinity-for-reddit-6f4e9233b8bcda7054c505fb00f780e27e794b84.tar.bz2 infinity-for-reddit-6f4e9233b8bcda7054c505fb00f780e27e794b84.tar.lz infinity-for-reddit-6f4e9233b8bcda7054c505fb00f780e27e794b84.tar.xz infinity-for-reddit-6f4e9233b8bcda7054c505fb00f780e27e794b84.tar.zst infinity-for-reddit-6f4e9233b8bcda7054c505fb00f780e27e794b84.zip |
Remove Block User menu option in ViewUserDetailActivity since Reddit does not allow 3rd-party apps access this API now.
24 files changed, 0 insertions, 157 deletions
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<String> composePrivateMessage(@HeaderMap Map<String, String> headers, @FieldMap Map<String, String> params); - - @FormUrlEncoded - @POST("api/block_user") - Call<String> blockUser(@HeaderMap Map<String, String> headers, @FieldMap Map<String, String> params); - @GET("r/{subredditName}/api/user_flair_v2.json?raw_json=1") Call<String> getUserFlairs(@HeaderMap Map<String, String> 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<String, String> params = new HashMap<>(); - params.put(APIUtils.NAME_KEY, username); - oauthRetrofit.create(RedditAPI.class).blockUser(APIUtils.getOAuthHeader(accessToken), params).enqueue(new Callback<String>() { - @Override - public void onResponse(@NonNull Call<String> call, @NonNull Response<String> response) { - if (response.isSuccessful()) { - blockUserListener.success(); - } else { - blockUserListener.failed(); - } - } - - @Override - public void onFailure(@NonNull Call<String> 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 @@ -56,11 +56,6 @@ android:title="@string/action_report" /> <item - android:id="@+id/action_block_user_view_user_detail_activity" - android:orderInCategory="10" - android:title="@string/action_block_user" /> - - <item android:id="@+id/action_edit_profile_view_user_detail_activity" android:orderInCategory="11" android:title="@string/action_edit_profile" /> diff --git a/app/src/main/res/values-cs/strings.xml b/app/src/main/res/values-cs/strings.xml index b7e49b06..6132f18c 100644 --- a/app/src/main/res/values-cs/strings.xml +++ b/app/src/main/res/values-cs/strings.xml @@ -61,7 +61,6 @@ <string name="action_see_removed">"Zobrazit odebrané"</string> <string name="action_set_wallpaper">"Nastavit jako pozadí"</string> <string name="action_send_private_message">"Poslat soukromou zprávu"</string> - <string name="action_block_user">"Zablokovat uživatele"</string> <string name="parse_json_response_error">"Při parsování JSON odpovědi se vyskytla chyba"</string> <string name="retrieve_token_error">"Chyba při získávání tokenu"</string> <string name="something_went_wrong">"Něco se pokazilo. Zkuste to znovu později."</string> @@ -747,9 +746,6 @@ Chodí popředu."</string> <string name="top_score">"%1$s bodů"</string> <string name="login_activity_2fa_prompt">"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"</string> - <string name="block_user">"Zablokovat uživatele"</string> - <string name="block_user_success">"Zablokován"</string> - <string name="block_user_failed">"Nepodařilo se zablokovat uživatele"</string> <string name="submit_crosspost_activity_label">"Crosspost"</string> <string name="give_award_activity_label">"Dát ocenění"</string> <string name="action_crosspost">"Crosspost"</string> 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 @@ <string name="action_see_removed">"Entfernten Beitrag ansehen"</string> <string name="action_set_wallpaper">"Als Hintergrundbild einstellen"</string> <string name="action_send_private_message">"Private Nachricht senden"</string> - <string name="action_block_user">"Benutzer blockieren"</string> <string name="parse_json_response_error">"Ein Fehler trat beim Abruf der JSON-Antwort auf"</string> <string name="retrieve_token_error">"Fehler beim Abruf des Tokens"</string> <string name="something_went_wrong">"Etwas ist schiefgelaufen. Versuche es später erneut."</string> @@ -806,9 +805,6 @@ Sie ist nicht krank oder so, aber sie könnte sich definitiv bessern."</string> <string name="top_score">"%1$s Punkte"</string> <string name="login_activity_2fa_prompt">"Wenn du die Zwei-Faktor-Authentifizierung aktiviert hast, tippe dein Passwort wie folgt ein: <passwort>:<2FA code>. Beispiel: DeinPasswort:123456"</string> - <string name="block_user">"Benutzer blockieren"</string> - <string name="block_user_success">"Blockiert"</string> - <string name="block_user_failed">"Blockieren des Benutzers fehlgeschlagen"</string> <string name="submit_crosspost_activity_label">"Crossposten"</string> <string name="give_award_activity_label">"Auszeichnung verleihen"</string> <string name="action_crosspost">"Crossposten"</string> 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 @@ <string name="action_see_removed">"Ver eliminados"</string> <string name="action_set_wallpaper">"Definir como fondo de pantalla"</string> <string name="action_send_private_message">"Enviar mensaje privado"</string> - <string name="action_block_user">"Bloquear usuario"</string> <string name="parse_json_response_error">"No fue posible procesar la respuesta JSON"</string> <string name="retrieve_token_error">"Error al recuperar el token"</string> <string name="something_went_wrong">"Algo salió mal. Inténtalo más tarde."</string> @@ -788,9 +787,6 @@ No está enferma ni nada, pero definitivamente podría mejorar."</string> <string name="top_score">"%1$s puntos"</string> <string name="login_activity_2fa_prompt">"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"</string> - <string name="block_user">"Bloquear usuario"</string> - <string name="block_user_success">"Bloqueado"</string> - <string name="block_user_failed">"No fue posible bloquear el usuario"</string> <string name="submit_crosspost_activity_label">"Crosspost"</string> <string name="give_award_activity_label">"Premiar"</string> <string name="action_crosspost">"Crosspost"</string> 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 @@ <string name="action_see_removed">"Afficher les Publications Supprimées"</string> <string name="action_set_wallpaper">"Définir comme Fond d'Écran"</string> <string name="action_send_private_message">"Envoyer le Message Privé"</string> - <string name="action_block_user">"Bloquer l'Utilisateur"</string> <string name="parse_json_response_error">"Une erreur s'est produite lors de l'analyse de la réponse JSON"</string> <string name="retrieve_token_error">"Erreur dans la récupération du jeton"</string> <string name="something_went_wrong">"Une erreur s'est produite. Veuillez réessayer plus tard."</string> @@ -840,9 +839,6 @@ Basé sur le thème sombre Indigo"</string> <string name="top_score">"%1$s pts"</string> <string name="login_activity_2fa_prompt">"Si vous avez activé l'authentification à 2 facteurs, veuillez saisir votre mot de passe comme suit : <mot de passe>:<code A2F>. Exemple : motdepasse:123456"</string> - <string name="block_user">"Bloquer l'utilisateur"</string> - <string name="block_user_success">"Bloqué"</string> - <string name="block_user_failed">"Impossible de bloquer l'utilisateur"</string> <string name="submit_crosspost_activity_label">"Crosspost"</string> <string name="give_award_activity_label">"Récompenser"</string> <string name="action_crosspost">"Crosspost"</string> 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 @@ <string name="action_see_removed">"हटाए हुए पोस्ट देखें"</string> <string name="action_set_wallpaper">"वालपेपर लगाएं "</string> <string name="action_send_private_message">"व्यक्तिगत संदेश भेजें"</string> - <string name="action_block_user">"प्रतिबंधित करें "</string> <string name="parse_json_response_error">"JSON प्रतिक्रिया को समझने में त्रुटि"</string> <string name="retrieve_token_error">"टोकन प्राप्ति में त्रुटि"</string> <string name="something_went_wrong">"कुछ गलत हो गया है। बाद में पुनः प्रयास करें।"</string> @@ -816,9 +815,6 @@ https://play.google.com/store/apps/details?id=ml.docilealligator.infinityforredd <string name="top_score">"%1$s अंक"</string> <string name="login_activity_2fa_prompt">"अगार आपका 2-कदाम प्रमाणीकरण चालू है, तो कृपिया आपना पासबर्ड(चाबी) निम्ना लिखित तरीके से दिजीये: <पासबर्ड>:<2FA code> उदाहरण: पासबर्ड:123456"</string> - <string name="block_user">"एकाउंट ब्लक करे"</string> - <string name="block_user_success">"एकाउंट ब्लक"</string> - <string name="block_user_failed">"ब्लक करना असफल रहा"</string> <string name="submit_crosspost_activity_label">"क्रॉसपोस्ट "</string> <string name="give_award_activity_label">"पुरस्कार दें "</string> <string name="action_crosspost">"क्रॉसपोस्ट"</string> 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 @@ <string name="action_see_removed">"Vidi uklonjeno"</string> <string name="action_set_wallpaper">"Postavi kao pozadinu zaslona"</string> <string name="action_send_private_message">"Pošalji privatnu poruku"</string> - <string name="action_block_user">"Blokiraj korisnika"</string> <string name="parse_json_response_error">"Došlo je do pogreške prilikom raščlanjivanja JSON odgovora"</string> <string name="retrieve_token_error">"Pogreška pri dohvaćanju tokena"</string> <string name="something_went_wrong">"Nešto je pošlo po zlu. Pokušajte ponovno kasnije."</string> @@ -782,9 +781,6 @@ Baziraj na Indigo Amoled temi"</string> <string name="load_video_in_redgifs">"Pokušajte učitati video na Redgifs"</string> <string name="top_score">"%1$s boda/ova"</string> <string name="login_activity_2fa_prompt">"Ukoliko imate omogućenu 2-faktorsku autentikaciju, upišite zaporku na sljedeći način:<zaporka>:<2FA kod>. Primjer: vašazaporka:123456"</string> - <string name="block_user">"Blokiraj korisnika"</string> - <string name="block_user_success">"Blokiran"</string> - <string name="block_user_failed">"Blokiranje nije uspjelo"</string> <string name="submit_crosspost_activity_label">"Crosspost"</string> <string name="give_award_activity_label">"Nagradi"</string> <string name="action_crosspost">"Crosspost"</string> 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 @@ <string name="action_see_removed">"Eltávolítottak megtekintése"</string> <string name="action_set_wallpaper">"Beállítás háttérképként"</string> <string name="action_send_private_message">"Privát üzenet küldése"</string> - <string name="action_block_user">"Felhasználó tiltása"</string> <string name="parse_json_response_error">"JSON elemzési hiba"</string> <string name="retrieve_token_error">"Token kérési hiba"</string> <string name="something_went_wrong">"Ismeretlen hiba. Próbáld meg később."</string> @@ -753,9 +752,6 @@ Az alap az indigó amoled téma"</string> <string name="load_video_in_redgifs">"Próbáld meg betölteni a videót Redgifs-en"</string> <string name="top_score">"%1$s pont"</string> <string name="login_activity_2fa_prompt">"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"</string> - <string name="block_user">"Felhasználó tiltása"</string> - <string name="block_user_success">"Tiltva"</string> - <string name="block_user_failed">"Felhasználó tiltása nem sikerült"</string> <string name="submit_crosspost_activity_label">"Crossposzt"</string> <string name="give_award_activity_label">"Adj kitüntetést"</string> <string name="action_crosspost">"Crossposzt"</string> 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 @@ <string name="action_see_removed">"Visualizza Rimosso"</string> <string name="action_set_wallpaper">"Imposta come sfondo del dispositivo"</string> <string name="action_send_private_message">"Invia Messaggio privato"</string> - <string name="action_block_user">"Blocca utente"</string> <string name="parse_json_response_error">"Si è verificato un errore durante l'analisi della risposta JSON"</string> <string name="retrieve_token_error">"Errore durante il recupero del token"</string> <string name="something_went_wrong">"Qualcosa è andato storto. Riprova più tardi."</string> @@ -736,9 +735,6 @@ https://play.google.com/store/apps/details?id=ml.docilealligator.infinityforredd <string name="top_score">"%1$s pts"</string> <string name="login_activity_2fa_prompt">"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"</string> - <string name="block_user">"Blocca utente"</string> - <string name="block_user_success">"Bloccato"</string> - <string name="block_user_failed">"Blocco utente fallito"</string> <string name="submit_crosspost_activity_label">"Crosspost"</string> <string name="give_award_activity_label">"Assegna Premio"</string> <string name="action_crosspost">"Crosspost"</string> 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 @@ <string name="action_see_removed">"削除済みを見る"</string> <string name="action_set_wallpaper">"壁紙に設定"</string> <string name="action_send_private_message">"個人メッセージを送信"</string> - <string name="action_block_user">"ユーザーをブロック"</string> <string name="parse_json_response_error">"JSONの解析中にエラーが発生しました"</string> <string name="retrieve_token_error">"トークンの取得中にエラーが発生しました"</string> <string name="something_went_wrong">"エラーが発生しました。後ほど再度お試しください。"</string> @@ -831,9 +830,6 @@ https://play.google.com/store/apps/details?id=ml.docilealligator.infinityforredd <string name="top_score">"%1$s点"</string> <string name="login_activity_2fa_prompt">"2段階認証を有効にしている場合、パスワードは次のように入力してください 「<パスワード>:<2段階認証コード>」。 例「yourpass:123456」"</string> - <string name="block_user">"ユーザーをブロック"</string> - <string name="block_user_success">"ブロックしました"</string> - <string name="block_user_failed">"ユーザーのブロックに失敗しました"</string> <string name="submit_crosspost_activity_label">"クロスポスト"</string> <string name="give_award_activity_label">"アワードを贈る"</string> <string name="action_crosspost">"クロスポスト"</string> 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 @@ <string name="action_see_removed">"Zie verwijderd"</string> <string name="action_set_wallpaper">"Instellen als startschermachtergrond"</string> <string name="action_send_private_message">"Privebericht versturen"</string> - <string name="action_block_user">"Gebruiker blokkeren"</string> <string name="parse_json_response_error">"Er is een fout opgetreden bij het verwerken van het json-antwoord"</string> <string name="retrieve_token_error">"De toegangssleutel kan niet worden opgehaald"</string> <string name="something_went_wrong">"Er is iets misgegaan - probeer het later opnieuw."</string> @@ -758,9 +757,6 @@ Ze is niet ziek of zo, maar ze kan zeker beter worden."</string> <string name="top_score">"%1$s pnt"</string> <string name="login_activity_2fa_prompt">"Als je 2-factor authenticatie hebt ingeschakeld, typ dan je wachtwoord als volgt in: <wachtwoord>: <2FA code>. Voorbeeld: yourpass:123456"</string> - <string name="block_user">"Blokkeer gebruiker"</string> - <string name="block_user_success">"Geblokkeerd"</string> - <string name="block_user_failed">"Kan gebruiker niet blokkeren"</string> <string name="submit_crosspost_activity_label">"Crosspost"</string> <string name="give_award_activity_label">"Geef Award"</string> <string name="action_crosspost">"Crosspost"</string> 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 @@ <string name="action_see_removed">"Zobacz usunięte"</string> <string name="action_set_wallpaper">"Ustaw jako tapetę"</string> <string name="action_send_private_message">"Wyślij wiadomość prywatną"</string> - <string name="action_block_user">"Zablokuj użytkownika"</string> <string name="parse_json_response_error">"Wystąpił błąd podczas analizy odpowiedzi JSON"</string> <string name="retrieve_token_error">"Wystąpił błąd podczas pobierania tokenu"</string> <string name="something_went_wrong">"Coś poszło nie tak. Spróbuj ponownie później."</string> @@ -748,9 +747,6 @@ Nie jest chora ani nic, ale na pewno może stać się lepsza."</string> <string name="top_score">"%1$s punktów"</string> <string name="login_activity_2fa_prompt">"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"</string> - <string name="block_user">"Zablokuj użytkownika"</string> - <string name="block_user_success">"Zablokowano"</string> - <string name="block_user_failed">"Nie udało się zablokować użytkownika"</string> <string name="submit_crosspost_activity_label">"Crosspost"</string> <string name="give_award_activity_label">"Daj nagrodę"</string> <string name="action_crosspost">"Crosspost"</string> 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 @@ <string name="action_see_removed">"Ver Removido"</string> <string name="action_set_wallpaper">"Definir como Papel de Parede"</string> <string name="action_send_private_message">"Enviar Mensagem Privada"</string> - <string name="action_block_user">"Bloquear Usuário"</string> <string name="parse_json_response_error">"Ocorreu uma falha ao analisar a resposta do JSON"</string> <string name="retrieve_token_error">"Falha ao recuperar token"</string> <string name="something_went_wrong">"Algo deu errado. Tente novamente mais tarde."</string> @@ -747,9 +746,6 @@ Ela não está doente nem nada, mas definitivamente poderia melhorar."</string> <string name="top_score">"%1$s pontos"</string> <string name="login_activity_2fa_prompt">"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"</string> - <string name="block_user">"Bloquear usuário"</string> - <string name="block_user_success">"Bloqueado"</string> - <string name="block_user_failed">"Erro ao bloquear usuário"</string> <string name="submit_crosspost_activity_label">"Crosspost"</string> <string name="give_award_activity_label">"Dar prêmio"</string> <string name="action_crosspost">"Crosspost"</string> 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 @@ <string name="action_see_removed">"Ver Removido"</string> <string name="action_set_wallpaper">"Definir como Imagem de Fundo"</string> <string name="action_send_private_message">"Enviar Mensagem Privada"</string> - <string name="action_block_user">"Bloquear Utilizador"</string> <string name="parse_json_response_error">"Ocorreu um erro ao analisar a resposta do JSON"</string> <string name="retrieve_token_error">"Erro ao Recuperar token"</string> <string name="something_went_wrong">"Algo correu mal. Tente novamente mais tarde."</string> @@ -744,9 +743,6 @@ Ela não está doente nem nada, mas certamente poderá melhorar."</string> <string name="top_score">"%1$s pontos"</string> <string name="login_activity_2fa_prompt">"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"</string> - <string name="block_user">"Bloquear Utilizador"</string> - <string name="block_user_success">"Bloqueado"</string> - <string name="block_user_failed">"Falha a bloquear utilizador"</string> <string name="submit_crosspost_activity_label">"Republicar"</string> <string name="give_award_activity_label">"Premiar"</string> <string name="action_crosspost">"Republicar"</string> 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 @@ <string name="action_see_removed">"Vezi eliminarea"</string> <string name="action_set_wallpaper">"Setează ca fundal"</string> <string name="action_send_private_message">"Trimite mesaj pirvat"</string> - <string name="action_block_user">"Blochează utilizator"</string> <string name="parse_json_response_error">"A apărut o eroare la parcurgerea răspunsului JSON"</string> <string name="retrieve_token_error">"Eroare în recuperarea tokenului"</string> <string name="something_went_wrong">"Ceva nu merge. Încearcă mai târziu."</string> @@ -743,9 +742,6 @@ Nu este bolnavă sau ceva de genul ăsta, dar cu siguranță ar putea să se fac <string name="top_score">"%1$s puncte"</string> <string name="login_activity_2fa_prompt">"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"</string> - <string name="block_user">"Blocați utilizatorul"</string> - <string name="block_user_success">"Blocat"</string> - <string name="block_user_failed">"Nu s-a reușit blocarea utilizatorului"</string> <string name="submit_crosspost_activity_label">"Crosspost"</string> <string name="give_award_activity_label">"Acordați un premiu"</string> <string name="action_crosspost">"Crosspost"</string> 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 @@ <string name="action_see_removed">"Просмотр удалённого"</string> <string name="action_set_wallpaper">"Установить как обои"</string> <string name="action_send_private_message">"Отправить личное сообщение"</string> - <string name="action_block_user">"Заблокировать пользователя"</string> <string name="parse_json_response_error">"Произошла ошибка при анализе JSON-отчёта"</string> <string name="retrieve_token_error">"Ошибка получения токена"</string> <string name="something_went_wrong">"Что-то пошло не так. Попробуйте позже."</string> @@ -757,9 +756,6 @@ https://play.google.com/store/apps/details?id=ml.docilealligator.infinityforredd <string name="top_score">"%1$s пойнтов"</string> <string name="login_activity_2fa_prompt">"Если у вас включена двухфакторная аутентификация, введите пароль, как показано ниже: &lt;password&gt;:&lt;2FA code&gt;. Пример: yourpass:123456"</string> - <string name="block_user">"Заблокировать пользователя"</string> - <string name="block_user_success">"Заблокирован"</string> - <string name="block_user_failed">"Ошибка блокировки пользователя"</string> <string name="submit_crosspost_activity_label">"Кросспост"</string> <string name="give_award_activity_label">"Наградить"</string> <string name="action_crosspost">"Кросспост"</string> 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 @@ <string name="action_see_removed">"Kaldırılanları Göster"</string> <string name="action_set_wallpaper">"Duvar Kağıdı Yap"</string> <string name="action_send_private_message">"Özel Mesaj Gönder"</string> - <string name="action_block_user">"Kullanıcıyı Engelle"</string> <string name="parse_json_response_error">"JSON yanıtı ayrıştırılırken hata oluştu"</string> <string name="retrieve_token_error">"Token alınırken hata oluştu"</string> <string name="something_went_wrong">"Bir şeyler yanlış gitti. Daha sonra tekrar deneyin."</string> @@ -765,9 +764,6 @@ Amoled Tema Şablonu Oluştur"</string> <string name="top_score">"%1$s puan"</string> <string name="login_activity_2fa_prompt">"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"</string> - <string name="block_user">"Kullanıcıyı Engelle"</string> - <string name="block_user_success">"Engellendi"</string> - <string name="block_user_failed">"Engelleme başarısız"</string> <string name="submit_crosspost_activity_label">"Çapraz Gönderi"</string> <string name="give_award_activity_label">"Ödül Ver"</string> <string name="action_crosspost">"Çapraz Gönderi"</string> 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 @@ <string name="action_see_removed">"Переглянути вилучені"</string> <string name="action_set_wallpaper">"Зробити шпалерами"</string> <string name="action_send_private_message">"Надіслати приватне повідомлення"</string> - <string name="action_block_user">"Блокувати користувача"</string> <string name="parse_json_response_error">"Помилка відбулася під час аналізу відповіді JSON"</string> <string name="retrieve_token_error">"Помилка отримання токена"</string> <string name="something_went_wrong">"Щось пішло не так. Спробуйте пізніше."</string> @@ -741,9 +740,6 @@ https://play.google.com/store/apps/details?id=ml.docilealligator.infinityforredd <string name="top_score">"%1$s блв"</string> <string name="login_activity_2fa_prompt">"Якщо у Вас дозволена 2-факторна автентифікація, вводьте свій пароль наступним чином: <пароль>:<код 2ФА>. Приклад: yourpass:123456"</string> - <string name="block_user">"Блокувати користувача"</string> - <string name="block_user_success">"Заблоковано"</string> - <string name="block_user_failed">"Не вдалося заблокувати користувача"</string> <string name="submit_crosspost_activity_label">"Передопис"</string> <string name="give_award_activity_label">"Дати нагороду"</string> <string name="action_crosspost">"Передопис"</string> 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 @@ <string name="action_see_removed">"Xem bài đăng đã bị xóa"</string> <string name="action_set_wallpaper">"Đặt làm hình nền"</string> <string name="action_send_private_message">"Gửi tin nhắn riêng tư"</string> - <string name="action_block_user">"Chặn người dùng"</string> <string name="parse_json_response_error">"Lỗi khi phân tích phản hồi JSON"</string> <string name="retrieve_token_error">"Lỗi khi truy xuất mã thông báo"</string> <string name="something_went_wrong">"Đã xảy ra lỗi. Thử lại sau"</string> @@ -756,9 +755,6 @@ Cô ta không ốm hay gì cả, nhưng cô ấy chắc chắn có thể khá h <string name="top_score">"%1$s điểm"</string> <string name="login_activity_2fa_prompt">"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"</string> - <string name="block_user">"Chặn người dùng"</string> - <string name="block_user_success">"Đã chặn"</string> - <string name="block_user_failed">"Chặn người dùng thất bại"</string> <string name="submit_crosspost_activity_label">"Đăng chéo"</string> <string name="give_award_activity_label">"Cho giải thưởng"</string> <string name="action_crosspost">"Đăng chéo"</string> 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 @@ <string name="action_see_removed">"查看已删除"</string> <string name="action_set_wallpaper">"设为壁纸"</string> <string name="action_send_private_message">"发送私信"</string> - <string name="action_block_user">"屏蔽用户"</string> <string name="parse_json_response_error">"解析 JSON 响应错误"</string> <string name="retrieve_token_error">"获取 Token 错误"</string> <string name="something_went_wrong">"出错了,请稍后重试。"</string> @@ -804,9 +803,6 @@ https://play.google.com/store/apps/details?id=ml.docilealligator.infinityforredd <string name="top_score">"%1$s 分"</string> <string name="login_activity_2fa_prompt">"如果您启用了两步验证,请按如下格式输入密码(使用英文的冒号):<密码>:<两步验证代码>。 范例:yourpass:123456"</string> - <string name="block_user">"屏蔽用户"</string> - <string name="block_user_success">"已屏蔽"</string> - <string name="block_user_failed">"屏蔽用户失败"</string> <string name="submit_crosspost_activity_label">"转发"</string> <string name="give_award_activity_label">"给予奖励"</string> <string name="action_crosspost">"转发"</string> 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 @@ <string name="action_crosspost">Crosspost</string> <string name="action_set_wallpaper">Set as Wallpaper</string> <string name="action_send_private_message">Send Private Message</string> - <string name="action_block_user">Block User</string> <string name="action_select_user_flair">Select User Flair</string> <string name="action_give_award">Give Award</string> <string name="action_save_to_database">Save to Database</string> @@ -1052,10 +1051,6 @@ <string name="login_activity_2fa_prompt">If you have 2-factor authentication enabled, kindly type your password like the following: <password>:<2FA code>.\nExample: yourpass:123456</string> - <string name="block_user">Block User</string> - <string name="block_user_success">Blocked</string> - <string name="block_user_failed">Failed to block user</string> - <string name="select_user_flair_success">User flair selected</string> <string name="select_this_user_flair">Select this user flair?</string> |