diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt index 4ab55885e..020328385 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt @@ -104,6 +104,7 @@ class MainActivity : SimpleActivity(), NavigationListener { override fun onOptionsItemSelected(item: MenuItem): Boolean { when (item.itemId) { R.id.change_view -> showViewDialog() + R.id.filter -> showFilterDialog() R.id.import_events -> tryImportEvents() R.id.settings -> launchSettings() R.id.about -> launchAbout() @@ -126,6 +127,10 @@ class MainActivity : SimpleActivity(), NavigationListener { } } + private fun showFilterDialog() { + + } + private fun updateView(view: Int) { calendar_fab.beGoneIf(view == YEARLY_VIEW) mIsMonthSelected = view == MONTHLY_VIEW diff --git a/app/src/main/res/menu/menu.xml b/app/src/main/res/menu/menu.xml index 1ebc09a26..884b9f481 100644 --- a/app/src/main/res/menu/menu.xml +++ b/app/src/main/res/menu/menu.xml @@ -6,6 +6,11 @@ android:icon="@drawable/ic_change_view" android:title="@string/change_view" app:showAsAction="ifRoom"/> + Termin erfolgreich hinzugefügt Termin erfolgreich in der Vergangenheit hinzugefügt Termin erfolgreich aktualisiert + Filter + Filter events by type Wähle ein Wiederholungsintervall diff --git a/app/src/main/res/values-es-rES/strings.xml b/app/src/main/res/values-es-rES/strings.xml index 139be2353..5108162eb 100644 --- a/app/src/main/res/values-es-rES/strings.xml +++ b/app/src/main/res/values-es-rES/strings.xml @@ -23,6 +23,8 @@ El evento se ha añadido con éxito El evento en el pasado se ha añadido con éxito El evento se ha actualizado con éxito + Filter + Filter events by type Select a repeat interval diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index ca7b18288..51da2c81a 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -23,6 +23,8 @@ Evénement ajouté avec succès Evénement dans le passé ajouté avec succès Evénement ajouté avec succès + Filter + Filter events by type Select a repeat interval diff --git a/app/src/main/res/values-hi-rIN/strings.xml b/app/src/main/res/values-hi-rIN/strings.xml index 7c137ccaa..bb687cc96 100644 --- a/app/src/main/res/values-hi-rIN/strings.xml +++ b/app/src/main/res/values-hi-rIN/strings.xml @@ -23,6 +23,8 @@ इवेंट सफलतापूर्वक जोड़ा गया भुत में इवेंट सफलतापूर्वक जोड़ा गया इवेंट सफलतापूर्वक अपडेट किया गया + Filter + Filter events by type Select a repeat interval diff --git a/app/src/main/res/values-hu/strings.xml b/app/src/main/res/values-hu/strings.xml index 06e5b0429..1a2ede199 100644 --- a/app/src/main/res/values-hu/strings.xml +++ b/app/src/main/res/values-hu/strings.xml @@ -23,6 +23,8 @@ Bejegyzés hozzáadva Korábbi bejegyzés hozzáadva Bejegyzés frissítve + Filter + Filter events by type Select a repeat interval diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index 2df8eda5b..3bf7eacfd 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -23,6 +23,8 @@ Evento aggiunto correttamente Event in the past added successfully Evento aggiornato correttamente + Filter + Filter events by type Select a repeat interval diff --git a/app/src/main/res/values-iw/strings.xml b/app/src/main/res/values-iw/strings.xml index e17bd5175..9a788b279 100644 --- a/app/src/main/res/values-iw/strings.xml +++ b/app/src/main/res/values-iw/strings.xml @@ -23,6 +23,8 @@ האירוע הוסף בהצלחה אירוע בעבר הוסף בהצלחה האירוע עודכן בהצלחה + Filter + Filter events by type Select a repeat interval diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index 628b99b3c..cce547164 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -23,6 +23,8 @@ イベントを正常に追加しました 過去のイベントを正常に追加しました イベントを正常に更新しました + Filter + Filter events by type Select a repeat interval diff --git a/app/src/main/res/values-pt-rPT/strings.xml b/app/src/main/res/values-pt-rPT/strings.xml index c284d15af..0e2b673cd 100644 --- a/app/src/main/res/values-pt-rPT/strings.xml +++ b/app/src/main/res/values-pt-rPT/strings.xml @@ -23,6 +23,8 @@ Evento adicionado com sucesso Evento no passado adicionado com sucesso Evento atualizado com sucesso + Filter + Filter events by type Selecione o intervalo de repetição diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index a01bb88b5..a0bdfae55 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -23,6 +23,8 @@ Событие успешно добавлено Событие в прошлом успешно создано Событие успешно обновлено + Filter + Filter events by type Select a repeat interval diff --git a/app/src/main/res/values-sk/strings.xml b/app/src/main/res/values-sk/strings.xml index df36e2380..79a651f48 100644 --- a/app/src/main/res/values-sk/strings.xml +++ b/app/src/main/res/values-sk/strings.xml @@ -23,6 +23,8 @@ Udalosť bola úspešne pridaná Udalosť v minulosti bola úspešne pridaná Udalosť bola úspešne upravená + Filtrovať + Filtrovať udalosti podľa typu Zvoľte opakovanie diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index 6e4454b68..12ebb8a35 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -23,6 +23,8 @@ Händelsen tillagd Händelsen ät tillagd Händelsen uppdaterad + Filter + Filter events by type Select a repeat interval diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index c5c3b0702..52cac957c 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -23,6 +23,8 @@ Event added successfully Event in the past added successfully Event updated successfully + Filter + Filter events by type Select a repeat interval