Bug report #11765
Untranslatable strings from ./src/core/qgscolorscheme.h
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | QGIS Translation Team | ||
Category: | Translations and international | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | any | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 19997 |
Description
The translation for the strings included in the file ./src/core/qgscolorscheme.h does not work. There are three translatable strings:
..
virtual QString schemeName() const { return QT_TR_NOOP( "Recent colors" ); }
..
virtual QString schemeName() const { return QT_TR_NOOP( "Standard colors" ); }
virtual QString schemeName() const { return QT_TR_NOOP( "Project colors" ); }
..
They are recognized and extracted in *.ts file with "lupdate-qt4". But the translation does not work, e.g., no luck with:
<context>
<name>QgsRecentColorScheme</name>
<message>
<location filename="qgis/src/core/qgscolorscheme.h" line="-50"/>
<source>Recent colors</source>
<translation type="unfinished">Nesen lietotās krāsas</translation>
</message>
</context>
(see the attached screen shot)
Associated revisions
Fix untranslatable strings (fix #11765)
Fix untranslatable strings (fix #11765)
cherry-picked from df7e07bcf7889c79297eb5ff25ca6244ec71c82b
History
#1 Updated by Nyall Dawson over 9 years ago
- Status changed from Open to Closed
Fixed in changeset df7e07bcf7889c79297eb5ff25ca6244ec71c82b.