Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 13 additions & 12 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/coordinator_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
Expand Down Expand Up @@ -56,7 +57,7 @@
android:id="@+id/subtitle_app"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Default Settings ▾"
tools:text="Default Settings ▾"
android:textColor="?attr/colorOnSurfaceVariant"
android:textSize="12sp"
android:fontFamily="sans-serif-medium"
Expand Down Expand Up @@ -90,7 +91,7 @@
android:layout_width="40dp"
android:layout_height="40dp"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="Close search"
android:contentDescription="@string/a11y_close_search"
android:src="@drawable/ic_arrow_back"
app:tint="?attr/colorOnSurface" />

Expand All @@ -115,7 +116,7 @@
android:layout_width="40dp"
android:layout_height="40dp"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="Clear search"
android:contentDescription="@string/a11y_clear_search"
android:src="@drawable/ic_close"
android:visibility="gone"
app:tint="?attr/colorOnSurfaceVariant" />
Expand Down Expand Up @@ -288,7 +289,7 @@
android:src="@drawable/ic_chevron_down"
android:rotation="0"
app:tint="?attr/colorOnSurfaceVariant"
android:contentDescription="Expand/collapse"/>
android:importantForAccessibility="no"/>
</LinearLayout>

<LinearLayout
Expand Down Expand Up @@ -373,7 +374,7 @@
android:src="@drawable/ic_chevron_down"
android:rotation="0"
app:tint="?attr/colorOnSurfaceVariant"
android:contentDescription="Expand/collapse"/>
android:importantForAccessibility="no"/>
</LinearLayout>

<LinearLayout
Expand Down Expand Up @@ -448,7 +449,7 @@
android:src="@drawable/ic_chevron_down"
android:rotation="0"
app:tint="?attr/colorOnSurfaceVariant"
android:contentDescription="Expand/collapse"/>
android:importantForAccessibility="no"/>
</LinearLayout>

<LinearLayout
Expand Down Expand Up @@ -573,7 +574,7 @@
android:src="@drawable/ic_chevron_down"
android:rotation="0"
app:tint="?attr/colorOnSurfaceVariant"
android:contentDescription="Expand/collapse"/>
android:importantForAccessibility="no"/>
</LinearLayout>

<LinearLayout
Expand Down Expand Up @@ -648,7 +649,7 @@
android:src="@drawable/ic_chevron_down"
android:rotation="0"
app:tint="?attr/colorOnSurfaceVariant"
android:contentDescription="Expand/collapse"/>
android:importantForAccessibility="no"/>
</LinearLayout>

<LinearLayout
Expand Down Expand Up @@ -723,7 +724,7 @@
android:src="@drawable/ic_chevron_down"
android:rotation="0"
app:tint="?attr/colorOnSurfaceVariant"
android:contentDescription="Expand/collapse"/>
android:importantForAccessibility="no"/>
</LinearLayout>

<LinearLayout
Expand Down Expand Up @@ -798,7 +799,7 @@
android:src="@drawable/ic_chevron_down"
android:rotation="0"
app:tint="?attr/colorOnSurfaceVariant"
android:contentDescription="Expand/collapse"/>
android:importantForAccessibility="no"/>
</LinearLayout>

<LinearLayout
Expand Down Expand Up @@ -1829,15 +1830,15 @@
android:id="@+id/tv_changelog_version"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Version %s"
tools:text="Version 1.0"
android:textAppearance="?attr/textAppearanceBodyMedium"
android:textColor="?attr/colorOnSurfaceVariant"
android:layout_marginBottom="12dp" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="by LeanBitLab"
android:text="@string/changelog_author"
android:textSize="14sp"
android:textColor="?attr/colorOnSurfaceVariant"/>

