Archived
Tweaks to the timetable/schedule feature so that it works properly now:
- adding events without any schedules present is prohibited - events are now properly assigned to the currently active schedule - changed top bar text in schedule fragment - changed order of headers in allergen detail sheet
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
@@ -31,22 +32,24 @@
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/text_category"
|
||||
android:id="@+id/text_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="22sp"
|
||||
app:fontFamily="@font/lato_blackitalic"
|
||||
android:paddingHorizontal="24dp"
|
||||
android:layout_marginBottom="2dp"/>
|
||||
android:layout_marginBottom="2dp"
|
||||
tools:text="Some kind of meal with extras I guess"/>
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/text_title"
|
||||
android:id="@+id/text_category"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="22sp"
|
||||
android:textSize="18sp"
|
||||
app:fontFamily="@font/lato_bolditalic"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:paddingHorizontal="24dp"/>
|
||||
android:paddingHorizontal="24dp"
|
||||
tools:text="[Category]"/>
|
||||
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -39,10 +39,22 @@
|
||||
android:layout_marginBottom="8dp"
|
||||
app:fontFamily="@font/lato_blackitalic"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/button_cancel"/>
|
||||
|
||||
<!-- <androidx.appcompat.widget.AppCompatTextView-->
|
||||
<!-- android:id="@+id/sheet_subtitle"-->
|
||||
<!-- android:layout_width="match_parent"-->
|
||||
<!-- android:layout_height="wrap_content"-->
|
||||
<!-- android:textSize="16sp"-->
|
||||
<!-- android:paddingHorizontal="24dp"-->
|
||||
<!-- android:layout_marginBottom="8dp"-->
|
||||
<!-- app:fontFamily="@font/lato_bolditalic"-->
|
||||
<!-- app:layout_constraintTop_toBottomOf="@id/sheet_title"-->
|
||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
||||
<!-- app:layout_constraintEnd_toStartOf="@id/button_cancel"/>-->
|
||||
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
@@ -94,9 +94,11 @@
|
||||
<string name="sheet_schedule_snack_update">Veranstaltung wurde aktualisiert.</string>
|
||||
<string name="sheet_schedule_update_header_edit">Bestehende Veranstaltung bearbeiten</string>
|
||||
<string name="sheet_schedule_update_header_add">Neue Veranstaltung hinzufügen</string>
|
||||
<string name="sheet_schedule_update_subheader_add">Stundenplan: %s</string>
|
||||
<string name="sheet_schedule_update_title_hint">Veranstaltungstitel</string>
|
||||
<string name="sheet_schedule_update_lecturers_hint">Dozierende*r</string>
|
||||
<string name="sheet_schedule_update_room_hint">Raum</string>
|
||||
<string name="sheet_schedule_update_no_timetable">Du musst einen Stundenplan erstellen, bevor du Veranstaltungen hinzufügst!</string>
|
||||
<string name="sheet_schedule_update_hint_quarter">Auf akademisches Viertel umstellen</string>
|
||||
<string name="sheet_schedule_update_hint_quarter_error">Sorry, ein Fehler ist aufgetreten!</string>
|
||||
<string name="sheet_schedule_update_timestamp_error_mixed">Der Kurs kann nicht enden bevor er aufhört.</string>
|
||||
@@ -145,6 +147,7 @@
|
||||
|
||||
<string name="title_schedule">Dein Stundenplan</string>
|
||||
<string name="title_schedule_short">Stundenplan</string>
|
||||
<string name="title_schedule_placeholder">Stundenplan: %s</string>
|
||||
<string name="title_exam_overview">Aufgaben & Prüfungen</string>
|
||||
<string name="title_exam_overview_short">Aufgaben</string>
|
||||
<string name="title_canteen">Mensenangebote</string>
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
<string name="introduction_button_continue">Continue to the app</string>
|
||||
|
||||
<string name="compact_overview_button_settings_hint">App settings</string>
|
||||
<string name="compact_overview_button_events_hint">Timetable</string>
|
||||
<string name="compact_overview_button_events_hint">Schedule</string>
|
||||
<string name="compact_overview_button_refresh_offers_hint">Refresh offers</string>
|
||||
<string name="compact_overview_button_offers_hint">All offers</string>
|
||||
<string name="compact_overview_header_events">Today\'s events</string>
|
||||
@@ -67,9 +67,9 @@
|
||||
<string name="fetch_bar_help_desc">Show help</string>
|
||||
<string name="fetch_bar_schedule_title">Schedule</string>
|
||||
<string name="fetch_bar_schedule_desc">Go to your schedule</string>
|
||||
<string name="fetch_bar_help_sheet_title">How to save your timetable in the app</string>
|
||||
<string name="fetch_bar_help_sheet_content"> • Log in with your Stud.IP login\n • Open your timetable view, in case it doesn\'t open automatically, by clicking the rightmost icon in the bottom bar that looks like a pencil and a ruler\n • Click the \'save\' button that appears in the bottom right corner\n • Done!</string>
|
||||
<string name="fetch_bar_save_desc">Save the timetable in the app</string>
|
||||
<string name="fetch_bar_help_sheet_title">How to save your schedule in the app</string>
|
||||
<string name="fetch_bar_help_sheet_content"> • Log in with your Stud.IP login\n • Open your schedule view, in case it doesn\'t open automatically, by clicking the rightmost icon in the bottom bar that looks like a pencil and a ruler\n • Click the \'save\' button that appears in the bottom right corner\n • Done!</string>
|
||||
<string name="fetch_bar_save_desc">Save the schedule in the app</string>
|
||||
|
||||
<string name="schedule_button_overview_hint">View full schedule</string>
|
||||
<string name="schedule_fab_add_text">New event</string>
|
||||
@@ -95,10 +95,12 @@
|
||||
<string name="sheet_schedule_snack_update">Event has been updated.</string>
|
||||
<string name="sheet_schedule_update_header_edit">Edit existing event</string>
|
||||
<string name="sheet_schedule_update_header_add">Add new event</string>
|
||||
<string name="sheet_schedule_update_subheader_add">Schedule: %s</string>
|
||||
<string name="sheet_schedule_update_title_hint">Event title</string>
|
||||
<string name="sheet_schedule_update_lecturers_hint">Lecturer(s)</string>
|
||||
<string name="sheet_schedule_update_room_hint">Room</string>
|
||||
<string name="sheet_schedule_update_timeslot_middle" translatable="false">–</string>
|
||||
<string name="sheet_schedule_update_no_timetable">You must create a schedule before you add events!</string>
|
||||
<string name="sheet_schedule_update_hint_quarter">Change to academic quarter</string>
|
||||
<string name="sheet_schedule_update_hint_quarter_error">Sorry, an error occurred!</string>
|
||||
<string name="sheet_schedule_update_timestamp_error_mixed">The course cannot end before it begins.</string>
|
||||
@@ -148,6 +150,7 @@
|
||||
|
||||
<string name="title_schedule">Your Schedule</string>
|
||||
<string name="title_schedule_short">Schedule</string>
|
||||
<string name="title_schedule_placeholder">Schedule: %s</string>
|
||||
<string name="title_exam_overview">Tasks & Exams</string>
|
||||
<string name="title_exam_overview_short">Tasks</string>
|
||||
<string name="title_canteen">Canteen Offers</string>
|
||||
@@ -243,7 +246,7 @@
|
||||
<string name="nav_settings">Settings</string>
|
||||
|
||||
<string name="new_feature_timetables_header">Heads up, new feature!</string>
|
||||
<string name="new_feature_timetables_content">As the new semester will start in a couple of weeks, you can prepare in advance by adding your new timetable! You can now add as many timetables to the app as you like.\n\nHead into the settings to find the new \'timetables\' option!</string>
|
||||
<string name="new_feature_timetables_content">As the new semester will start in a couple of weeks, you can prepare in advance by adding your new schedule! You can now add as many schedules to the app as you like.\n\nHead into the settings to find the new \'schedules\' option!</string>
|
||||
|
||||
<string name="settings_general">General</string>
|
||||
<string name="settings_schedule">Stud.IP Schedule</string>
|
||||
@@ -254,22 +257,22 @@
|
||||
<string name="refresh_schedule_title">Refresh your Stud.IP schedule</string>
|
||||
<string name="refresh_schedule_subtitle">This will clear any customisations!</string>
|
||||
|
||||
<string name="settings_selected_timetable_header">Select which timetable to display</string>
|
||||
<string name="settings_selected_timetable_hint">Timetable</string>
|
||||
<string name="settings_selected_timetable_edit_button_hint">Edit timetable</string>
|
||||
<string name="settings_selected_timetable_edit_text_title">Timetable name</string>
|
||||
<string name="settings_selected_timetable_header">Select which schedule to display</string>
|
||||
<string name="settings_selected_timetable_hint">Schedule</string>
|
||||
<string name="settings_selected_timetable_edit_button_hint">Edit schedule</string>
|
||||
<string name="settings_selected_timetable_edit_text_title">Schedule name</string>
|
||||
<string name="settings_timetable_button_add">Add</string>
|
||||
<string name="settings_timetable_button_edit">Edit</string>
|
||||
<string name="settings_timetable_sheet_header">Edit this timetable</string>
|
||||
<string name="settings_timetable_sheet_header_add">Add a new timetable</string>
|
||||
<string name="settings_timetable_edit_fail">There is no timetable to edit!</string>
|
||||
<string name="settings_timetable_sheet_confirm_save">Timetable has been updated.</string>
|
||||
<string name="settings_timetable_sheet_confirm_add">Timetable has been added.</string>
|
||||
<string name="settings_timetable_sheet_confirm_delete">Timetable has been deleted.</string>
|
||||
<string name="settings_timetable_sheet_header">Edit this schedule</string>
|
||||
<string name="settings_timetable_sheet_header_add">Add a new schedule</string>
|
||||
<string name="settings_timetable_edit_fail">There is no schedule to edit!</string>
|
||||
<string name="settings_timetable_sheet_confirm_save">Schedule has been updated.</string>
|
||||
<string name="settings_timetable_sheet_confirm_add">Schedule has been added.</string>
|
||||
<string name="settings_timetable_sheet_confirm_delete">Schedule has been deleted.</string>
|
||||
<string name="settings_timetable_sheet_delete_confirm">Sure?</string>
|
||||
<string name="settings_timetable_add_hint">Hint: if you download a timetable from Stud.IP, it automatically gets added as a new timetable, so you won\'t need to do anything here!</string>
|
||||
<string name="settings_timetable_add_hint">Hint: if you download a schedule from Stud.IP, it automatically gets added as a new schedule, so you won\'t need to do anything here!</string>
|
||||
|
||||
<string name="settings_current_day_title">Launch timetable on current day</string>
|
||||
<string name="settings_current_day_title">Launch schedule on current day</string>
|
||||
<string name="settings_current_day_subtitle">If unselected, Monday will be shown on launch instead</string>
|
||||
|
||||
<string name="settings_highlight_title">Highlight next course</string>
|
||||
|
||||
Reference in New Issue
Block a user