Open 2xB opened 5 years ago
Thanks for opening this issue @2xB!
It is fixed already.
@filipedelimabrito Should this be fixed with 3.5.1? Because I can still reproduce it in that version.
@2xB the difference is just the letter A being displayed in uppercase?
@filipedelimabrito Yes, exactly.
@2xB Can you open a PR fixing it?
@filipedelimabrito I do not feel comfortable with this in that code base. The issue is probably the toLowerCase
in https://github.com/RocketChat/Rocket.Chat.Android/blob/8497f7faabf0399f7ec3d054479f24f39d2275c6/app/src/main/java/chat/rocket/android/chatrooms/ui/ChatRoomsFragment.kt#L156 . If I just removed the toLowerCase
, I would probably break English language, as msg_sort_by_activity
is uppercase itself. Therefore, more had to be changed, and maybe the way the sorting label is implemented at all?
You need to check if the current language is german and if not use the toLowerCase()
. Feel free to open a PR. Thank you!
German is not the only language that needs this. I think Danish and Norwegian have the same issue, but I am not versed in these languages.
Describe the bug
Sorting indicator is lowercase, which it should not be e.g. in german.
To Reproduce
Open a server in the german language. It is shown "Sortiert nach aktivität".
Expected behavior
"Sortiert nach Aktivität" should be shown.
Devices and Versions
Your Rocket.Chat.Android version: 3.4.2 Your Rocket.Chat Server version: 1.0.3
Mobile device model and OS version: Samsung Galaxy Tab S2, Android 7.0