From kde-commits Wed Dec 31 17:37:03 2003 From: Jason Harris Date: Wed, 31 Dec 2003 17:37:03 +0000 To: kde-commits Subject: kdeedu/kstars/kstars Message-Id: <20031231173703.E4BDB93EA () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=107289228430612 CVS commit by harris: Display localized name of objects in the Altitude vs. Time Tool. This fixes one of the three issues reported in BR #71469. This fix does not break the strings freeze, we simply call SkyObject::translatedName() instead of SkyObject::name(). M +2 -2 altvstime.cpp 1.9 --- kdeedu/kstars/kstars/altvstime.cpp #1.8:1.9 @@ -218,9 +218,9 @@ void AltVsTime::processObject( SkyObject View->addObject( po ); - avtUI->PlotList->insertItem( o->name() ); + avtUI->PlotList->insertItem( o->translatedName() ); avtUI->PlotList->setCurrentItem( avtUI->PlotList->count() - 1 ); avtUI->raBox->showInHours(o->ra() ); avtUI->decBox->showInDegrees(o->dec() ); - avtUI->nameBox->setText(o->name() ); + avtUI->nameBox->setText(o->translatedName() ); //Set epochName to epoch shown in date tab