Skip to content

Commit

Permalink
all: smoother notifications translations (fixes #4479) (#4482)
Browse files Browse the repository at this point in the history
Co-authored-by: dogi <[email protected]>
  • Loading branch information
Kuljeet1998 and dogi authored Sep 26, 2024
1 parent 298aa8f commit 5e99ec3
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 8 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
applicationId "org.ole.planet.myplanet"
minSdkVersion 21
targetSdkVersion 34
versionCode 1956
versionName "0.19.56"
versionCode 1957
versionName "0.19.57"
ndkVersion '21.3.6528147'
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
Expand Down
6 changes: 1 addition & 5 deletions app/src/main/res/layout/fragment_notifications.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,17 @@
android:id="@+id/btnMarkAllAsRead"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="mark all as read"
android:text="@string/mark_all_as_read"
android:textAllCaps="false"
app:layout_constraintEnd_toEndOf="parent" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1" />

<Spinner
android:id="@+id/status"
android:layout_width="wrap_content"
Expand All @@ -54,7 +51,6 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/ltTopBar" />

<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_notifications"
android:layout_width="match_parent"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/row_notifications.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@
android:layout_gravity="center_vertical"
android:layout_margin="@dimen/_4dp"
android:padding="@dimen/padding_normal"
android:text="mark as read"
android:text="@string/mark_as_read"
android:textAllCaps="false" />
</LinearLayout>
2 changes: 2 additions & 0 deletions app/src/main/res/values-ar/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1179,5 +1179,7 @@
<string name="chart_description">مخطط نشاط تسجيل الدخول</string>
<string name="chart_label">عدد مرات تسجيل الدخول</string>
<string name="copied_to_clipboard">تم نسخه إلى الحافظة</string>
<string name="mark_all_as_read">وضع علامة "مقروء" على الجميع</string>
<string name="mark_as_read">وضع علامة كمقروء</string>

</resources>
2 changes: 2 additions & 0 deletions app/src/main/res/values-es/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1179,5 +1179,7 @@
<string name="chart_description">Gráfico de Actividad de Inicio de Sesión</string>
<string name="chart_label">N.º de inicios de sesión</string>
<string name="copied_to_clipboard">copiado al portapapeles</string>
<string name="mark_all_as_read">Marcar todo como leído</string>
<string name="mark_as_read">Marcar como leído</string>

</resources>
2 changes: 2 additions & 0 deletions app/src/main/res/values-fr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1179,5 +1179,7 @@
<string name="chart_description">Graphique d\'Activité de Connexion</string>
<string name="chart_label">Nbre de connexions</string>
<string name="copied_to_clipboard">copié dans le presse-papiers</string>
<string name="mark_all_as_read">Marquer tout comme lu</string>
<string name="mark_as_read">Marquer comme lu</string>

</resources>
2 changes: 2 additions & 0 deletions app/src/main/res/values-ne/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1179,5 +1179,7 @@
<string name="chart_description">लगइन गतिविधि चार्ट</string>
<string name="chart_label">लगइनहरूको संख्या</string>
<string name="copied_to_clipboard">क्लिपबोर्डमा प्रति लिइयो</string>
<string name="mark_all_as_read">सबैलाई पढिएको रूपमा चिन्ह लगाउनुहोस्</string>
<string name="mark_as_read">पढिएको रूपमा चिन्ह लगाउनुहोस्</string>

</resources>
2 changes: 2 additions & 0 deletions app/src/main/res/values-so/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1179,5 +1179,7 @@
<string name="chart_description">Shaxda Waxqabadka Gelitaanka</string>
<string name="chart_label">Tirada galitaanka</string>
<string name="copied_to_clipboard">waxaa lagu koobay clipboard-ka</string>
<string name="mark_all_as_read">Calaamadee dhammaan sidii la aqriyay</string>
<string name="mark_as_read">Calaamadee sidii la aqriyay</string>

</resources>
2 changes: 2 additions & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1179,5 +1179,7 @@
<string name="chart_description">Login Activity Chart</string>
<string name="chart_label">No. of login</string>
<string name="copied_to_clipboard">copied to clipboard</string>
<string name="mark_all_as_read">Mark all as read</string>
<string name="mark_as_read">Mark as read</string>

</resources>

0 comments on commit 5e99ec3

Please sign in to comment.