Fix wording for direct message tab

This commit is contained in:
Benoit Marty 2019-07-04 15:37:19 +02:00
parent c21b9df9a5
commit 5322251bc0
4 changed files with 5 additions and 3 deletions

View File

@ -52,7 +52,7 @@ class RoomListFragment : VectorBaseFragment(), RoomSummaryController.Listener, O

enum class DisplayMode(@StringRes val titleRes: Int) {
HOME(R.string.bottom_action_home),
PEOPLE(R.string.bottom_action_people),
PEOPLE(R.string.bottom_action_people_x),
ROOMS(R.string.bottom_action_rooms)
}


View File

@ -73,7 +73,7 @@ typealias RoomSummaries = LinkedHashMap<RoomCategory, List<RoomSummary>>
enum class RoomCategory(@StringRes val titleRes: Int) {
INVITE(R.string.invitations_header),
FAVOURITE(R.string.bottom_action_favourites),
DIRECT(R.string.bottom_action_people),
DIRECT(R.string.bottom_action_people_x),
GROUP(R.string.bottom_action_rooms),
LOW_PRIORITY(R.string.low_priority_header),
SERVER_NOTICE(R.string.system_alerts_header)

View File

@ -10,7 +10,7 @@

<item
android:id="@+id/bottom_action_people"
android:contentDescription="@string/bottom_action_people"
android:contentDescription="@string/bottom_action_people_x"
android:enabled="true"
android:icon="@drawable/ic_home_bottom_chat"
android:title="" />

View File

@ -3,5 +3,7 @@

<!-- Strings not defined in Riot -->

<string name="bottom_action_people_x">Direct Messages</string>


</resources>