[Kstars-devel] KDE/kdeedu/kstars/kstars
Akarsh Simha
akarshsimha at gmail.com
Mon Aug 31 21:04:21 CEST 2009
SVN commit 1017868 by asimha:
Reflecting the changes in message extraction in the i18nc calls in
geolocation.h
CCMAIL: kstars-devel at kde.org, kde-i18n-doc at kde.org
M +2 -2 geolocation.h
--- trunk/KDE/kdeedu/kstars/kstars/geolocation.h #1017867:1017868
@@ -113,13 +113,13 @@
QString name() const { return Name; }
/**@return translated City name
*/
- QString translatedName() const { return Name.isEmpty() ? QString() : i18nc("City name (optional, probably does not need a translation)", Name.toUtf8().data()); }
+ QString translatedName() const { return Name.isEmpty() ? QString() : i18nc(("City in " + province() + " " + country()).toUtf8().data(), Name.toUtf8().data()); }
/**@return untranslated Province name
*/
QString province() const { return Province; }
/**@return translated Province name
*/
- QString translatedProvince() const { return Province.isEmpty() ? QString() : i18nc("Region/state name (optional, rarely needs a translation)", Province.toUtf8().data()); }
+ QString translatedProvince() const { return Province.isEmpty() ? QString() : i18nc(("Region/state in " + country()).toUtf8().data(), Province.toUtf8().data()); }
/**@return untranslated Country name
*/
QString country() const { return Country; }
More information about the Kstars-devel
mailing list