mirror of
https://github.com/accelforce/Yuito
synced 2024-12-22 21:28:08 +01:00
make max tabs reached message translateable
This commit is contained in:
parent
27cf5f5380
commit
f4ac9b3da6
@ -125,6 +125,8 @@ class TabPreferenceActivity : BaseActivity(), Injectable, ItemInteractionListene
|
||||
actionButton.isExpanded = false
|
||||
}
|
||||
|
||||
maxTabsInfo.text = getString(R.string.max_tab_number_reached, MAX_TAB_COUNT)
|
||||
|
||||
updateAvailableTabs()
|
||||
|
||||
}
|
||||
|
@ -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:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
@ -55,9 +56,9 @@
|
||||
android:id="@+id/maxTabsInfo"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="maximum of 5 tabs reached"
|
||||
android:lineSpacingMultiplier="1.1"
|
||||
android:padding="8dp"
|
||||
android:lineSpacingMultiplier="1.1" />
|
||||
tools:text="@string/max_tab_number_reached" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
|
@ -330,4 +330,7 @@
|
||||
<string name="title_reblogged_by">Geteilt von</string>
|
||||
<string name="title_favourited_by">Favorisiert von</string>
|
||||
|
||||
<string name="max_tab_number_reached">maximale Anzahl von %1$d Tabs erreicht</string>
|
||||
|
||||
|
||||
</resources>
|
||||
|
@ -384,6 +384,7 @@
|
||||
<string name="conversation_1_recipients">%1$s</string>
|
||||
<string name="conversation_2_recipients">%1$s and %2$s</string>
|
||||
<string name="conversation_more_recipients">%1$s, %2$s and %3$d more</string>
|
||||
<string name="max_tab_number_reached">maximum of %1$d tabs reached</string>
|
||||
|
||||
|
||||
</resources>
|
||||
|
Loading…
Reference in New Issue
Block a user