Do not mark test strings for translation

Bug #1469688 reported by David Planella
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Telegram app
Fix Released
Undecided
Michał Karnicki

Bug Description

While translating the app, I noticed some strings have got a path similar to this:

../library/uitest/ui/SignInPageDesign.qml:66

This leads me to believe that these strings are only used for testing purposes during development and are otherwise not shown to the user. If this is the case, I'd suggest to not put them in the final .pot file to save translator effort, as effectively their translations will not be used.

I can see two ways of doing this:

- Removing the i18n.tr() marker from the test files
- Alternatively, not include the test files to the list of files passed to xgettext in the CMakeLists.txt file

Probably the second is the least intrusive in terms of changes.

Tags: v2-verify
Michał Karnicki (karni)
Changed in libqtelegram:
status: New → Confirmed
Michał Karnicki (karni)
Changed in telegram-app:
status: Confirmed → Fix Committed
tags: added: v2
Changed in telegram-app:
assignee: nobody → Michał Karnicki (karni)
Michał Karnicki (karni)
tags: added: v2-verify
removed: v2
Michał Karnicki (karni)
Changed in telegram-app:
milestone: none → alpha1
Michał Karnicki (karni)
Changed in telegram-app:
status: Fix Committed → Fix Released
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.