When I do in the Python QGIS console QgsColorSchemeRegistry.instance().schemes(), it returns the following
[, , ]If I loop the schemes with [scheme.schemeName() for scheme in QgsColorSchemeRegistry.instance().schemes()], I get:
[u'Recent colors', u'Standard colors', u'Project colors']So, it seems that all schemes have been through a cast so the only way to make the difference is via their schemeName but it's not generic when you use other languages.
In my understanding, I would expect a list with returned content like below:
[, , ]First, my guess is right?
Secondly, what is the "best" way to manage this case properly, if any?
أكثر...
[, , ]If I loop the schemes with [scheme.schemeName() for scheme in QgsColorSchemeRegistry.instance().schemes()], I get:
[u'Recent colors', u'Standard colors', u'Project colors']So, it seems that all schemes have been through a cast so the only way to make the difference is via their schemeName but it's not generic when you use other languages.
In my understanding, I would expect a list with returned content like below:
[, , ]First, my guess is right?
Secondly, what is the "best" way to manage this case properly, if any?
أكثر...