Expand Down
18 changes: 9 additions & 9 deletions app/src/main/res/layout/activity_setup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Enable Keep Alive"
android:text="@string/row_enable_keep_alive"
android:textSize="16sp"
android:textColor="?attr/colorOnSurface"
android:textStyle="bold"/>
Expand Down Expand Up @@ -161,14 +161,14 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Disable Battery Optimization"
android:text="@string/setup_battery_optimization_title"
android:textSize="16sp"
android:textColor="?attr/colorOnSurface"
android:textStyle="bold"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Prevent Android from pausing the widget updates and touch actions"
android:text="@string/setup_battery_optimization_desc"
android:textSize="12sp"
android:textColor="?attr/colorOnSurfaceVariant"
android:layout_marginTop="4dp"/>
Expand Down Expand Up @@ -236,7 +236,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Calendar Events"
android:text="@string/setup_calendar_events"
android:textSize="16sp"
android:textColor="?attr/colorOnSurface"/>
<com.google.android.material.button.MaterialButton
Expand Down Expand Up @@ -272,7 +272,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Tasks"
android:text="@string/section_tasks"
android:textSize="16sp"
android:textColor="?attr/colorOnSurface"/>
<com.google.android.material.button.MaterialButton
Expand Down Expand Up @@ -308,7 +308,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Step Counter"
android:text="@string/section_steps"
android:textSize="16sp"
android:textColor="?attr/colorOnSurface"/>
<com.google.android.material.button.MaterialButton
Expand Down Expand Up @@ -344,7 +344,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Data Usage"
android:text="@string/section_data_usage"
android:textSize="16sp"
android:textColor="?attr/colorOnSurface"/>
<com.google.android.material.button.MaterialButton
Expand Down Expand Up @@ -380,7 +380,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Screen Time"
android:text="@string/section_screen_time"
android:textSize="16sp"
android:textColor="?attr/colorOnSurface"/>
<com.google.android.material.button.MaterialButton
Expand Down Expand Up @@ -416,7 +416,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Weather"
android:text="@string/section_weather_condition"
android:textSize="16sp"
android:textColor="?attr/colorOnSurface"/>
<com.google.android.material.button.MaterialButton
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/settings_folded_header.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@
android:src="@drawable/ic_chevron_down"
android:rotation="0"
app:tint="?attr/colorOnSurfaceVariant"
android:contentDescription="Expand/collapse"/>
android:importantForAccessibility="no"/>
</LinearLayout>
2 changes: 1 addition & 1 deletion app/src/main/res/layout/settings_reorder_item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
android:padding="6dp"
android:layout_marginEnd="10dp"
android:src="@drawable/ic_reorder"
android:contentDescription="Drag to reorder"
android:contentDescription="@string/a11y_drag_to_reorder"
app:tint="?attr/colorPrimary"/>

<TextView
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/settings_timezone_search.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
android:layout_height="20dp"
android:layout_marginEnd="8dp"
android:src="@android:drawable/ic_menu_search"
android:contentDescription="Search"
android:contentDescription="@string/a11y_search"
app:tint="?attr/colorOnSurfaceVariant"/>

<com.google.android.material.textfield.TextInputLayout
Expand Down
8 changes: 8 additions & 0 deletions app/src/main/res/values-ar/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@
<string name="setup_welcome_desc">ودجت قابل للتخصيص لشاشتك الرئيسية.</string>
<string name="setup_keep_alive_title">الإبقاء قيد التشغيل</string>
<string name="setup_keep_alive_desc">يمنع النظام من إيقاف تحديثات الودجت.</string>
<string name="setup_battery_optimization_title">تعطيل تحسين البطارية</string>
<string name="setup_battery_optimization_desc">امنع Android من إيقاف تحديثات الودجت وإجراءات اللمس مؤقتًا</string>
<string name="setup_calendar_events">أحداث التقويم</string>
<string name="setup_permissions_title">أذونات اختيارية</string>
<string name="setup_permissions_desc">امنح الأذونات لتفعيل ميزات مثل التقويم والمهام وعداد الخطوات.</string>
<string name="btn_next">التالي</string>
Expand Down Expand Up @@ -139,6 +142,11 @@
<string name="version_unknown">غير معروف</string>
<string name="a11y_move_up">نقل لأعلى</string>
<string name="a11y_move_down">نقل لأسفل</string>
<string name="a11y_close_search">إغلاق البحث</string>
<string name="a11y_clear_search">مسح البحث</string>
<string name="a11y_search">بحث</string>
<string name="a11y_drag_to_reorder">اسحب لإعادة الترتيب</string>
<string name="changelog_author">بواسطة LeanBitLab</string>

<!-- Widget content -->
<string name="label_today">اليوم</string>
Expand Down
8 changes: 8 additions & 0 deletions app/src/main/res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@
<string name="setup_welcome_desc">Ein anpassbares Widget für Ihren Startbildschirm.</string>
<string name="setup_keep_alive_title">Aktiv halten</string>
<string name="setup_keep_alive_desc">Verhindert, dass Aktualisierungen gestoppt werden.</string>
<string name="setup_battery_optimization_title">Akkuoptimierung deaktivieren</string>
<string name="setup_battery_optimization_desc">Verhindert, dass Android Widget-Updates und Touch-Aktionen pausiert</string>
<string name="setup_calendar_events">Kalendertermine</string>
<string name="setup_permissions_title">Optionale Berechtigungen</string>
<string name="setup_permissions_desc">Berechtigungen für Kalender, Aufgaben und Schrittzähler erteilen.</string>
<string name="btn_next">Weiter</string>
Expand Down Expand Up @@ -139,6 +142,11 @@
<string name="version_unknown">Unbekannt</string>
<string name="a11y_move_up">Nach oben</string>
<string name="a11y_move_down">Nach unten</string>
<string name="a11y_close_search">Suche schließen</string>
<string name="a11y_clear_search">Suche löschen</string>
<string name="a11y_search">Suchen</string>
<string name="a11y_drag_to_reorder">Zum Neuordnen ziehen</string>
<string name="changelog_author">von LeanBitLab</string>

