From 7ff56ac15ab880b77a06478b26712a55d82e5de7 Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 19 Apr 2021 15:00:24 +0200 Subject: [PATCH] updating the sorting strings --- .../clock/dialogs/ChangeAlarmSortDialog.kt | 30 +++++++++---------- .../res/layout/dialog_change_alarm_sort.xml | 8 ++--- app/src/main/res/values-az/strings.xml | 4 +-- app/src/main/res/values-cs/strings.xml | 4 +-- app/src/main/res/values-cy/strings.xml | 4 +-- app/src/main/res/values-da/strings.xml | 4 +-- app/src/main/res/values-de/strings.xml | 4 +-- app/src/main/res/values-el/strings.xml | 4 +-- app/src/main/res/values-es/strings.xml | 4 +-- app/src/main/res/values-eu/strings.xml | 4 +-- app/src/main/res/values-fi/strings.xml | 4 +-- app/src/main/res/values-fr/strings.xml | 4 +-- app/src/main/res/values-hr/strings.xml | 4 +-- app/src/main/res/values-id/strings.xml | 4 +-- app/src/main/res/values-in/strings.xml | 4 +-- app/src/main/res/values-it/strings.xml | 4 +-- app/src/main/res/values-ja/strings.xml | 4 +-- app/src/main/res/values-lt/strings.xml | 4 +-- app/src/main/res/values-ml/strings.xml | 4 +-- app/src/main/res/values-nb/strings.xml | 4 +-- app/src/main/res/values-nl/strings.xml | 4 +-- app/src/main/res/values-pl/strings.xml | 4 +-- app/src/main/res/values-pt/strings.xml | 4 +-- app/src/main/res/values-ru/strings.xml | 4 +-- app/src/main/res/values-sk/strings.xml | 4 +-- app/src/main/res/values-sv/strings.xml | 4 +-- app/src/main/res/values-tr/strings.xml | 4 +-- app/src/main/res/values-uk/strings.xml | 4 +-- app/src/main/res/values-zh-rCN/strings.xml | 4 +-- app/src/main/res/values-zh-rTW/strings.xml | 4 +-- app/src/main/res/values/strings.xml | 4 +-- 31 files changed, 76 insertions(+), 78 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/clock/dialogs/ChangeAlarmSortDialog.kt b/app/src/main/kotlin/com/simplemobiletools/clock/dialogs/ChangeAlarmSortDialog.kt index bde85e3..56b44ec 100644 --- a/app/src/main/kotlin/com/simplemobiletools/clock/dialogs/ChangeAlarmSortDialog.kt +++ b/app/src/main/kotlin/com/simplemobiletools/clock/dialogs/ChangeAlarmSortDialog.kt @@ -10,29 +10,27 @@ import com.simplemobiletools.commons.extensions.setupDialogStuff import kotlinx.android.synthetic.main.dialog_change_alarm_sort.view.* class ChangeAlarmSortDialog(val activity: BaseSimpleActivity, val callback: (AlarmSort) -> Unit) { - private var view: View + private var view: View = activity.layoutInflater.inflate(R.layout.dialog_change_alarm_sort, null).apply { + val activeRadioButton = when (activity.config.alarmSort) { + AlarmSort.CREATED_AT -> sorting_dialog_radio_creation_order + AlarmSort.TIME_OF_DAY -> sorting_dialog_radio_alarm_time + } + activeRadioButton?.isChecked = true + } init { - view = activity.layoutInflater.inflate(R.layout.dialog_change_alarm_sort, null).apply { - val activeRadioButton = when (activity.config.alarmSort) { - AlarmSort.CREATED_AT -> sorting_dialog_radio_created_at - AlarmSort.TIME_OF_DAY -> sorting_dialog_radio_time_of_day - } - activeRadioButton?.isChecked = true - } - AlertDialog.Builder(activity) - .setPositiveButton(R.string.ok) { _, _ -> dialogConfirmed() } - .setNegativeButton(R.string.cancel, null) - .create().apply { - activity.setupDialogStuff(view, this, R.string.sort_by) - } + .setPositiveButton(R.string.ok) { _, _ -> dialogConfirmed() } + .setNegativeButton(R.string.cancel, null) + .create().apply { + activity.setupDialogStuff(view, this, R.string.sort_by) + } } private fun dialogConfirmed() { val sort = when (view.sorting_dialog_radio_sorting.checkedRadioButtonId) { - R.id.sorting_dialog_radio_created_at -> AlarmSort.CREATED_AT - R.id.sorting_dialog_radio_time_of_day -> AlarmSort.TIME_OF_DAY + R.id.sorting_dialog_radio_creation_order -> AlarmSort.CREATED_AT + R.id.sorting_dialog_radio_alarm_time -> AlarmSort.TIME_OF_DAY else -> AlarmSort.default() } activity.config.alarmSort = sort diff --git a/app/src/main/res/layout/dialog_change_alarm_sort.xml b/app/src/main/res/layout/dialog_change_alarm_sort.xml index 3c6aa7e..22ae749 100644 --- a/app/src/main/res/layout/dialog_change_alarm_sort.xml +++ b/app/src/main/res/layout/dialog_change_alarm_sort.xml @@ -14,20 +14,20 @@ android:paddingEnd="@dimen/activity_margin"> + android:text="@string/sort_by_creation_order" /> + android:text="@string/sort_by_alarm_time" /> diff --git a/app/src/main/res/values-az/strings.xml b/app/src/main/res/values-az/strings.xml index 3fd31d9..a9e6cfe 100644 --- a/app/src/main/res/values-az/strings.xml +++ b/app/src/main/res/values-az/strings.xml @@ -2,8 +2,6 @@ Sadə Saat Saat Vaxt zonası - Created at - Time of day Titrət Etiket Gün seçilməyib @@ -16,6 +14,8 @@ Saat və zaman Mətn kölgəsini işlət Buraxmaq üçün sağa, Dondurmaq üçün sola sürüşdür. + Creation order + Alarm time Saat bölməsi diff --git a/app/src/main/res/values-cs/strings.xml b/app/src/main/res/values-cs/strings.xml index 1600575..0501d23 100644 --- a/app/src/main/res/values-cs/strings.xml +++ b/app/src/main/res/values-cs/strings.xml @@ -2,8 +2,6 @@ Jednoduché hodiny Hodiny Časové pásmo - Created at - Time of day Vibrovat Štítek Nebyly označeny žádné dny @@ -16,6 +14,8 @@ Hodiny a datum Použít stínování písma Potáhněte vpravo pro zrušení, nebo vlevo pro odložení. + Creation order + Alarm time Záložka hodin diff --git a/app/src/main/res/values-cy/strings.xml b/app/src/main/res/values-cy/strings.xml index d93c243..8e17715 100644 --- a/app/src/main/res/values-cy/strings.xml +++ b/app/src/main/res/values-cy/strings.xml @@ -2,8 +2,6 @@ Simple Clock Cloc Cylchfa amser - Created at - Time of day Dirgrynu Label Dim diwrnodau wedi\'u dewis @@ -16,6 +14,8 @@ Cloc a dyddiad Defnyddio cysgod testun Llithro i\'r dde i\'w ddiffodd neu i\'r chwith i\'w oedi am ychydig. + Creation order + Alarm time Tab cloc diff --git a/app/src/main/res/values-da/strings.xml b/app/src/main/res/values-da/strings.xml index 4466831..e4bca23 100644 --- a/app/src/main/res/values-da/strings.xml +++ b/app/src/main/res/values-da/strings.xml @@ -2,8 +2,6 @@ Simple Clock Ur Tidszone - Created at - Time of day Vibrer Etiket Der er ikke valgt nogen dage @@ -16,6 +14,8 @@ Clock and date Anvend tekstskygge Swipe right to Dismiss, or left to Snooze. + Creation order + Alarm time Ur diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 9b41417..483a116 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -2,8 +2,6 @@ Schlichte Uhr Uhr Zeitzone - Erstellt am - Tageszeit Vibration Label Keine Tage ausgewählt @@ -16,6 +14,8 @@ Uhrzeit und Datum Text mit Schlagschatten Nach rechts wischen um auszuschalten, nach links um zu schlummern. + Creation order + Alarm time Uhr diff --git a/app/src/main/res/values-el/strings.xml b/app/src/main/res/values-el/strings.xml index 4181da4..549a81c 100644 --- a/app/src/main/res/values-el/strings.xml +++ b/app/src/main/res/values-el/strings.xml @@ -3,8 +3,6 @@ Απλό Ρολόι Ρολόι Ζώνη ώρας - Created at - Time of day Δόνηση Ετικέτα Δεν έχουν επιλεγεί ημέρες @@ -17,6 +15,8 @@ Ώρα και ημερομηνία Χρήση σκιάς κειμένου Σαρώστε δεξιά για απόρριψη ή αριστερά για αναβολή. + Creation order + Alarm time Ετικέτα Ρολογιού diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 4d4c739..f7c9c03 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -2,8 +2,6 @@ Simple Clock Reloj Zona horaria - Created at - Time of day Vibrar Etiqueta Ningún día seleccionado @@ -16,6 +14,8 @@ Fecha y hora Usar sombra de texto Desliza a la derecha para descartar, o a la izquierda para posponer. + Creation order + Alarm time Pestaña de reloj diff --git a/app/src/main/res/values-eu/strings.xml b/app/src/main/res/values-eu/strings.xml index 7b69b26..117c315 100644 --- a/app/src/main/res/values-eu/strings.xml +++ b/app/src/main/res/values-eu/strings.xml @@ -2,8 +2,6 @@ Ordulari sinplea Ordularia Ordu eremua - Created at - Time of day Bibratu Etiketa Ez duzu egunik hautatu @@ -16,6 +14,8 @@ Erlojua eta data Erabili testu itzala Pasatu eskumara desaktibatzeko edo ezkerrera ahazteko. + Creation order + Alarm time Erloju fitxa diff --git a/app/src/main/res/values-fi/strings.xml b/app/src/main/res/values-fi/strings.xml index 7458d25..edf4032 100644 --- a/app/src/main/res/values-fi/strings.xml +++ b/app/src/main/res/values-fi/strings.xml @@ -2,8 +2,6 @@ Simple Clock Kello Aikavyöhyke - Created at - Time of day Värinä Tunniste Ei päiviä valittuna @@ -16,6 +14,8 @@ Kello ja päivä Tekstin varjostus Pyyhkäise oikealle sammuttaaksesi tai vasemmalle torkuttaaksesi. + Creation order + Alarm time   Kello-välilehti diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index a47b9ba..e14b52e 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -2,8 +2,6 @@ Simple Clock Horloge Fuseau Horaire - Created at - Time of day Vibrer Titre Aucun jour sélectionné @@ -16,6 +14,8 @@ Date et heure Texte ombragé Balayez vers la droite pour arrêter ou vers la gauche pour répéter + Creation order + Alarm time Horloge diff --git a/app/src/main/res/values-hr/strings.xml b/app/src/main/res/values-hr/strings.xml index 1218e8b..751d524 100644 --- a/app/src/main/res/values-hr/strings.xml +++ b/app/src/main/res/values-hr/strings.xml @@ -2,8 +2,6 @@ Jednostavan sat Sat Vremenska zona - Created at - Time of day Vibriraj Oznaka Nije odabran nijedan dan @@ -16,6 +14,8 @@ Datum i vrijeme Upotrijebite sjenu teksta Prijeđite prstom udesno da bi odbacili ili ulijevo da bi odgodili. + Creation order + Alarm time Kartica sata diff --git a/app/src/main/res/values-id/strings.xml b/app/src/main/res/values-id/strings.xml index 59aca18..42db057 100644 --- a/app/src/main/res/values-id/strings.xml +++ b/app/src/main/res/values-id/strings.xml @@ -2,8 +2,6 @@ Simple Clock Jam Zona waktu - Created at - Time of day Getar Label Tidak ada hari yang dipilih @@ -16,6 +14,8 @@ Jam dan tanggal Gunakan bayangan teks Geser ke kanan untuk mengabaikan, atau ke kiri untuk Menunda. + Creation order + Alarm time Tab jam diff --git a/app/src/main/res/values-in/strings.xml b/app/src/main/res/values-in/strings.xml index 59aca18..42db057 100644 --- a/app/src/main/res/values-in/strings.xml +++ b/app/src/main/res/values-in/strings.xml @@ -2,8 +2,6 @@ Simple Clock Jam Zona waktu - Created at - Time of day Getar Label Tidak ada hari yang dipilih @@ -16,6 +14,8 @@ Jam dan tanggal Gunakan bayangan teks Geser ke kanan untuk mengabaikan, atau ke kiri untuk Menunda. + Creation order + Alarm time Tab jam diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index 73804b1..574944c 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -2,8 +2,6 @@ Semplice Orologio Orologio Fuso orario - Created at - Time of day Vibrazione Etichetta Nessun giorno selezionato @@ -16,6 +14,8 @@ Ora e data Abilita l\'ombreggiatura del testo Scorri a destra per rimuovere, a sinistra per rinviare. + Creation order + Alarm time Scheda orologio diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index d0b32e9..ee9c1e7 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -2,8 +2,6 @@ Simple Clock 時計 タイムゾーン - Created at - Time of day バイブレーション ラベル 曜日が選択されていません @@ -16,6 +14,8 @@ 時計と日付 文字に影を付ける 右にスワイプして終了、または左にスワイプしてスヌーズ。 + Creation order + Alarm time 時計 diff --git a/app/src/main/res/values-lt/strings.xml b/app/src/main/res/values-lt/strings.xml index b5ddc01..a2d5347 100644 --- a/app/src/main/res/values-lt/strings.xml +++ b/app/src/main/res/values-lt/strings.xml @@ -2,8 +2,6 @@ Paprastas Laikrodis Laikrodis Laiko juosta - Created at - Time of day Vibruoti Etiketė Nepasirinkta nė vienos dienos @@ -16,6 +14,8 @@ Laikrodis ir data Naudoti teksto šešėlį Swipe right to Dismiss, or left to Snooze. + Creation order + Alarm time Laikrodžio skirtukas diff --git a/app/src/main/res/values-ml/strings.xml b/app/src/main/res/values-ml/strings.xml index cb096b7..638166c 100644 --- a/app/src/main/res/values-ml/strings.xml +++ b/app/src/main/res/values-ml/strings.xml @@ -2,8 +2,6 @@ Simple Clock ക്ലോക്ക് സമയ മേഖല - Created at - Time of day വൈബ്രേറ്റുചെയ്യുക അടിക്കുറിപ്പ് ദിവസങ്ങളൊന്നും തിരഞ്ഞെടുത്തിട്ടില്ല @@ -16,6 +14,8 @@ ക്ലോക്കും തീയതിയും ടെക്സ്റ്റ് ഷാഡോ ഉപയോഗിക്കുക നിരസിക്കുന്നതിന് വലത്തേക്ക് സ്വൈപ്പുചെയ്യുക, ഇടത്തേക്ക് സ്‌നൂസിലേക്ക് സ്വൈപ്പുചെയ്യുക. + Creation order + Alarm time ക്ലോക്ക് ടാബ് diff --git a/app/src/main/res/values-nb/strings.xml b/app/src/main/res/values-nb/strings.xml index b088535..122a31e 100644 --- a/app/src/main/res/values-nb/strings.xml +++ b/app/src/main/res/values-nb/strings.xml @@ -2,8 +2,6 @@ Simple Clock Klokke Tidssone - Created at - Time of day Vibrer Påskrift Ingen dager valgte @@ -16,6 +14,8 @@ Klokke og dato Bruk tekstskygge Sveip til høyre for å avvise eller til venstre for Snooze. + Creation order + Alarm time Klokke diff --git a/app/src/main/res/values-nl/strings.xml b/app/src/main/res/values-nl/strings.xml index e79f3a8..fbaf7a9 100644 --- a/app/src/main/res/values-nl/strings.xml +++ b/app/src/main/res/values-nl/strings.xml @@ -2,8 +2,6 @@ Eenvoudige Klok Klok Tijdzone - Created at - Time of day Trillen Label Geen dagen geselecteerd @@ -16,6 +14,8 @@ Klok en datum Tekstschaduw gebruiken Veeg rechts voor afzetten, of links voor snooze. + Creation order + Alarm time Tab Klok diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml index 71d58b1..cb9cb96 100644 --- a/app/src/main/res/values-pl/strings.xml +++ b/app/src/main/res/values-pl/strings.xml @@ -2,8 +2,6 @@ Prosty Zegar Zegar Strefa czasowa - Created at - Time of day Wibracje Etykieta Nie wybrano dni @@ -16,6 +14,8 @@ Czas i data Wycieniuj tekst Przeciągnij w prawo, aby wyłączyć, lub w lewo, aby włączyć drzemkę. + Creation order + Alarm time Zegar diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml index c907aa7..0387679 100644 --- a/app/src/main/res/values-pt/strings.xml +++ b/app/src/main/res/values-pt/strings.xml @@ -2,8 +2,6 @@ Simple Clock Relógio Fuso horário - Created at - Time of day Vibrar Legenda Nenhum dia selecionado @@ -16,6 +14,8 @@ Relógio e data Utilizar sombras Deslize à direita para descartar e à esquerda para suspender. + Creation order + Alarm time Relógio diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index ce7ffa8..721f0e0 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -2,8 +2,6 @@ Simple Clock Часы Часовой пояс - Created at - Time of day Вибрация Метка Дни не выбраны @@ -16,6 +14,8 @@ Часы и дата Использовать затенение текста Свайп вправо — скрыть, влево — отложить. + Creation order + Alarm time Часы diff --git a/app/src/main/res/values-sk/strings.xml b/app/src/main/res/values-sk/strings.xml index eafc0ff..777a19a 100644 --- a/app/src/main/res/values-sk/strings.xml +++ b/app/src/main/res/values-sk/strings.xml @@ -2,8 +2,6 @@ Jednoduché hodinky Hodinky Časové pásmo - Created at - Time of day Vibrovanie Štítok Neboli označené žiadne dni @@ -16,6 +14,8 @@ Hodiny a dátum Použiť tieňovanie písma Potiahnite vpravo na odstránenie, alebo vľavo na odloženie. + Poradia vytvorenia + Času budíka Okno s časom diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index 65f9257..02f55b4 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -2,8 +2,6 @@ Simple Clock Klocka Tidszon - Created at - Time of day Vibrera Etikett Inga dagar har valts @@ -16,6 +14,8 @@ Klocka och datum Använd textskugga Dra åt höger för att Stänga av eller åt vänster för att Snooza. + Creation order + Alarm time Fliken Klocka diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml index 3910dc7..6cc351b 100644 --- a/app/src/main/res/values-tr/strings.xml +++ b/app/src/main/res/values-tr/strings.xml @@ -2,8 +2,6 @@ Basit Saat Saat Saat dilimi - Created at - Time of day Titret Etiket Hiçbir gün seçilmedi @@ -16,6 +14,8 @@ Saat ve tarih Metin gölgesi kullan Swipe right to Dismiss, or left to Snooze. + Creation order + Alarm time Saat sekmesi diff --git a/app/src/main/res/values-uk/strings.xml b/app/src/main/res/values-uk/strings.xml index c8e655e..5300662 100644 --- a/app/src/main/res/values-uk/strings.xml +++ b/app/src/main/res/values-uk/strings.xml @@ -2,8 +2,6 @@ Простий Годинник Годинник Часовий пояс - Created at - Time of day Вібрувати Мітка Дні не обрано @@ -16,6 +14,8 @@ Годинник і дата Застосовувати ефект тіні у тексті Свайп вправо, щоб відхилити, або вліво, щоб відкласти. + Creation order + Alarm time Годинник diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index b564c4d..05a7d5b 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -2,8 +2,6 @@ 简易时钟 时钟 时区 - Created at - Time of day 震动 标签 未选择哪一天 @@ -16,6 +14,8 @@ 时钟和日期 使用文字阴影 右滑关闭,或者左滑贪睡。 + Creation order + Alarm time 时钟页面 diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index d44732d..66177dd 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -2,8 +2,6 @@ 簡易時鐘 簡易時鐘 時區 - Created at - Time of day 震動 標籤 未選擇哪一天 @@ -16,6 +14,8 @@ 時鐘和日期 使用文字陰影 右滑關閉,或者左滑延遲。 + Creation order + Alarm time 時鐘頁面 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 52b8fe8..3d6d4bc 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -2,8 +2,6 @@ Simple Clock Clock Time zone - Created at - Time of day Vibrate Label No days selected @@ -16,6 +14,8 @@ Clock and date Use text shadow Swipe right to Dismiss, or left to Snooze. + Creation order + Alarm time Clock tab