We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59235d6 commit d997c32Copy full SHA for d997c32
src/core/StelSkyCultureMgr.cpp
@@ -954,6 +954,8 @@ QString StelSkyCultureMgr::createCulturalLabel(const StelObject::CulturalName &c
954
}
955
if ((styleInt & int(StelObject::CulturalDisplayStyle::Modern)) && (!commonNameI18n.isEmpty()) && (!label.startsWith(commonNameI18n)) && (commonNameI18n!=cName.translatedI18n))
956
label.append(QString(" %1%3%2").arg(QChar(0x29FC), QChar(0x29FD), commonNameI18n));
957
+ if ((styleInt & int(StelObject::CulturalDisplayStyle::Modern)) && label.isEmpty()) // if something went wrong?
958
+ label=commonNameI18n;
959
960
return label;
961
0 commit comments