Truncated strings not optimal for translation

Bug #1511857 reported by David Planella
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Telegram app
New
Undecided
Unassigned

Bug Description

While translating Telegram I came across some strings like:

- sent you a photo
- sent you a video
- sent you a message

It seems there is part of the sentence missing, that could probably be added using a variable. Truncated (and concatenated at runtime) strings do not generally work well with some languages, and with RTL languages they don't work at all.

Tags: v2
David Planella (dpm)
tags: added: v2
Revision history for this message
GunChleoc (gunchleoc) wrote :

+1. The format needs to be:

%1 sent you a message

etc...

Revision history for this message
Akerbeltz (fios) wrote :

Providing a full list

sent you a message
 Located in /home/karni/src/telegram/telegram-app/v2/telegram/push/pushhelper.cpp:110

sent you a photo
 Located in /home/karni/src/telegram/telegram-app/v2/telegram/push/pushhelper.cpp:114

sent you a video
 Located in /home/karni/src/telegram/telegram-app/v2/telegram/push/pushhelper.cpp:118

sent you a document
 Located in /home/karni/src/telegram/telegram-app/v2/telegram/push/pushhelper.cpp:122

sent you a voice message
 Located in /home/karni/src/telegram/telegram-app/v2/telegram/push/pushhelper.cpp:126

shared a contact with you
 Located in /home/karni/src/telegram/telegram-app/v2/telegram/push/pushhelper.cpp:130

sent you a map
 Located in /home/karni/src/telegram/telegram-app/v2/telegram/push/pushhelper.cpp:134

updated profile photo
 Located in /home/karni/src/telegram/telegram-app/v2/telegram/push/pushhelper.cpp:249

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.