"Send messages to %1?" messages not displayed in spanish

Bug #1517780 reported by Dan González
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Telegram app
Triaged
Medium
Unassigned

Bug Description

Although present on Translations (https://translations.launchpad.net/telegram-app/v2/+pots/telegram-app/es/+translate?batch=10&show=all&search=send+messages), when sharing a photo through Telegram app and selecting a chat, the message displays in english (accept and cancel buttons on the dialog are correctly displayed in spanish).

Dan González (gonrodda)
description: updated
Michał Karnicki (karni)
Changed in telegram-app:
importance: Undecided → High
milestone: none → m26
Revision history for this message
Michał Karnicki (karni) wrote :

David, any hint on how to fix this? It seems strings within PopupUtils.open call are not being translated:
http://bazaar.launchpad.net/~libqtelegram-team/telegram-app/telegram/view/head:/telegram/app/qml/AccountDialogList.qml#L107

Changed in telegram-app:
status: New → Triaged
Revision history for this message
David Planella (dpm) wrote :

Hm, not sure what's going on. Was PopUtils.open not a .js file and perhaps the the i18n object is not being correctly used, or the translations domain not set?

I think in any case, someone from the SDK team could provide more insight.

Revision history for this message
David Planella (dpm) wrote :
Michał Karnicki (karni)
Changed in telegram-app:
importance: High → Medium
Revision history for this message
Cris Dywan (kalikiana) wrote :

The i18n.tr() call is within a {} which isn't a true binding in QML - I suspect it's only evaluated once before the domain is set correctly.

Michał Karnicki (karni)
Changed in telegram-app:
milestone: m26 → m27
Jin (jindallo)
Changed in telegram-app:
milestone: m27 → m28
Jin (jindallo)
Changed in telegram-app:
milestone: m28 → m29
Jin (jindallo)
Changed in telegram-app:
milestone: m29 → m30
Jin (jindallo)
Changed in telegram-app:
milestone: m30 → none
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.