diff --git a/app/build.gradle b/app/build.gradle index 29a3aa3c3..06398e4ec 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -46,7 +46,7 @@ ext { } dependencies { - implementation 'com.simplemobiletools:commons:3.12.16' + implementation 'com.simplemobiletools:commons:3.14.1' implementation 'joda-time:joda-time:2.9.9' implementation 'com.facebook.stetho:stetho:1.5.0' implementation 'com.android.support:multidex:1.0.2' diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/dialogs/RepeatRuleWeeklyDialog.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/dialogs/RepeatRuleWeeklyDialog.kt index 18e694065..1348dc50e 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/dialogs/RepeatRuleWeeklyDialog.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/dialogs/RepeatRuleWeeklyDialog.kt @@ -7,20 +7,21 @@ import com.simplemobiletools.calendar.extensions.config import com.simplemobiletools.commons.extensions.setupDialogStuff import com.simplemobiletools.commons.views.MyAppCompatCheckbox import kotlinx.android.synthetic.main.dialog_vertical_linear_layout.view.* +import java.util.* class RepeatRuleWeeklyDialog(val activity: Activity, val curRepeatRule: Int, val callback: (repeatRule: Int) -> Unit) { val dialog: AlertDialog val view = activity.layoutInflater.inflate(R.layout.dialog_vertical_linear_layout, null) init { - val days = arrayOf(R.string.monday, R.string.tuesday, R.string.wednesday, R.string.thursday, R.string.friday, R.string.saturday, R.string.sunday) + val days = activity.resources.getStringArray(R.array.week_days) val res = activity.resources val checkboxes = ArrayList(7) for (i in 0..6) { val pow = Math.pow(2.0, i.toDouble()).toInt() (activity.layoutInflater.inflate(R.layout.my_checkbox, null) as MyAppCompatCheckbox).apply { isChecked = curRepeatRule and pow != 0 - text = res.getString(days[i]) + text = days[i] id = pow checkboxes.add(this) } diff --git a/app/src/main/res/drawable-hdpi/ic_clock.png b/app/src/main/res/drawable-hdpi/ic_clock.png deleted file mode 100644 index 4651478fc..000000000 Binary files a/app/src/main/res/drawable-hdpi/ic_clock.png and /dev/null differ diff --git a/app/src/main/res/drawable-hdpi/ic_snooze.png b/app/src/main/res/drawable-hdpi/ic_snooze.png deleted file mode 100644 index 43e170721..000000000 Binary files a/app/src/main/res/drawable-hdpi/ic_snooze.png and /dev/null differ diff --git a/app/src/main/res/drawable-xhdpi/ic_clock.png b/app/src/main/res/drawable-xhdpi/ic_clock.png deleted file mode 100644 index 52cf597b0..000000000 Binary files a/app/src/main/res/drawable-xhdpi/ic_clock.png and /dev/null differ diff --git a/app/src/main/res/drawable-xhdpi/ic_snooze.png b/app/src/main/res/drawable-xhdpi/ic_snooze.png deleted file mode 100644 index e27af11a0..000000000 Binary files a/app/src/main/res/drawable-xhdpi/ic_snooze.png and /dev/null differ diff --git a/app/src/main/res/drawable-xxhdpi/ic_clock.png b/app/src/main/res/drawable-xxhdpi/ic_clock.png deleted file mode 100644 index cf9551f91..000000000 Binary files a/app/src/main/res/drawable-xxhdpi/ic_clock.png and /dev/null differ diff --git a/app/src/main/res/drawable-xxhdpi/ic_snooze.png b/app/src/main/res/drawable-xxhdpi/ic_snooze.png deleted file mode 100644 index 1761d04aa..000000000 Binary files a/app/src/main/res/drawable-xxhdpi/ic_snooze.png and /dev/null differ diff --git a/app/src/main/res/drawable-xxxhdpi/ic_clock.png b/app/src/main/res/drawable-xxxhdpi/ic_clock.png deleted file mode 100644 index f156937ad..000000000 Binary files a/app/src/main/res/drawable-xxxhdpi/ic_clock.png and /dev/null differ diff --git a/app/src/main/res/drawable-xxxhdpi/ic_snooze.png b/app/src/main/res/drawable-xxxhdpi/ic_snooze.png deleted file mode 100644 index c3cdb9288..000000000 Binary files a/app/src/main/res/drawable-xxxhdpi/ic_snooze.png and /dev/null differ diff --git a/app/src/main/res/values-br/strings.xml b/app/src/main/res/values-br/strings.xml index aa3d73fa5..a2ce9bae5 100644 --- a/app/src/main/res/values-br/strings.xml +++ b/app/src/main/res/values-br/strings.xml @@ -221,21 +221,6 @@ %da eurioù - Morse - - Genver - C\'hwevrer - Meurzh - Ebrel - Mae - Mezheven - Gouere - Eost - Gwengolo - Here - Du - Kerzu - L Meu Mer @@ -244,14 +229,6 @@ Sa Su - Lun - Meurzh - Merc\'her - Yaou - Gwener - Sadorn - Sul - Lun diff --git a/app/src/main/res/values-cs/strings.xml b/app/src/main/res/values-cs/strings.xml index 27323eb3d..89fdd136a 100644 --- a/app/src/main/res/values-cs/strings.xml +++ b/app/src/main/res/values-cs/strings.xml @@ -230,21 +230,6 @@ %d hodin - Nikdy - - leden - únor - březen - duben - květen - červen - červenec - srpen - září - říjen - listopad - prosinec - P Ú S @@ -253,14 +238,6 @@ S N - Pondělí - Úterý - Středa - Čtvrtek - Pátek - Sobota - Neděle - Pondělí diff --git a/app/src/main/res/values-da/strings.xml b/app/src/main/res/values-da/strings.xml index 0a5c399a4..c4247878f 100644 --- a/app/src/main/res/values-da/strings.xml +++ b/app/src/main/res/values-da/strings.xml @@ -221,21 +221,6 @@ %d timer - Aldrig - - Januar - Februar - Marts - April - Maj - Juni - Juli - August - September - Oktober - November - December - M T O @@ -244,14 +229,6 @@ L S - Mandag - Tirsdag - Onsdag - Torsdag - Fredag - Lørdag - Søndag - Mandag diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 010b7a476..6a0044d76 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -189,13 +189,13 @@ Keine App zum Setzen des Klingeltons gefunden Kein Klingelton gewählt Terminbeginn kann nicht vor Terminende liegen - CalDAV Sync + CalDAV Synchronisierung Terminlisten Vergangene Termine anzeigen - Always use same snooze interval + Immer dasselbe Snooze-Intervall nutzen Erinnerung mit Snooze verschieben um Widgets - Replace event description with location + Ersetze Terminbeschreibung mit Ort Alle Termine löschen Bist du sicher, dass du alle Termine löschen willst? Deine Termintypen und Einstellungen bleiben erhalten. @@ -221,21 +221,6 @@ %d Stunden - Nie - - Januar - Februar - März - April - Mai - Juni - Juli - August - September - Oktober - November - Dezember - M D M @@ -244,14 +229,6 @@ S S - Montag - Dienstag - Mittwoch - Donnerstag - Freitag - Samstag - Sonntag - Montag @@ -273,12 +250,13 @@ Kaffeepause - How can I remove the holidays imported via the \"Add holidays\" button? - Holidays created that way are inserted in a new event type called \"Holidays\". You can go in Settings -> Manage Event Types, - long press the given event type and delete it by selecting the trashbin. - Can I sync my events via Google Calendar, or other service supporting CalDAV? - Yes, just toggle \"CalDAV sync\" in the app settings and select the calendars you want to sync. However, you will need some third party app handling the synchronization between the device and servers. - In case you want to synchronize a Google calendar, their official Calendar app will do the job. For other calendars you will need a third party sync adapter, for example DAVdroid. + Wie kann ich Feiertage löschen, die über \"Feiertage hinzufügen\" importiert wurden? + Die über diesen Weg erstellten Feiertage sind als Termin-Typ \"Feiertage\" deklariert. + Du kannst in den Einstellungen -> Verwalte Termin-Typen auf den Termin-Typ gedrückt halten und über das Papierkorbsymbol löschen. + Kann ich meine Termine über Google Kalender oder andere CalDAV unterstützende Dienste synchronisieren? + Ja, aktiviere \"CalDAV Synchronisierung\" in den Einstellungen und wähle die Kalender aus, die du synchronisieren willst. + Jedoch benötigst du eine separate App, die die Synchronisierung zwischen Gerät und Servern handhabt. Falls du einen Google Kalender synchronisieren willst, kann die offizielle Kalender-App dies übernehmen. + Für andere Kalender benötigst du einen Synchronisierungsadapter, wie z. B. DAVdroid. diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 3b68d684a..419e392a2 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -221,21 +221,6 @@ %d horas - Nunca - - Enero - Febrero - Marzo - Abril - Mayo - Junio - Julio - Agosto - Septiembre - Octubre - Noviembre - Diciembre - L M M @@ -244,14 +229,6 @@ S D - Lunes - Martes - Miércoles - Jueves - Viernes - Sábado - Domingo - Lunes diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index c4242218c..dcf2d3a5d 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -221,21 +221,6 @@ %d heures - Jamais - - Janvier - Février - Mars - Avril - Mai - Juin - Juillet - Août - Septembre - Octobre - Novembre - Décembre - L M M @@ -244,14 +229,6 @@ S D - Lundi - Mardi - Mercredi - Jeudi - Vendredi - Samedi - Dimanche - Lundi diff --git a/app/src/main/res/values-gl/strings.xml b/app/src/main/res/values-gl/strings.xml index e08729346..376bd2171 100644 --- a/app/src/main/res/values-gl/strings.xml +++ b/app/src/main/res/values-gl/strings.xml @@ -3,6 +3,7 @@ Simple Calendar Calendario Cambiar vista + Daily view Vista semanal Vista mensual Vista anual @@ -26,6 +27,7 @@ Evento engadido con éxito O evento foi actualizado correctamente Filtrar eventos por tipo + Please fill in a location to be shown on a map Repetición @@ -135,24 +137,14 @@ - Importando… - Exportando… Importar eventos Exportar eventos Importar eventos desde un ficheiro .ics Exportar eventos desde un ficheiro .ics - Eventos importados correctamente - Eventos exportados correctamente - Fallo ao importar eventos - Fallo ao exportar eventos - Fallo ao importar algúns eventos - Fallo ao exportar algúns eventos Tipo de evento predeterminado - Non se atoparon eventos para exportar Exportar tamén eventos pasados Incluír tipos de eventos Nome de ficheiro (sin .ics) - Sin título Título @@ -194,7 +186,6 @@ Mostrar os números da semana Vibrar coa notificación de recordatorio Son de recordatorio - Recordatorio predeterminado de un evento Non se atopou ningunha aplicación capaz de establecer o ton de aviso Ningún O día non puede rematar antes de que comece @@ -230,21 +221,6 @@ %d horas - Nunca - - Xaneiro - Febreiro - Marzo - Abril - Maio - Xuño - Xullo - Agosto - Setembro - Outubro - Novembro - Nadal - S T C @@ -253,14 +229,6 @@ Sa D - Segunda - Terceira - Cuarta - Quinta - Sexta - Sábado - Domingo - Segunda diff --git a/app/src/main/res/values-hi-rIN/strings.xml b/app/src/main/res/values-hi-rIN/strings.xml index 37215f6ff..84c7d6436 100644 --- a/app/src/main/res/values-hi-rIN/strings.xml +++ b/app/src/main/res/values-hi-rIN/strings.xml @@ -222,21 +222,6 @@ %d hours - Never - - जनवरी - फरवरी - मार्च - अप्रैल - मई - जून - जुलाई - अगस्त - सितंबर - अक्टूबर - नवंबर - दिसंबर - सो मं बू @@ -245,14 +230,6 @@ - Monday - Tuesday - Wednesday - Thursday - Friday - Saturday - Sunday - Monday diff --git a/app/src/main/res/values-hu/strings.xml b/app/src/main/res/values-hu/strings.xml index 46f5e27a8..4f45e1428 100644 --- a/app/src/main/res/values-hu/strings.xml +++ b/app/src/main/res/values-hu/strings.xml @@ -221,21 +221,6 @@ %d hours - Never - - Január - Február - Március - Április - Május - Június - Július - Augusztus - Szeptember - Október - November - December - H K SZE @@ -244,14 +229,6 @@ SZO V - Monday - Tuesday - Wednesday - Thursday - Friday - Saturday - Sunday - Monday diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index b3386d4bc..617fc9e70 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -221,21 +221,6 @@ %d hours - Never - - Gennaio - Febbraio - Marzo - Aprile - Maggio - Giugno - Luglio - Agosto - Settembre - Ottobre - Novembre - Dicembre - L M M @@ -244,14 +229,6 @@ S D - Monday - Tuesday - Wednesday - Thursday - Friday - Saturday - Sunday - Monday diff --git a/app/src/main/res/values-iw/strings.xml b/app/src/main/res/values-iw/strings.xml index bb1b1654d..785d8074b 100644 --- a/app/src/main/res/values-iw/strings.xml +++ b/app/src/main/res/values-iw/strings.xml @@ -222,21 +222,6 @@ %d hours - Never - - ינואר - פברואר - מרץ - אפריל - מאי - יוני - יולי - אוגוסט - ספטמבר - אוקטובר - נובמבר - דצמבר - ב\' ג\' ד\' @@ -245,14 +230,6 @@ ש\' א\' - Monday - Tuesday - Wednesday - Thursday - Friday - Saturday - Sunday - Monday diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index eabce4c81..fb0bdee9f 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -221,21 +221,6 @@ %d hours - Never - - 1月 - 2月 - 3月 - 4月 - 5月 - 6月 - 7月 - 8月 - 9月 - 10月 - 11月 - 12月 - @@ -244,14 +229,6 @@ - Monday - Tuesday - Wednesday - Thursday - Friday - Saturday - Sunday - Monday diff --git a/app/src/main/res/values-ko/strings.xml b/app/src/main/res/values-ko/strings.xml index d7d546c48..3edf82c1b 100644 --- a/app/src/main/res/values-ko/strings.xml +++ b/app/src/main/res/values-ko/strings.xml @@ -221,21 +221,6 @@ %d 시 - 사용 안함 - - 1월 - 2월 - 3월 - 4월 - 5월 - 6월 - 7월 - 8월 - 9월 - 10월 - 11월 - 12월 - @@ -244,14 +229,6 @@ - 월요일 - 화요일 - 수요일 - 목요일 - 금요일 - 토요일 - 일요일 - Monday diff --git a/app/src/main/res/values-nb/strings.xml b/app/src/main/res/values-nb/strings.xml index e445ef384..b652a697d 100644 --- a/app/src/main/res/values-nb/strings.xml +++ b/app/src/main/res/values-nb/strings.xml @@ -221,21 +221,6 @@ %d timer - Aldri - - Januar - Februar - Mars - April - Mai - Juni - Juli - August - September - Oktober - November - Desember - M T O @@ -244,14 +229,6 @@ L S - Mandag - Tirsdag - Onsdag - Torsdag - Fredag - Lørdag - Søndag - Mandag diff --git a/app/src/main/res/values-nl/strings.xml b/app/src/main/res/values-nl/strings.xml index 91f64151a..608794715 100644 --- a/app/src/main/res/values-nl/strings.xml +++ b/app/src/main/res/values-nl/strings.xml @@ -221,21 +221,6 @@ %d uren - Nooit - - Januari - Februari - Maart - April - Mei - Juni - Juli - Augustus - September - Oktober - November - December - M D W @@ -244,14 +229,6 @@ Z Z - Maandag - Dinsdag - Woensdag - Donderdag - Vrijdag - Zaterdag - Zondag - maandag diff --git a/app/src/main/res/values-no/strings.xml b/app/src/main/res/values-no/strings.xml index dccbd48f9..1ef8f8265 100644 --- a/app/src/main/res/values-no/strings.xml +++ b/app/src/main/res/values-no/strings.xml @@ -221,21 +221,6 @@ %d timer - Aldri - - Januar - Februar - Mars - April - Mai - Juni - Juli - August - September - Oktober - November - Desember - M T O @@ -244,14 +229,6 @@ L S - Mandag - Tirsdag - Onsdag - Torsdag - Fredag - Lørdag - Søndag - Mandag diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml index c562f90ab..024bac60c 100644 --- a/app/src/main/res/values-pl/strings.xml +++ b/app/src/main/res/values-pl/strings.xml @@ -228,21 +228,6 @@ %d godzin - Nigdy - - Styczeń - Luty - Marzec - Kwiecień - Maj - Czerwiec - Lipiec - Sierpień - Wrzesień - Październik - Listopad - Grudzień - Pn Wt Śr @@ -251,14 +236,6 @@ Sb Nd - Poniedziałek - Wtorek - Środa - Czwartek - Piątek - Sobota - Niedziela - Poniedziałek diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml index 79b14700d..490ad0138 100644 --- a/app/src/main/res/values-pt-rBR/strings.xml +++ b/app/src/main/res/values-pt-rBR/strings.xml @@ -221,21 +221,6 @@ %d hours - Never - - janeiro - fevereiro - março - abril - maio - junho - julho - agosto - setembro - outubro - novembro - dezembro - S T Q @@ -244,14 +229,6 @@ S D - Monday - Tuesday - Wednesday - Thursday - Friday - Saturday - Sunday - Monday diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml index 3c8be8586..5ec792bdc 100644 --- a/app/src/main/res/values-pt/strings.xml +++ b/app/src/main/res/values-pt/strings.xml @@ -221,21 +221,6 @@ %d horas - Nunca - - janeiro - fevereiro - março - abril - maio - junho - julho - agosto - setembro - outubro - novembro - dezembro - S T Q @@ -244,14 +229,6 @@ S D - segunda - terça - quarta - quinta - sexta - sábado - domingo - segunda diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 0b332e695..4d2e838d8 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -237,21 +237,6 @@ %d часов - Никогда - - Январь - Февраль - Март - Апрель - Май - Июнь - Июль - Август - Сентябрь - Октябрь - Ноябрь - Декабрь - ПН ВТ СР @@ -260,14 +245,6 @@ СБ ВС - Понедельник - Вторник - Среда - Четверг - Пятница - Суббота - Воскресенье - Понедельник diff --git a/app/src/main/res/values-sk/strings.xml b/app/src/main/res/values-sk/strings.xml index f3c0a9cdd..5e41f004c 100644 --- a/app/src/main/res/values-sk/strings.xml +++ b/app/src/main/res/values-sk/strings.xml @@ -230,21 +230,6 @@ %d hodín - Nikdy - - Január - Február - Marec - Apríl - Máj - Jún - Júl - August - September - Október - November - December - P U S @@ -253,14 +238,6 @@ S N - Pondelok - Utorok - Streda - Štvrtok - Piatok - Sobota - Nedeľa - pondelok diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index 741f35aff..41e97ac90 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -221,21 +221,6 @@ %d timmar - Aldrig - - Januari - Februari - Mars - April - Maj - Juni - Juli - Augusti - September - Oktober - November - December - M T O @@ -244,14 +229,6 @@ L S - Måndag - Tisdag - Onsdag - Torsdag - Fredag - Lördag - Söndag - Måndag diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml index cd1545b27..9b6de1e3d 100644 --- a/app/src/main/res/values-tr/strings.xml +++ b/app/src/main/res/values-tr/strings.xml @@ -221,21 +221,6 @@ %d hours - Never - - Ocak - Şubat - Mart - Nisan - Mayıs - Haziran - Temmuz - Ağustos - Eylül - Ekim - Kasım - Aralık - M T W @@ -244,14 +229,6 @@ S S - Pazartesi - Salı - Çarşamba - Perşembe - Cuma - Cumartesi - Pazar - Pazartesi diff --git a/app/src/main/res/values/donottranslate.xml b/app/src/main/res/values/donottranslate.xml index a150d71b5..c9213f010 100644 --- a/app/src/main/res/values/donottranslate.xml +++ b/app/src/main/res/values/donottranslate.xml @@ -45,19 +45,4 @@ Allow changing the reminder notification sound Added a new view, a list of upcoming events Added the option to vibrate at notifications - - - @string/january - @string/february - @string/march - @string/april - @string/may - @string/june - @string/july - @string/august - @string/september - @string/october - @string/november - @string/december - diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index d2785bad2..4abd0812e 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -221,21 +221,6 @@ %d hours - Never - - January - February - March - April - May - June - July - August - September - October - November - December - M T W @@ -244,14 +229,6 @@ S S - Monday - Tuesday - Wednesday - Thursday - Friday - Saturday - Sunday - Monday