From 2a89f71aaa6d6adec9bafbd275a36034c8910d19 Mon Sep 17 00:00:00 2001 From: Rakantor Date: Tue, 26 Jul 2022 22:46:32 +0200 Subject: [PATCH] Refactor --- .idea/misc.xml | 6 +++-- .idea/render.experimental.xml | 7 ++++++ app/build.gradle | 8 +++--- app/src/main/res/layout/fragment_chat.xml | 3 +-- app/src/main/res/layout/fragment_home.xml | 15 ++++++----- app/src/main/res/layout/fragment_rating.xml | 6 ++--- app/src/main/res/values/strings.xml | 28 ++++++++++----------- 7 files changed, 40 insertions(+), 33 deletions(-) create mode 100644 .idea/render.experimental.xml diff --git a/.idea/misc.xml b/.idea/misc.xml index 33695e9..156dfdd 100755 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -3,10 +3,12 @@ diff --git a/.idea/render.experimental.xml b/.idea/render.experimental.xml new file mode 100644 index 0000000..53769a0 --- /dev/null +++ b/.idea/render.experimental.xml @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle index a9e83ef..6ab68db 100755 --- a/app/build.gradle +++ b/app/build.gradle @@ -27,9 +27,9 @@ android { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) - implementation 'androidx.appcompat:appcompat:1.4.0' + implementation 'androidx.appcompat:appcompat:1.4.2' implementation 'com.google.android.material:material:1.4.0' - implementation 'androidx.constraintlayout:constraintlayout:2.1.2' + implementation 'androidx.constraintlayout:constraintlayout:2.1.4' implementation 'androidx.vectordrawable:vectordrawable:1.1.0' implementation 'androidx.navigation:navigation-fragment:2.3.5' implementation 'androidx.navigation:navigation-ui:2.3.5' @@ -39,7 +39,7 @@ dependencies { androidTestImplementation 'androidx.test.ext:junit:1.1.3' androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' // Firebase - implementation 'com.google.firebase:firebase-auth:21.0.1' + implementation 'com.google.firebase:firebase-auth:21.0.6' implementation 'com.firebaseui:firebase-ui-auth:4.3.2' - implementation 'com.google.firebase:firebase-database:20.0.3' + implementation 'com.google.firebase:firebase-database:20.0.5' } diff --git a/app/src/main/res/layout/fragment_chat.xml b/app/src/main/res/layout/fragment_chat.xml index f54a787..29233fe 100755 --- a/app/src/main/res/layout/fragment_chat.xml +++ b/app/src/main/res/layout/fragment_chat.xml @@ -26,9 +26,8 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginEnd="24dp" - android:layout_marginRight="24dp" android:layout_marginBottom="24dp" - android:text="Send" + android:text="Senden" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" /> diff --git a/app/src/main/res/layout/fragment_home.xml b/app/src/main/res/layout/fragment_home.xml index 8d37849..ec191ca 100755 --- a/app/src/main/res/layout/fragment_home.xml +++ b/app/src/main/res/layout/fragment_home.xml @@ -67,7 +67,7 @@ android:id="@+id/text_home4" android:layout_width="match_parent" android:layout_height="wrap_content" - android:text="The next event will be on" + android:text="Der nächste Spieltermin ist am" android:textAlignment="center" android:textSize="14sp" /> @@ -84,7 +84,7 @@ android:id="@+id/text_home3" android:layout_width="match_parent" android:layout_height="wrap_content" - android:text="hosted by" + android:text="bei" android:textAlignment="center" android:textSize="14sp" /> @@ -130,7 +130,7 @@ android:id="@+id/text_home6" android:layout_width="match_parent" android:layout_height="wrap_content" - android:text="Vote for your favorite game" + android:text="Stimme ab für dein Lieblingsspiel!" android:textAlignment="center" android:textSize="14sp" /> @@ -149,13 +149,13 @@ android:id="@+id/vote" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="Vote" /> + android:text="Abstimmen" /> @@ -163,7 +163,7 @@ android:id="@+id/suggest" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="Suggest a new game" /> + android:text="Neues Spiel vorschlagen" /> @@ -174,8 +174,7 @@ android:layout_height="wrap_content" android:layout_marginTop="24dp" android:layout_marginEnd="24dp" - android:layout_marginRight="24dp" - android:text="Sign out" + android:text="Ausloggen" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toBottomOf="@+id/cardView3" /> diff --git a/app/src/main/res/layout/fragment_rating.xml b/app/src/main/res/layout/fragment_rating.xml index 29aa0fc..c49359c 100644 --- a/app/src/main/res/layout/fragment_rating.xml +++ b/app/src/main/res/layout/fragment_rating.xml @@ -34,7 +34,7 @@ android:id="@+id/textView" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="Select past event" /> + android:text="Vergangenen Spieltermin auswählen" /> + android:text="Gesamtbewertung" /> + android:text="Essen & Trinken" /> - IU Gamer App + IU Board-Gamer App Home - Rate + Bewerten Chat - Sign in - Email - Password - Sign in - "Login failed" - , welcome back! - DELETED + Einloggen + E-Mail-Adresse + Passwort + Einloggen + "Login fehlgeschlagen" + , willkommen zurück! + GELÖSCHT Database communication error. - Invalid email or password. - Signing you in… + Falsche E-Mail-Adresse oder Passwort. + Du wirst eingeloggt… Email or password field empty! - Cancel - Game Title + Abbrechen + Spieletitel Please rate every item. - No ratings yet. + Keine Bewertungen vorhanden. Others gave %1$d* (%2$d ratings)