Bug 476358

Summary: %n times string causes unambiguity for some languages
Product: [Applications] NeoChat Reporter: Emir SARI <emir_sari>
Component: GeneralAssignee: Tobias Fella <fella>
Status: RESOLVED FIXED    
Severity: normal CC: carl
Priority: NOR    
Version First Reported In: 23.08.2   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Emir SARI 2023-10-31 09:42:32 UTC
The %n times string that indicates how many times a user left/entered the room seems to be appended to the very end of the string. However, for languages with different word ordering, this causes unambiguity.

The strings that indicate room enter/leave status need to explicitly spelled with %n times incorporated to them.
Comment 1 Bug Janitor Service 2023-11-11 18:54:41 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/neochat/-/merge_requests/1431
Comment 2 James Graham 2023-11-12 14:08:40 UTC
Git commit ae0c5ffaef3f1b48ee2b5463aa62b58044c1b790 by James Graham.
Committed on 12/11/2023 at 15:08.
Pushed by nvrwhere into branch 'master'.

Improve State Text Translatability

Make the state state strings less ambiguous for the purpose of translation.

M  +14   -12   src/models/messagefiltermodel.cpp

https://invent.kde.org/network/neochat/-/commit/ae0c5ffaef3f1b48ee2b5463aa62b58044c1b790