- Changed the label of 'Celestial' grid to 'Equatorial'

sensor-dev
Vincent Giangiulio 2009-08-27 10:13:05 +00:00
parent 5e97b856cc
commit 94da202bbd
5 changed files with 6 additions and 6 deletions

View File

@ -122,7 +122,7 @@ void CelxLua::initRenderFlagMap()
RenderFlagMap["automag"] = Renderer::ShowAutoMag;
RenderFlagMap["atmospheres"] = Renderer::ShowAtmospheres;
RenderFlagMap["grid"] = Renderer::ShowCelestialSphere;
//RenderFlagMap["equatorialgrid"] = Renderer::ShowCelestialSphere;
RenderFlagMap["equatorialgrid"] = Renderer::ShowCelestialSphere;
RenderFlagMap["galacticgrid"] = Renderer::ShowGalacticGrid;
RenderFlagMap["eclipticgrid"] = Renderer::ShowEclipticGrid;
RenderFlagMap["horizontalgrid"] = Renderer::ShowHorizonGrid;

View File

@ -614,7 +614,7 @@ void KdeApp::initActions()
KToggleAction* showSpacecraftOrbits = new KToggleAction(i18n("Show Spacecraft Orbits"), 0, this, SLOT(slotShowSpacecraftOrbits()), actionCollection(), "showSpacecraftOrbits");
showSpacecraftOrbits->setChecked(oMask & Body::Spacecraft);
KToggleAction* showCelestialSphere = new KToggleAction(i18n("Show Celestial Grid"), Key_Semicolon, this, SLOT(slotShowCelestialSphere()), actionCollection(), "showCelestialSphere");
KToggleAction* showCelestialSphere = new KToggleAction(i18n("Show Equatorial Grid"), Key_Semicolon, this, SLOT(slotShowCelestialSphere()), actionCollection(), "showCelestialSphere");
showCelestialSphere->setChecked(rFlags & Renderer::ShowCelestialSphere);
KToggleAction* showNightMaps = new KToggleAction(i18n("Show Night Side Lights"), CTRL + Key_L, this, SLOT(slotShowNightMaps()), actionCollection(), "showNightMaps");

View File

@ -131,7 +131,7 @@ KdePreferencesDialog::KdePreferencesDialog(QWidget* parent, CelestiaCore* core)
actionColl->action("showSmoothLines")->connect(showSmoothLinesCheck, SIGNAL(clicked()), SLOT(activate()));
showSmoothLinesCheck->setChecked(renderFlags & Renderer::ShowSmoothLines);
QCheckBox* showCelestialSphereCheck = new QCheckBox(i18n("Celestial Grid"), showGroup);
QCheckBox* showCelestialSphereCheck = new QCheckBox(i18n("Equatorial Grid"), showGroup);
actionColl->action("showCelestialSphere")->connect(showCelestialSphereCheck, SIGNAL(clicked()), SLOT(activate()));
showCelestialSphereCheck->setChecked(renderFlags & Renderer::ShowCelestialSphere);

View File

@ -156,7 +156,7 @@ PreferencesDialog::PreferencesDialog(QWidget* parent, CelestiaCore* core) :
showSmoothLinesCheck->setChecked(renderFlags & Renderer::ShowSmoothLines);
guidesGroupLayout->addWidget(showSmoothLinesCheck);
QCheckBox* showCelestialSphereCheck = new QCheckBox(tr("Celestial Grid"));
QCheckBox* showCelestialSphereCheck = new QCheckBox(tr("Equatorial Grid"));
connect(showCelestialSphereCheck, SIGNAL(clicked(bool)), this, SLOT(slotShowCelestialSphere(bool)));
showCelestialSphereCheck->setChecked(renderFlags & Renderer::ShowCelestialSphere);
guidesGroupLayout->addWidget(showCelestialSphereCheck);
@ -628,7 +628,7 @@ PreferencesDialog::PreferencesDialog(QWidget* parent, CelestiaCore* core) :
//actionColl->action("showSmoothLines")->connect(showSmoothLinesCheck, SIGNAL(clicked()), SLOT(activate()));
showSmoothLinesCheck->setChecked(renderFlags & Renderer::ShowSmoothLines);
QCheckBox* showCelestialSphereCheck = new QCheckBox(tr("Celestial Grid"), showGroup);
QCheckBox* showCelestialSphereCheck = new QCheckBox(tr("Equatorial Grid"), showGroup);
//actionColl->action("showCelestialSphere")->connect(showCelestialSphereCheck, SIGNAL(clicked()), SLOT(activate()));
showCelestialSphereCheck->setChecked(renderFlags & Renderer::ShowCelestialSphere);

View File

@ -1081,7 +1081,7 @@ BEGIN
GROUPBOX "Grids",IDC_STATIC,245,47,90,64
CONTROL "Celestial",IDC_SHOWCELESTIALGRID,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,253,57,80,10
CONTROL "Equatorial",IDC_SHOWCELESTIALGRID,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,253,57,80,10
CONTROL "Horizontal",IDC_SHOWHORIZONGRID,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,253,70,80,10