Bug report #11765

Untranslatable strings from ./src/core/qgscolorscheme.h

Added by zirneklitis - over 9 years ago. Updated almost 9 years ago.

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)

kraasas-2.7-kraasu_paraugi.png - The string "Recent colors" should be translated (35.2 KB) zirneklitis -, 2014-12-01 12:02 AM

Associated revisions

Revision df7e07bc
Added by Nyall Dawson almost 9 years ago

Fix untranslatable strings (fix #11765)

Revision b3f9b66a
Added by Nyall Dawson almost 9 years ago

Fix untranslatable strings (fix #11765)

cherry-picked from df7e07bcf7889c79297eb5ff25ca6244ec71c82b

History

#1 Updated by Nyall Dawson almost 9 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF