diff --git a/commons/src/main/kotlin/com/simplemobiletools/commons/helpers/Constants.kt b/commons/src/main/kotlin/com/simplemobiletools/commons/helpers/Constants.kt index acfe41d50..8bb739712 100644 --- a/commons/src/main/kotlin/com/simplemobiletools/commons/helpers/Constants.kt +++ b/commons/src/main/kotlin/com/simplemobiletools/commons/helpers/Constants.kt @@ -12,7 +12,12 @@ const val REAL_FILE_PATH = "real_file_path_2" const val IS_FROM_GALLERY = "is_from_gallery" const val BROADCAST_REFRESH_MEDIA = "com.simplemobiletools.REFRESH_MEDIA" const val OTG_PATH = "otg:/" -const val DAY_MINUTES = 1440 + +const val HOUR_MINUTES = 60 +const val DAY_MINUTES = 24 * HOUR_MINUTES +const val WEEK_MINUTES = DAY_MINUTES * 7 +const val MONTH_MINUTES = DAY_MINUTES * 30 +const val YEAR_MINUTES = DAY_MINUTES * 365 // shared preferences const val PREFS_KEY = "Prefs" diff --git a/commons/src/main/res/layout/dialog_radio_group.xml b/commons/src/main/res/layout/dialog_radio_group.xml index 0da0e43d9..310aa92a3 100644 --- a/commons/src/main/res/layout/dialog_radio_group.xml +++ b/commons/src/main/res/layout/dialog_radio_group.xml @@ -9,7 +9,6 @@ android:id="@+id/dialog_radio_group" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingBottom="@dimen/normal_margin" android:paddingLeft="@dimen/activity_margin" android:paddingRight="@dimen/activity_margin" android:paddingTop="@dimen/normal_margin"/> diff --git a/commons/src/main/res/values-az/strings.xml b/commons/src/main/res/values-az/strings.xml index 2428761c5..ec0b4e64d 100644 --- a/commons/src/main/res/values-az/strings.xml +++ b/commons/src/main/res/values-az/strings.xml @@ -268,6 +268,20 @@ %d hours + + + %d minute before + %d minutes before + + + %d hour before + %d hours before + + + %d day before + %d days before + + Time remaining till the alarm goes off:\n%s Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving. @@ -276,6 +290,8 @@ Snooze Dismiss + No reminder + At start Settings diff --git a/commons/src/main/res/values-br/strings.xml b/commons/src/main/res/values-br/strings.xml index 4f2686060..3b04dbd80 100644 --- a/commons/src/main/res/values-br/strings.xml +++ b/commons/src/main/res/values-br/strings.xml @@ -268,6 +268,20 @@ %d hours + + + %dvunutenn a-raok + %da vunutennoù a-raok + + + %deur a-raok + %deur a-raok + + + %da zevezhioù a-raok + %da zevezhioù a-raok + + Time remaining till the alarm goes off:\n%s Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving. @@ -276,6 +290,8 @@ Daleañ Dismiss + Adc\'halv ebet + D\'an deroù Settings diff --git a/commons/src/main/res/values-ca/strings.xml b/commons/src/main/res/values-ca/strings.xml index 8acd8a5d2..e8b102da4 100644 --- a/commons/src/main/res/values-ca/strings.xml +++ b/commons/src/main/res/values-ca/strings.xml @@ -267,6 +267,20 @@ %d hores + + + %d minute before + %d minutes before + + + %d hour before + %d hours before + + + %d day before + %d days before + + Temps restant fins que soni l\'alarma: \n%s Assegureu-vos que l\'alarma funcioni correctament abans de confiar-hi. Pot comportar-se malament a causa de les restriccions del sistema relacionades amb l\'estalvi de bateria. @@ -275,6 +289,8 @@ Postposar Cancel·lar + No reminder + At start Ajustaments diff --git a/commons/src/main/res/values-cs/strings.xml b/commons/src/main/res/values-cs/strings.xml index e3a8531a6..d876dd0b2 100644 --- a/commons/src/main/res/values-cs/strings.xml +++ b/commons/src/main/res/values-cs/strings.xml @@ -275,6 +275,23 @@ %d hours + + + před %d minutou + před %d minutami + před %d minutami + + + před %d hodinou + před %d hodinami + před %d hodinami + + + před %d dnem + před %d dnami + před %d dny + + Time remaining till the alarm goes off:\n%s Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving. @@ -283,6 +300,8 @@ Snooze Dismiss + Žádné připomenutí + Na začátku Nastavení diff --git a/commons/src/main/res/values-da/strings.xml b/commons/src/main/res/values-da/strings.xml index 682c75050..05a1dc5d1 100644 --- a/commons/src/main/res/values-da/strings.xml +++ b/commons/src/main/res/values-da/strings.xml @@ -268,6 +268,20 @@ %d timer + + + %d minut før start + %d minutter før start + + + %d time før start + %d timer før start + + + %d dag før start + %d dage før start + + Time remaining till the alarm goes off:\n%s Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving. @@ -276,6 +290,8 @@ Snooze Dismiss + Ingen påmindelse + Ved start Indstillinger diff --git a/commons/src/main/res/values-de/strings.xml b/commons/src/main/res/values-de/strings.xml index a740990d0..c5e908aa1 100644 --- a/commons/src/main/res/values-de/strings.xml +++ b/commons/src/main/res/values-de/strings.xml @@ -268,6 +268,20 @@ %d hours + + + %d Minute vorher + %d Minuten vorher + + + %d Stunde vorher + %d Stunden vorher + + + %d Tag vorher + %d Tage vorher + + Time remaining till the alarm goes off:\n%s Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving. @@ -276,6 +290,8 @@ Snooze Dismiss + Keine Erinnerung + Zu Beginn Einstellungen diff --git a/commons/src/main/res/values-es/strings.xml b/commons/src/main/res/values-es/strings.xml index 6c3aa5c1c..ab3eacf8c 100644 --- a/commons/src/main/res/values-es/strings.xml +++ b/commons/src/main/res/values-es/strings.xml @@ -267,6 +267,20 @@ %d horas + + + %d minuto antes + %d minutos antes + + + %d hora antes + %d horas antes + + + %d día antes + %d días antes + + Tiempo restante hasta que suene la alarma:\n%s Asegúrese de que la alarma funcione correctamente antes de confiar en ella. Podría comportarse mal debido a las restricciones del sistema relacionadas con el ahorro de batería. @@ -275,6 +289,8 @@ Posponer Candelar + Sin recordatorio + Al inicio Ajustes diff --git a/commons/src/main/res/values-fi/strings.xml b/commons/src/main/res/values-fi/strings.xml index 86d64bc6b..b084983f0 100644 --- a/commons/src/main/res/values-fi/strings.xml +++ b/commons/src/main/res/values-fi/strings.xml @@ -268,6 +268,20 @@ %d hours + + + %d minute before + %d minutes before + + + %d hour before + %d hours before + + + %d day before + %d days before + + Time remaining till the alarm goes off:\n%s Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving. @@ -276,6 +290,8 @@ Snooze Dismiss + No reminder + At start Settings diff --git a/commons/src/main/res/values-fr/strings.xml b/commons/src/main/res/values-fr/strings.xml index c9d003edb..c38c17796 100644 --- a/commons/src/main/res/values-fr/strings.xml +++ b/commons/src/main/res/values-fr/strings.xml @@ -268,6 +268,20 @@ %d hours + + + %d minute avant + %d minutes avant + + + %d heure avant + %d heures avant + + + %d jour avant + %d jours avant + + Time remaining till the alarm goes off:\n%s Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving. @@ -276,6 +290,8 @@ Sommeiller Dismiss + Pas de rappel + Au démarrage Paramètres diff --git a/commons/src/main/res/values-gl/strings.xml b/commons/src/main/res/values-gl/strings.xml index 1238768d1..f5897e66a 100644 --- a/commons/src/main/res/values-gl/strings.xml +++ b/commons/src/main/res/values-gl/strings.xml @@ -267,6 +267,20 @@ %d hours + + + %d minuto antes + %d minutos antes + + + %d hora antes + %d horas antes + + + %d día antes + %d días antes + + Time remaining till the alarm goes off:\n%s Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving. @@ -275,6 +289,8 @@ Retrasar Dismiss + Sin recordatorio + Ao inicio Ajustes diff --git a/commons/src/main/res/values-hi-rIN/strings.xml b/commons/src/main/res/values-hi-rIN/strings.xml index 60101246e..b23cf8306 100644 --- a/commons/src/main/res/values-hi-rIN/strings.xml +++ b/commons/src/main/res/values-hi-rIN/strings.xml @@ -268,6 +268,20 @@ %d hours + + + %d minute before + %d minutes before + + + %d hour before + %d hours before + + + %d day before + %d days before + + Time remaining till the alarm goes off:\n%s Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving. @@ -276,6 +290,8 @@ Snooze Dismiss + No reminder + शुरुआत के समय Settings diff --git a/commons/src/main/res/values-hr/strings.xml b/commons/src/main/res/values-hr/strings.xml index f10b21c7d..fb158cef4 100644 --- a/commons/src/main/res/values-hr/strings.xml +++ b/commons/src/main/res/values-hr/strings.xml @@ -279,6 +279,23 @@ %d hours + + + %d minute before + %d minutes before + %d minutes before + + + %d hour before + %d hours before + %d hours before + + + %d day before + %d days before + %d days before + + Time remaining till the alarm goes off:\n%s Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving. @@ -287,6 +304,8 @@ Snooze Dismiss + No reminder + At start Postavke diff --git a/commons/src/main/res/values-hu/strings.xml b/commons/src/main/res/values-hu/strings.xml index f1ab2c8b6..82bc57d8b 100644 --- a/commons/src/main/res/values-hu/strings.xml +++ b/commons/src/main/res/values-hu/strings.xml @@ -268,6 +268,20 @@ %d hours + + + %d percel korábban + %d percel korábban + + + %d órával korábban + %d órával korábban + + + %d nappal korábban + %d nappal korábban + + Time remaining till the alarm goes off:\n%s Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving. @@ -276,6 +290,8 @@ Snooze Dismiss + No reminder + A kezdetekor Settings diff --git a/commons/src/main/res/values-id/strings.xml b/commons/src/main/res/values-id/strings.xml index a893c37fd..a97d8adcf 100644 --- a/commons/src/main/res/values-id/strings.xml +++ b/commons/src/main/res/values-id/strings.xml @@ -268,6 +268,20 @@ %d hours + + + %d minute before + %d minutes before + + + %d hour before + %d hours before + + + %d day before + %d days before + + Time remaining till the alarm goes off:\n%s Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving. @@ -276,6 +290,8 @@ Snooze Dismiss + No reminder + At start Pengaturan diff --git a/commons/src/main/res/values-it/strings.xml b/commons/src/main/res/values-it/strings.xml index 2cb9606c4..dc9bc7668 100644 --- a/commons/src/main/res/values-it/strings.xml +++ b/commons/src/main/res/values-it/strings.xml @@ -268,6 +268,20 @@ %d hours + + + %d minute before + %d minutes before + + + %d hour before + %d hours before + + + %d day before + %d days before + + Time remaining till the alarm goes off:\n%s Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving. @@ -276,6 +290,8 @@ Snooze Dismiss + No reminder + All\'inizio Impostazioni diff --git a/commons/src/main/res/values-iw/strings.xml b/commons/src/main/res/values-iw/strings.xml index 1a739ea8a..8d6672b2e 100644 --- a/commons/src/main/res/values-iw/strings.xml +++ b/commons/src/main/res/values-iw/strings.xml @@ -268,6 +268,20 @@ %d hours + + + %d minute before + %d minutes before + + + %d hour before + %d hours before + + + %d day before + %d days before + + Time remaining till the alarm goes off:\n%s Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving. @@ -276,6 +290,8 @@ Snooze Dismiss + No reminder + בהתחלה Settings diff --git a/commons/src/main/res/values-ja/strings.xml b/commons/src/main/res/values-ja/strings.xml index 8af26153a..3a79c8b83 100644 --- a/commons/src/main/res/values-ja/strings.xml +++ b/commons/src/main/res/values-ja/strings.xml @@ -268,6 +268,20 @@ %d hours + + + %d minute before + %d 分 前 + + + %d hour before + %d 時間 前 + + + %d day before + %d 日 前 + + Time remaining till the alarm goes off:\n%s Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving. @@ -276,6 +290,8 @@ Snooze Dismiss + No reminder + 開始時 設定 diff --git a/commons/src/main/res/values-ko-rKR/strings.xml b/commons/src/main/res/values-ko-rKR/strings.xml index 0a759e8d4..b53b62cb2 100644 --- a/commons/src/main/res/values-ko-rKR/strings.xml +++ b/commons/src/main/res/values-ko-rKR/strings.xml @@ -268,6 +268,20 @@ %d hours + + + %d 분 전 + %d 분 전 + + + %d 시간 전 + %d 시간 전 + + + %d 일 전 + %d 일 전 + + Time remaining till the alarm goes off:\n%s Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving. @@ -276,6 +290,8 @@ 스누즈 Dismiss + 알림 없음 + 시작할 때 설정 diff --git a/commons/src/main/res/values-lt/strings.xml b/commons/src/main/res/values-lt/strings.xml index 7d44d0729..6948bbcf2 100644 --- a/commons/src/main/res/values-lt/strings.xml +++ b/commons/src/main/res/values-lt/strings.xml @@ -278,6 +278,23 @@ %d hours + + + %d minute before + %d minutes before + %d minutes before + + + %d hour before + %d hours before + %d hours before + + + %d day before + %d days before + %d days before + + Time remaining till the alarm goes off:\n%s Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving. @@ -286,6 +303,8 @@ Snooze Dismiss + No reminder + At start Nustatymai diff --git a/commons/src/main/res/values-nb/strings.xml b/commons/src/main/res/values-nb/strings.xml index 20f2a09fb..8dbbc250a 100644 --- a/commons/src/main/res/values-nb/strings.xml +++ b/commons/src/main/res/values-nb/strings.xml @@ -268,6 +268,20 @@ %d hours + + + %d minutt før + %d minutter før + + + %d time før + %d timer før + + + %d dag før + %d dager før + + Time remaining till the alarm goes off:\n%s Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving. @@ -276,6 +290,8 @@ Snooze Dismiss + Ingen påminnelse + Ved start Innstillinger diff --git a/commons/src/main/res/values-nl/strings.xml b/commons/src/main/res/values-nl/strings.xml index b82cd9ab9..a2e1bdd98 100644 --- a/commons/src/main/res/values-nl/strings.xml +++ b/commons/src/main/res/values-nl/strings.xml @@ -268,6 +268,20 @@ %d uren + + + %d minuut van tevoren + %d minuten van tevoren + + + %d uur van tevoren + %d uren van tevoren + + + %d dag van tevoren + %d dagen van tevoren + + Time remaining till the alarm goes off:\n%s Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving. @@ -276,6 +290,8 @@ Uitstellen Dismiss + Geen herinnering + Als afspraak begint Instellingen diff --git a/commons/src/main/res/values-no/strings.xml b/commons/src/main/res/values-no/strings.xml index b77f61830..b684f00d6 100644 --- a/commons/src/main/res/values-no/strings.xml +++ b/commons/src/main/res/values-no/strings.xml @@ -268,6 +268,20 @@ %d hours + + + %d minutt før + %d minutter før + + + %d time før + %d timer før + + + %d dag før + %d dager før + + Time remaining till the alarm goes off:\n%s Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving. @@ -276,6 +290,8 @@ Snooze Dismiss + Ingen påminnelse + Ved start Innstillinger diff --git a/commons/src/main/res/values-pl/strings.xml b/commons/src/main/res/values-pl/strings.xml index aafa1fec1..35c3c4154 100644 --- a/commons/src/main/res/values-pl/strings.xml +++ b/commons/src/main/res/values-pl/strings.xml @@ -275,6 +275,23 @@ %d hours + + + %d minutę przed + %d minuty przed + %d minut before + + + %d godzinę przed + %d godziny przed + %d godzin przed + + + %d dzień przed + %d dni przed + %d dni przed + + Time remaining till the alarm goes off:\n%s Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving. @@ -283,6 +300,8 @@ Drzemka Dismiss + Brak przypomnienia + Przy rozpoczęciu Ustawienia diff --git a/commons/src/main/res/values-pt-rBR/strings.xml b/commons/src/main/res/values-pt-rBR/strings.xml index 003a6b8aa..b4af3f7a4 100644 --- a/commons/src/main/res/values-pt-rBR/strings.xml +++ b/commons/src/main/res/values-pt-rBR/strings.xml @@ -268,6 +268,20 @@ %d hours + + + %d minuto antes + %d minutos antes + + + %d hora antes + %d horas antes + + + %d dia antes + %d dias antes + + Time remaining till the alarm goes off:\n%s Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving. @@ -276,6 +290,8 @@ Snooze Dismiss + Sem lembrete + No início Configurações diff --git a/commons/src/main/res/values-pt/strings.xml b/commons/src/main/res/values-pt/strings.xml index fa436b320..fd5d83c2f 100644 --- a/commons/src/main/res/values-pt/strings.xml +++ b/commons/src/main/res/values-pt/strings.xml @@ -268,6 +268,20 @@ %d horas + + + %d minuto antes + %d minutos antes + + + %d hora antes + %d horas antes + + + %d dia antes + %d dias antes + + Time remaining till the alarm goes off:\n%s Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving. @@ -276,6 +290,8 @@ Snooze Dismiss + Sem lembrete + No início Definições diff --git a/commons/src/main/res/values-ru/strings.xml b/commons/src/main/res/values-ru/strings.xml index fa2b75dcf..a7166163c 100644 --- a/commons/src/main/res/values-ru/strings.xml +++ b/commons/src/main/res/values-ru/strings.xml @@ -280,6 +280,26 @@ %d hours + + + %d минута до события + %d минуты до события + %d минут до события + %d минут(-ы) до события + + + %d час до события + %d часа до события + %d часов до события + %d часа(-ов) до события + + + %d день до события + %d дня до события + %d дней до события + %d дня(-ей) до события + + Time remaining till the alarm goes off:\n%s Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving. @@ -288,6 +308,8 @@ Отложить Dismiss + Без напоминания + С наступлением события Настройки diff --git a/commons/src/main/res/values-sk/strings.xml b/commons/src/main/res/values-sk/strings.xml index 607a09a39..fe6a23ee8 100644 --- a/commons/src/main/res/values-sk/strings.xml +++ b/commons/src/main/res/values-sk/strings.xml @@ -279,6 +279,23 @@ %d hodín + + + %d minútu vopred + %d minúty vopred + %d minút vopred + + + %d hodinu vopred + %d hodiny vopred + %d hodín vopred + + + %d deň vopred + %d dni vopred + %d dní vopred + + Zostávajúci čas do zvonenia budíka:\n%s Pred tým, ako by ste sa na budík spoliehali, sa prosím uistite, že funguje správne. Niektoré systémové obmedzenia spojené so zlepšením výdrže batérie môžu spôsobiť problémy. @@ -287,6 +304,8 @@ Odložiť Odstrániť + Žiadna pripomienka + Na začiatku Nastavenia diff --git a/commons/src/main/res/values-sv/strings.xml b/commons/src/main/res/values-sv/strings.xml index 3e9f2836e..9c6b0dc91 100644 --- a/commons/src/main/res/values-sv/strings.xml +++ b/commons/src/main/res/values-sv/strings.xml @@ -268,6 +268,20 @@ %d hours + + + %d minut före + %d minuter före + + + %d timme före + %d timmar före + + + %d dag före + %d dagar före + + Time remaining till the alarm goes off:\n%s Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving. @@ -276,6 +290,8 @@ Snooza Dismiss + Ingen påminnelse + Vid start Inställningar diff --git a/commons/src/main/res/values-tr/strings.xml b/commons/src/main/res/values-tr/strings.xml index 1537be51d..8751ba4fa 100644 --- a/commons/src/main/res/values-tr/strings.xml +++ b/commons/src/main/res/values-tr/strings.xml @@ -268,6 +268,20 @@ %d hours + + + %d dakika önce + %d dakika önce + + + %d saat önce + %d saat önce + + + %d önceki gün + %d önceki gün + + Time remaining till the alarm goes off:\n%s Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving. @@ -276,6 +290,8 @@ Snooze Dismiss + Hatırlatma yok + Başlangıçta Ayarlar diff --git a/commons/src/main/res/values-zh-rCN/strings.xml b/commons/src/main/res/values-zh-rCN/strings.xml index 4229c07d0..f833338bb 100644 --- a/commons/src/main/res/values-zh-rCN/strings.xml +++ b/commons/src/main/res/values-zh-rCN/strings.xml @@ -268,6 +268,20 @@ %d 小时 + + + %d minute before + %d minutes before + + + %d hour before + %d hours before + + + %d day before + %d days before + + 距闹钟响起还有:\n%s 在依赖它之前,请确保闹钟能够正常工作。由于系统与节电有关的限制,它有时可能会失灵。 @@ -276,6 +290,8 @@ Snooze Dismiss + No reminder + At start 设置 diff --git a/commons/src/main/res/values-zh-rTW/strings.xml b/commons/src/main/res/values-zh-rTW/strings.xml index e614ffd97..99a1cc573 100644 --- a/commons/src/main/res/values-zh-rTW/strings.xml +++ b/commons/src/main/res/values-zh-rTW/strings.xml @@ -267,6 +267,20 @@ %d小時 + + + %d分鐘前 + %d分鐘前 + + + %d小時前 + %d小時前 + + + %d天前 + %d天前 + + 鬧鐘響起剩餘時間:\n%s 依靠鬧鐘功能之前,請先確認是否正常運作,有可能因為省電相關的系統限制而導致失靈。 @@ -275,6 +289,8 @@ 延遲 Dismiss + 不提醒 + 準時 設定 diff --git a/commons/src/main/res/values/strings.xml b/commons/src/main/res/values/strings.xml index a91b8fc6b..669f183b2 100644 --- a/commons/src/main/res/values/strings.xml +++ b/commons/src/main/res/values/strings.xml @@ -268,6 +268,20 @@ %d hours + + + %d minute before + %d minutes before + + + %d hour before + %d hours before + + + %d day before + %d days before + + Time remaining till the alarm goes off:\n%s Please make sure the alarm works properly before relying on it. It could misbehave due to system restrictions related to battery saving. @@ -276,6 +290,8 @@ Snooze Dismiss + No reminder + At start Settings