<!-- Widget content -->
<string name="label_today">Heute</string>
Expand Down
8 changes: 8 additions & 0 deletions app/src/main/res/values-es/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@
<string name="setup_welcome_desc">Un widget personalizable para tu pantalla de inicio.</string>
<string name="setup_keep_alive_title">Mantener activo</string>
<string name="setup_keep_alive_desc">Evita que el sistema detenga las actualizaciones del widget.</string>
<string name="setup_battery_optimization_title">Desactivar la optimización de batería</string>
<string name="setup_battery_optimization_desc">Evita que Android pause las actualizaciones del widget y las acciones táctiles</string>
<string name="setup_calendar_events">Eventos del calendario</string>
<string name="setup_permissions_title">Permisos opcionales</string>
<string name="setup_permissions_desc">Otorga permisos para funciones opcionales como eventos, tareas o pasos.</string>
<string name="btn_next">Siguiente</string>
Expand Down Expand Up @@ -139,6 +142,11 @@
<string name="version_unknown">Desconocida</string>
<string name="a11y_move_up">Subir</string>
<string name="a11y_move_down">Bajar</string>
<string name="a11y_close_search">Cerrar búsqueda</string>
<string name="a11y_clear_search">Borrar búsqueda</string>
<string name="a11y_search">Buscar</string>
<string name="a11y_drag_to_reorder">Arrastrar para reordenar</string>
<string name="changelog_author">por LeanBitLab</string>

<!-- Widget content -->
<string name="label_today">Hoy</string>
Expand Down
8 changes: 8 additions & 0 deletions app/src/main/res/values-fr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@
<string name="setup_welcome_desc">Un widget personnalisable pour votre écran d\'accueil.</string>
<string name="setup_keep_alive_title">Maintien actif</string>
<string name="setup_keep_alive_desc">Empêche l\'arrêt des mises à jour du widget.</string>
<string name="setup_battery_optimization_title">Désactiver l\'optimisation de la batterie</string>
<string name="setup_battery_optimization_desc">Empêche Android de mettre en pause les mises à jour du widget et les actions tactiles</string>
<string name="setup_calendar_events">Événements du calendrier</string>
<string name="setup_permissions_title">Autorisations facultatives</string>
<string name="setup_permissions_desc">Accordez les autorisations pour le calendrier, les tâches et le podomètre.</string>
<string name="btn_next">Suivant</string>
Expand Down Expand Up @@ -139,6 +142,11 @@
<string name="version_unknown">Inconnue</string>
<string name="a11y_move_up">Monter</string>
<string name="a11y_move_down">Descendre</string>
<string name="a11y_close_search">Fermer la recherche</string>
<string name="a11y_clear_search">Effacer la recherche</string>
<string name="a11y_search">Rechercher</string>
<string name="a11y_drag_to_reorder">Faire glisser pour réorganiser</string>
<string name="changelog_author">par LeanBitLab</string>

<!-- Widget content -->
<string name="label_today">Aujourd\'hui</string>
Expand Down
8 changes: 8 additions & 0 deletions app/src/main/res/values-hi/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@
<string name="setup_welcome_desc">आपकी होम स्क्रीन के लिए कस्टमाइज़ेबल विजेट।</string>
<string name="setup_keep_alive_title">सक्रिय रखें</string>
<string name="setup_keep_alive_desc">विजेट को अपडेट रखने के लिए इसे चालू रखें।</string>
<string name="setup_battery_optimization_title">बैटरी ऑप्टिमाइज़ेशन बंद करें</string>
<string name="setup_battery_optimization_desc">Android को विजेट अपडेट और टच क्रियाओं को रोकने से रोकें</string>
<string name="setup_calendar_events">कैलेंडर इवेंट</string>
<string name="setup_permissions_title">वैकल्पिक अनुमतियां</string>
<string name="setup_permissions_desc">कैलेंडर, कार्य और स्टेप काउंटर के लिए अनुमतियां दें।</string>
<string name="btn_next">अगला</string>
Expand Down Expand Up @@ -139,6 +142,11 @@
<string name="version_unknown">अज्ञात</string>
<string name="a11y_move_up">ऊपर ले जाएँ</string>
<string name="a11y_move_down">नीचे ले जाएँ</string>
<string name="a11y_close_search">खोज बंद करें</string>
<string name="a11y_clear_search">खोज साफ़ करें</string>
<string name="a11y_search">खोजें</string>
<string name="a11y_drag_to_reorder">क्रम बदलने के लिए खींचें</string>
<string name="changelog_author">LeanBitLab द्वारा</string>

<!-- Widget content -->
<string name="label_today">आज</string>
Expand Down
Loading
Loading