aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2021-09-14 16:01:32 -0600
committerBryson Steck <steck.bryson@gmail.com>2021-09-14 16:01:32 -0600
commit0be17f151a4789a608cdc8607f8f959e85775436 (patch)
tree54c33327031f7113cfb5414d78d22bb154d75dde /app/src/main
parent0f910490ec826f2e3130505937e1f8b6e48dabc3 (diff)
downloadwiimmfi-watcher-1.2.1.tar
wiimmfi-watcher-1.2.1.tar.gz
wiimmfi-watcher-1.2.1.tar.bz2
added notice to app1.2.1
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/me/brysonsteck/wiimmfiwatcher/fragments/WatchCodeFragment.java6
-rw-r--r--app/src/main/res/values-de/strings.xml1
-rw-r--r--app/src/main/res/values-es/strings.xml1
-rw-r--r--app/src/main/res/values-fr/strings.xml1
-rw-r--r--app/src/main/res/values-it/strings.xml1
-rw-r--r--app/src/main/res/values-ja/strings.xml1
-rw-r--r--app/src/main/res/values-ko/strings.xml1
-rw-r--r--app/src/main/res/values-pt/strings.xml1
-rw-r--r--app/src/main/res/values/strings.xml2
9 files changed, 15 insertions, 0 deletions
diff --git a/app/src/main/java/me/brysonsteck/wiimmfiwatcher/fragments/WatchCodeFragment.java b/app/src/main/java/me/brysonsteck/wiimmfiwatcher/fragments/WatchCodeFragment.java
index 2a63379..eea03fb 100644
--- a/app/src/main/java/me/brysonsteck/wiimmfiwatcher/fragments/WatchCodeFragment.java
+++ b/app/src/main/java/me/brysonsteck/wiimmfiwatcher/fragments/WatchCodeFragment.java
@@ -3,6 +3,7 @@ package me.brysonsteck.wiimmfiwatcher.fragments;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
+import android.text.method.LinkMovementMethod;
import android.transition.TransitionInflater;
import android.view.KeyEvent;
import android.view.View;
@@ -64,6 +65,11 @@ public class WatchCodeFragment extends Fragment {
progressBar = new ProgressDialog(getContext(), R.style.AppCompatAlertDialogStyle);
MaterialTextView errorText = view.findViewById(R.id.error_text);
+ // TODO: Remove these 3 lines of code if DDoS protection is removed \/
+ errorText.setText(R.string.ddos_notice);
+ errorText.setClickable(true);
+ errorText.setMovementMethod(LinkMovementMethod.getInstance());
+
WatchCodeAdapter adapter = new WatchCodeAdapter(getContext(), viewModel.getEntries(), errorText, progressBar);
viewModel.getEntries().addOnListChangedCallback(new ObservableList.OnListChangedCallback<ObservableList<FriendCode>>() {
@Override
diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml
index 5e0cbeb..9c42b12 100644
--- a/app/src/main/res/values-de/strings.xml
+++ b/app/src/main/res/values-de/strings.xml
@@ -34,4 +34,5 @@
<string name="update_negative">Später</string>
<string name="update_title">Ein neues Update ist verfügbar!</string>
<string name="update_message">Eine neue Version von Wiimmfi Watcher ist im Play Store verfügbar (Version %1$s)! Sie können es herunterladen, indem Sie auf \"Aktualisieren\" klicken.</string>
+ <string name="ddos_notice">*** NOTIZ ***\nDie Domäne von Wiimmfi hat aufgrund der jüngsten DDoS-Angriffe auf die Website kürzlich einen DDoS-Schutz implementiert. Dies beeinträchtigt die Funktionalität von Wiimmfi Watcher, bis der Schutz entfernt wird. Wenn auf dem nächsten Bildschirm der Fehler "Status=503" angezeigt wird, müssen Sie möglicherweise in der Zwischenzeit die <a href="https://wiimmfi.de">offizielle Website</a> verwenden. Entschuldigung für die Unannehmlichkeiten. Sie können den Status dieses Problems mit dieser <a href="https://github.com/brysonsteck/wiimmfi-watcher/issues/2">GitHub-Ausgabe</a> anzeigen.</string>
</resources> \ No newline at end of file
diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml
index 08be5f5..8288c6f 100644
--- a/app/src/main/res/values-es/strings.xml
+++ b/app/src/main/res/values-es/strings.xml
@@ -34,4 +34,5 @@
<string name="update_negative">Luego</string>
<string name="update_title">¡Hay una nueva actualización disponible!</string>
<string name="update_message">¡Hay una nueva versión de Wiimmfi Watcher disponible en Play Store (versión %1$s)! Puedes descargarlo presionando \"Actualizar\".</string>
+ <string name="ddos_notice">*** AVISO ***\nEl dominio de Wiimmfi ha implementado recientemente la protección DDoS debido a los recientes ataques DDoS en el sitio web. Esto afectará la funcionalidad de Wiimmfi Watcher hasta que se elimine la protección. Si ves un error "Status=503" en la siguiente pantalla, es posible que tengas que usar el <a href="https://wiimmfi.de">sitio web oficial</a> mientras tanto. Disculpas por los inconvenientes. Puede ver el estado de este problema con este <a href="https://github.com/brysonsteck/wiimmfi-watcher/issues/2">problema de GitHub.</a></string>
</resources> \ No newline at end of file
diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml
index 9b37214..489b5c0 100644
--- a/app/src/main/res/values-fr/strings.xml
+++ b/app/src/main/res/values-fr/strings.xml
@@ -41,5 +41,6 @@
<string name="update_negative">Ensuite</string>
<string name="update_title">Une nouvelle mise à jour est disponible!</string>
<string name="update_message">Une nouvelle version de Wiimmfi Watcher est disponible sur le Play Store (version %1$s)! Vous pouvez le télécharger en appuyant sur \"Mettre à jour\".</string>
+ <string name="ddos_notice">*** AVIS ***\nLe domaine de Wiimmfi a récemment mis en place une protection DDoS en raison des récentes attaques DDoS sur le site Web. Cela affectera les fonctionnalités de Wiimmfi Watcher jusqu\'à ce que la protection soit supprimée. Si vous voyez une erreur "Status=503" sur l\'écran suivant, vous devrez peut-être utiliser le <a href="https://wiimmfi.de">site officiel</a> entre-temps. Mes excuses pour le derangement. Vous pouvez afficher l\'état de ce problème avec ce <a href="https://github.com/brysonsteck/wiimmfi-watcher/issues/2">problème GitHub.</a></string>
</resources> \ No newline at end of file
diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml
index 00de712..e4d6326 100644
--- a/app/src/main/res/values-it/strings.xml
+++ b/app/src/main/res/values-it/strings.xml
@@ -34,4 +34,5 @@
<string name="update_negative">Dopo</string>
<string name="update_title">È disponibile un nuovo aggiornamento!</string>
<string name="update_message">Una nuova versione di Wiimmfi Watcher è disponibile sul Play Store (versione %1$s)! Puoi scaricarlo premendo \"Aggiorna\".</string>
+ <string name="ddos_notice">*** AVVISO ***\nIl dominio di Wiimmfi ha recentemente implementato la protezione DDoS a causa dei recenti attacchi DDoS al sito web. Ciò influenzerà la funzionalità di Wiimmfi Watcher fino alla rimozione della protezione. Se vedi un errore "Status=503" nella schermata successiva, potresti dover usare il <a href="https://wiimmfi.de">sito web ufficiale</a> nel frattempo. Scuse per l\'inconveniente. Puoi visualizzare lo stato di questo problema con questo <a href="https://github.com/brysonsteck/wiimmfi-watcher/issues/2">problema di GitHub.</a></string>
</resources> \ No newline at end of file
diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml
index 6e120cc..9eae1d6 100644
--- a/app/src/main/res/values-ja/strings.xml
+++ b/app/src/main/res/values-ja/strings.xml
@@ -34,4 +34,5 @@
<string name="update_negative">後で</string>
<string name="update_title">新しいアップデートが利用可能です!</string>
<string name="update_message">Wiimmfiウォッチャーの新しいバージョンがPlayストアで入手できます(バージョン %1$s!「更新」を押すとダウンロードできます。</string>
+ <string name="ddos_notice">*** 知らせ ***\nWiimmfiのドメインは、Webサイトに対する最近のDDoS攻撃により、最近DDoS保護を実装しました。 これは、保護が解除されるまでWiimmfiWatcherの機能に影響します。 次の画面で「Status=503」エラーが表示された場合は、当面の間、<a href="https://wiimmfi.de">公式Webサイト</a>を使用する必要がある場合があります。 ご迷惑をおかけして申し訳ございません。 この<a href="https://github.com/brysonsteck/wiimmfi-watcher/issues/2">GitHubの問題</a>でこの問題の状態を確認できます。</string>
</resources> \ No newline at end of file
diff --git a/app/src/main/res/values-ko/strings.xml b/app/src/main/res/values-ko/strings.xml
index 0343262..dce055e 100644
--- a/app/src/main/res/values-ko/strings.xml
+++ b/app/src/main/res/values-ko/strings.xml
@@ -34,4 +34,5 @@
<string name="update_negative">나중</string>
<string name="update_title">새로운 업데이트가 있습니다!</string>
<string name="update_message">Play 스토어 (버전 %1$s)에서 Wiimmfi Watcher의 새 버전을 사용할 수 있습니다! \"업데이트\"를 눌러 다운로드 할 수 있습니다.</string>
+ <string name="ddos_notice">*** 알아 채다 ***\nWiimmfi의 도메인은 최근 웹사이트에 대한 DDoS 공격으로 인해 DDoS 보호를 구현했습니다. 이것은 보호가 제거될 때까지 Wiimmfi Watcher의 기능에 영향을 미칩니다. 다음 화면에서 "Status=503" 오류가 표시되면 그 동안 <a href="https://wiimmfi.de">공식 웹사이트</a>를 사용해야 할 수 있습니다. 불편을 끼쳐 드린 것에 대해 죄송합니다. 이 <a href="https://github.com/brysonsteck/wiimmfi-watcher/issues/2">GitHub 문제</a>에서 이 문제의 상태를 볼 수 있습니다.</string>
</resources> \ No newline at end of file
diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml
index 4b7611d..1167817 100644
--- a/app/src/main/res/values-pt/strings.xml
+++ b/app/src/main/res/values-pt/strings.xml
@@ -34,4 +34,5 @@
<string name="update_negative">Mais tarde</string>
<string name="update_title">Uma nova atualização está disponível!</string>
<string name="update_message">Uma nova versão do Wiimmfi Watcher está disponível na Play Store (versão %1$s)! Você pode baixá-lo pressionando \"Atualizar\".</string>
+ <string name="ddos_notice">*** PERCEBER ***\nO domínio de Wiimmfi implementou recentemente proteção DDoS devido aos recentes ataques DDoS no site. Isso afetará a funcionalidade do Wiimmfi Watcher até que a proteção seja removida. Se você vir um erro "Status=503" na próxima tela, talvez seja necessário usar o <a href="https://wiimmfi.de">site oficial</a> enquanto isso. Desculpas pela inconveniência. Você pode ver o estado desse problema com este <a href="https://github.com/brysonsteck/wiimmfi-watcher/issues/2">problema do GitHub.</a></string>
</resources> \ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 33139ba..56fce93 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -44,4 +44,6 @@
<string name="update_message">A new version of Wiimmfi Watcher is available on the Play Store (version %1$s)! You can download it by pressing \"Update\".</string>
<string name="update_positive">Update</string>
<string name="update_negative">Later</string>
+
+ <string name="ddos_notice">"*** NOTICE ***\nWiimmfi's domain has recently implemented DDoS protection due to recent DDoS attacks on the website. This will affect Wiimmfi Watcher's functionality until the protection is removed. If you see a "Status=503" error on the next screen, you may have to use the <a href="https://wiimmfi.de">official website</a> in the meantime. Apologies for the inconvenience. You can view the state of this issue with this <a href="https://github.com/brysonsteck/wiimmfi-watcher/issues/2">GitHub issue.</a> "</string>
</resources> \ No newline at end of file