diff --git a/app/src/main/java/dev/lucalewin/planer/MainActivity.java b/app/src/main/java/dev/lucalewin/planer/MainActivity.java
index 3d94ddc..ba7aaa4 100644
--- a/app/src/main/java/dev/lucalewin/planer/MainActivity.java
+++ b/app/src/main/java/dev/lucalewin/planer/MainActivity.java
@@ -12,7 +12,6 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
-import java.util.Objects;
import de.dlyt.yanndroid.oneui.layout.ToolbarLayout;
import de.dlyt.yanndroid.oneui.widget.SwipeRefreshLayout;
@@ -22,7 +21,6 @@
import dev.lucalewin.planer.iserv.web_scraping.IservWebScraper;
import dev.lucalewin.planer.iserv.web_scraping.TaskRunner;
import dev.lucalewin.planer.preferences.Preferences;
-import dev.lucalewin.planer.preferences.language.LanguageUtil;
import dev.lucalewin.planer.util.Tuple;
public class MainActivity extends BaseThemeActivity {
@@ -45,7 +43,7 @@ protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
- LanguageUtil.init(this);
+// LanguageUtil.init(this);
mContext = this;
toolbarLayout = findViewById(R.id.main_toolbar_layout);
diff --git a/app/src/main/res/layout/activity_settings.xml b/app/src/main/res/layout/activity_settings.xml
index acc6a87..ce222d9 100644
--- a/app/src/main/res/layout/activity_settings.xml
+++ b/app/src/main/res/layout/activity_settings.xml
@@ -5,7 +5,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/settings_toolbar_layout"
- app:title="Settings"
+ app:title="@string/settings"
app:expanded="false"
app:layout_behavior="@string/sesl_appbar_scrolling_view_behavior"
app:navigationIcon="@drawable/ic_samsung_arrow_left"
diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml
index 5b7b53d..f678c7d 100644
--- a/app/src/main/res/values-de/strings.xml
+++ b/app/src/main/res/values-de/strings.xml
@@ -1,7 +1,6 @@
- Planer
- Info
+ Info zu Planer
Einstellungen
Iserv Base URL
Benutzername
@@ -10,10 +9,25 @@
Abbruch
Heute
Morgen
- Allgemein
- Type
+ Art
Fehlt
Stunde
Sprache
Benachrichtigungen
+ Kurs
+ Stunde
+ Lehrer
+ Datenschutz
+ Kontakt
+ Style
+ Kurse
+ Planer Account
+ Iserv Account
+ Klasse
+ Allgemein
+ Planer
+ Accounts
+ Information
+ Klasse • Kurse
+ URL • Benutzername • Password
\ 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 bc216ba..d55d2e7 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -1,6 +1,6 @@
- Planer
- Info
+ Planer
+ About Planer
Settings
Iserv Base URL
Username
@@ -9,10 +9,25 @@
Cancel
Today
Tomorrow
- General
Type
Missing
Hour
Language
Notifications
+ Course
+ Lesson
+ Teacher
+ Privacy Policy
+ Contact us
+ Preferences
+ Courses
+ Planer Account
+ Iserv Account
+ Class
+ General
+ Planer
+ Accounts
+ Information
+ Class • Courses
+ URL • Username • Password
\ No newline at end of file
diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml
index 1161caa..27200c1 100644
--- a/app/src/main/res/xml/preferences.xml
+++ b/app/src/main/res/xml/preferences.xml
@@ -3,10 +3,10 @@
xmlns:app="http://schemas.android.com/apk/res-auto">
+ android:title="@string/category_general">
+ android:key="preferences" android:title="@string/preferences" android:summary="Theme • Color">
+ android:key="language_selector" android:title="@string/language" android:entries="@array/languages" android:entryValues="@array/languages" />
+ android:title="@string/category_planer">
-
-
-
-
+
+
+
+
+
+ android:key="class" android:title="@string/_class" />
+ android:key="courses" android:title="@string/courses" android:summary="Select your courses • Available courses in your class" />
+ android:title="@string/category_accounts">
+ android:key="planer_account" android:title="@string/account_planer_preference" android:summary="@string/account_planer_preference_summary">
+ android:key="iserv_account" android:title="@string/account_iserv_preference_title" android:summary="@string/account_iserv_preference_summary">
+ android:title="@string/category_information">
+ android:key="privacy_policy" android:title="@string/privacy_policy">
+ android:key="about_app" android:title="@string/app_info">
+ android:key="contact_us" android:title="@string/contact">
-
-