diff --git a/app/src/main/kotlin/com/simplemobiletools/clock/services/TimerService.kt b/app/src/main/kotlin/com/simplemobiletools/clock/services/TimerService.kt index fb691523..ea8e7f36 100644 --- a/app/src/main/kotlin/com/simplemobiletools/clock/services/TimerService.kt +++ b/app/src/main/kotlin/com/simplemobiletools/clock/services/TimerService.kt @@ -39,7 +39,7 @@ class TimerService : Service() { super.onStartCommand(intent, flags, startId) isStopping = false updateNotification() - startForeground(TIMER_RUNNING_NOTIF_ID, notification(getString(R.string.app_name), getString(R.string.timer_notification_msg), INVALID_TIMER_ID)) + startForeground(TIMER_RUNNING_NOTIF_ID, notification(getString(R.string.app_name), getString(R.string.timers_notification_msg), INVALID_TIMER_ID)) return START_NOT_STICKY } @@ -50,9 +50,8 @@ class TimerService : Service() { val firstTimer = runningTimers.first() val formattedDuration = (firstTimer.state as TimerState.Running).tick.getFormattedDuration() val contextText = when { - runningTimers.size > 1 -> getString(R.string.timer_multiple_notification_msg, runningTimers.size) firstTimer.label.isNotEmpty() -> getString(R.string.timer_single_notification_label_msg, firstTimer.label) - else -> getString(R.string.timer_single_notification_msg, runningTimers.size) + else -> resources.getQuantityString(R.plurals.timer_notification_msg, runningTimers.size, runningTimers.size) } startForeground(TIMER_RUNNING_NOTIF_ID, notification(formattedDuration, contextText, firstTimer.id!!)) } else { diff --git a/app/src/main/res/values-az/strings.xml b/app/src/main/res/values-az/strings.xml index b7242bcd..b3ab3e2d 100644 --- a/app/src/main/res/values-az/strings.xml +++ b/app/src/main/res/values-az/strings.xml @@ -18,12 +18,15 @@ Alarm time - Timers are running - %d timers are running + Timers are running Timer for %s is running - %d timer is running New Timer + + %d timer is running + %d timers are running + + Saat bölməsi Siqnal bölməsi diff --git a/app/src/main/res/values-cs/strings.xml b/app/src/main/res/values-cs/strings.xml index 59940686..85b2d381 100644 --- a/app/src/main/res/values-cs/strings.xml +++ b/app/src/main/res/values-cs/strings.xml @@ -18,12 +18,16 @@ Alarm time - Timers are running - %d timers are running + Timers are running Timer for %s is running - %d timer is running New Timer + + %d timer is running + %d timers is running + %d timers are running + + Záložka hodin Záložka budíku diff --git a/app/src/main/res/values-cy/strings.xml b/app/src/main/res/values-cy/strings.xml index 292bc0ce..98533ed7 100644 --- a/app/src/main/res/values-cy/strings.xml +++ b/app/src/main/res/values-cy/strings.xml @@ -18,12 +18,19 @@ Alarm time - Timers are running - %d timers are running + Timers are running Timer for %s is running - %d timer is running New Timer + + %d timer is running + %d timers are running + %d timers are running + %d timers are running + %d timers are running + %d timers are running + + Tab cloc Tab larwm diff --git a/app/src/main/res/values-da/strings.xml b/app/src/main/res/values-da/strings.xml index 0bb34aa7..5118cf65 100644 --- a/app/src/main/res/values-da/strings.xml +++ b/app/src/main/res/values-da/strings.xml @@ -18,12 +18,15 @@ Alarm time - Timers are running - %d timers are running + Timers are running Timer for %s is running - %d timer is running New Timer + + %d timer is running + %d timers are running + + Ur Alarm diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 09c45de3..18077558 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -18,12 +18,15 @@ Alarm time - Timers are running - %d timers are running + Timers are running Timer for %s is running - %d timer is running New Timer + + %d timer is running + %d timers are running + + Uhr Wecker diff --git a/app/src/main/res/values-el/strings.xml b/app/src/main/res/values-el/strings.xml index f3484d66..b3708264 100644 --- a/app/src/main/res/values-el/strings.xml +++ b/app/src/main/res/values-el/strings.xml @@ -19,12 +19,15 @@ Alarm time - Timers are running - %d timers are running + Timers are running Timer for %s is running - %d timer is running New Timer + + %d timer is running + %d timers are running + + Ετικέτα Ρολογιού Ετικέτα Αφύπνισης diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 37b4940a..fd962a78 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -18,12 +18,15 @@ Alarm time - Timers are running - %d timers are running + Timers are running Timer for %s is running - %d timer is running New Timer + + %d timer is running + %d timers are running + + Pestaña de reloj Pestaña de alarma diff --git a/app/src/main/res/values-eu/strings.xml b/app/src/main/res/values-eu/strings.xml index cb28eae8..5245a7dd 100644 --- a/app/src/main/res/values-eu/strings.xml +++ b/app/src/main/res/values-eu/strings.xml @@ -18,12 +18,15 @@ Alarm time - Timers are running - %d timers are running + Timers are running Timer for %s is running - %d timer is running New Timer + + %d timer is running + %d timers are running + + Erloju fitxa Alarma fitxa diff --git a/app/src/main/res/values-fi/strings.xml b/app/src/main/res/values-fi/strings.xml index 661fe387..0626a95c 100644 --- a/app/src/main/res/values-fi/strings.xml +++ b/app/src/main/res/values-fi/strings.xml @@ -18,11 +18,14 @@ Herätysaika   - Timers are running - %d timers are running + Timers are running Timer for %s is running - %d timer is running New Timer + + + %d timer is running + %d timers are running +   Kello-välilehti diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 76321c5e..75dfb29d 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -18,12 +18,15 @@ Alarm time - Timers are running - %d timers are running + Timers are running Timer for %s is running - %d timer is running New Timer + + %d timer is running + %d timers are running + + Horloge Réveil diff --git a/app/src/main/res/values-hr/strings.xml b/app/src/main/res/values-hr/strings.xml index c8501371..0b0a87cd 100644 --- a/app/src/main/res/values-hr/strings.xml +++ b/app/src/main/res/values-hr/strings.xml @@ -18,12 +18,16 @@ Alarm time - Timers are running - %d timers are running + Timers are running Timer for %s is running - %d timer is running New Timer + + %d timer is running + %d timers are running + %d timers are running + + Kartica sata Kartica alarma diff --git a/app/src/main/res/values-id/strings.xml b/app/src/main/res/values-id/strings.xml index 79b28da0..18b10c3a 100644 --- a/app/src/main/res/values-id/strings.xml +++ b/app/src/main/res/values-id/strings.xml @@ -18,12 +18,14 @@ Alarm time - Timers are running - %d timers are running + Timers are running Timer for %s is running - %d timer is running New Timer + + %d timers are running + + Tab jam Tab alarm diff --git a/app/src/main/res/values-in/strings.xml b/app/src/main/res/values-in/strings.xml index 79b28da0..18b10c3a 100644 --- a/app/src/main/res/values-in/strings.xml +++ b/app/src/main/res/values-in/strings.xml @@ -18,12 +18,14 @@ Alarm time - Timers are running - %d timers are running + Timers are running Timer for %s is running - %d timer is running New Timer + + %d timers are running + + Tab jam Tab alarm diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index 711d6397..725866ab 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -18,12 +18,15 @@ Alarm time - Timers are running - %d timers are running + Timers are running Timer for %s is running - %d timer is running New Timer + + %d timer is running + %d timers are running + + Scheda orologio Scheda sveglia diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index 2930c40b..2bbebd9e 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -18,12 +18,14 @@ Alarm time - Timers are running - %d timers are running + Timers are running Timer for %s is running - %d timer is running New Timer + + %d timers are running + + 時計 アラーム diff --git a/app/src/main/res/values-lt/strings.xml b/app/src/main/res/values-lt/strings.xml index 796624c4..c885f4a5 100644 --- a/app/src/main/res/values-lt/strings.xml +++ b/app/src/main/res/values-lt/strings.xml @@ -18,12 +18,16 @@ Alarm time - Timers are running - %d timers are running + Timers are running Timer for %s is running - %d timer is running New Timer + + %d timer is running + %d timers are running + %d timers are running + + Laikrodžio skirtukas Žadintuvo skirtukas diff --git a/app/src/main/res/values-ml/strings.xml b/app/src/main/res/values-ml/strings.xml index 54ee4c5a..28ad128f 100644 --- a/app/src/main/res/values-ml/strings.xml +++ b/app/src/main/res/values-ml/strings.xml @@ -18,12 +18,15 @@ Alarm time - Timers are running - %d timers are running + Timers are running Timer for %s is running - %d timer is running New Timer + + %d timer is running + %d timers are running + + ക്ലോക്ക് ടാബ് അലാറം ടാബ് diff --git a/app/src/main/res/values-nb/strings.xml b/app/src/main/res/values-nb/strings.xml index cf5fb931..2eab498b 100644 --- a/app/src/main/res/values-nb/strings.xml +++ b/app/src/main/res/values-nb/strings.xml @@ -18,12 +18,15 @@ Alarm time - Timers are running - %d timers are running + Timers are running Timer for %s is running - %d timer is running New Timer + + %d timer is running + %d timers are running + + Klokke Alarm diff --git a/app/src/main/res/values-nl/strings.xml b/app/src/main/res/values-nl/strings.xml index 884d5c77..d1cfc643 100644 --- a/app/src/main/res/values-nl/strings.xml +++ b/app/src/main/res/values-nl/strings.xml @@ -18,12 +18,15 @@ Alarmtijd - Timers are running - %d timers are running + Timers are running Timer for %s is running - %d timer is running New Timer + + %d timer is running + %d timers are running + + Tab Klok Tab Alarm diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml index 0e07fb25..e04027d2 100644 --- a/app/src/main/res/values-pl/strings.xml +++ b/app/src/main/res/values-pl/strings.xml @@ -18,12 +18,17 @@ Alarm time - Timers are running - %d timers are running + Timers are running Timer for %s is running - %d timer is running New Timer + + %d timer is running + %d timers are running + %d timers are running + %d timers are running + + Zegar Alarm diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml index 2a5237fc..2c840d4b 100644 --- a/app/src/main/res/values-pt/strings.xml +++ b/app/src/main/res/values-pt/strings.xml @@ -18,12 +18,15 @@ Alarm time - Timers are running - %d timers are running + Timers are running Timer for %s is running - %d timer is running New Timer + + %d timer is running + %d timers are running + + Relógio Alarme diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 88233cad..e2beedb7 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -18,12 +18,17 @@ Alarm time - Timers are running - %d timers are running + Timers are running Timer for %s is running - %d timer is running New Timer + + %d timer is running + %d timers are running + %d timers are running + %d timers are running + + Часы Будильник diff --git a/app/src/main/res/values-sk/strings.xml b/app/src/main/res/values-sk/strings.xml index 6996e0a7..6a95c139 100644 --- a/app/src/main/res/values-sk/strings.xml +++ b/app/src/main/res/values-sk/strings.xml @@ -18,12 +18,16 @@ Času budíka - Timers are running - %d timers are running + Timers are running Timer for %s is running - %d timer is running New Timer + + %d timer is running + %d timers are running + %d timers are running + + Okno s časom Okno s budíkom diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index 5a33469a..059a8582 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -18,12 +18,15 @@ Alarm time - Timers are running - %d timers are running + Timers are running Timer for %s is running - %d timer is running New Timer + + %d timer is running + %d timers are running + + Fliken Klocka Fliken Alarm diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml index b1bd6367..aafcb7d6 100644 --- a/app/src/main/res/values-tr/strings.xml +++ b/app/src/main/res/values-tr/strings.xml @@ -18,12 +18,15 @@ Alarm time - Timers are running - %d timers are running + Timers are running Timer for %s is running - %d timer is running New Timer + + %d timer is running + %d timers are running + + Saat sekmesi Alarm sekmesi diff --git a/app/src/main/res/values-uk/strings.xml b/app/src/main/res/values-uk/strings.xml index 39dea5fa..2c6bf7e0 100644 --- a/app/src/main/res/values-uk/strings.xml +++ b/app/src/main/res/values-uk/strings.xml @@ -18,12 +18,17 @@ Alarm time - Timers are running - %d timers are running + Timers are running Timer for %s is running - %d timer is running New Timer + + %d timer is running + %d timers are running + %d timers are running + %d timers are running + + Годинник Будильник diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index 62742678..60d1bdbf 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -18,12 +18,14 @@ Alarm time - Timers are running - %d timers are running + Timers are running Timer for %s is running - %d timer is running New Timer + + %d timers are running + + 时钟页面 闹钟页面 diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index 9a47b674..34480d5b 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -18,12 +18,14 @@ Alarm time - Timers are running - %d timers are running + Timers are running Timer for %s is running - %d timer is running New Timer + + %d timers are running + + 時鐘頁面 鬧鐘頁面 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 5eda1b79..82c2e1a8 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -18,12 +18,15 @@ Alarm time - Timers are running - %d timers are running + Timers are running Timer for %s is running - %d timer is running New Timer + + %d timer is running + %d timers are running + + Clock tab Alarm tab