~daggerstab/stellarium/oculars-gui-improvement

« back to all changes in this revision

Viewing changes to plugins/SolarSystemEditor/src/SolarSystemEditor.cpp

  • Committer: Bogdan Marinov
  • Date: 2011-11-10 23:39:52 UTC
  • mfrom: (4948.1.52 stellarium)
  • Revision ID: bogdan.marinov84@gmail.com-20111110233952-d44bk1q756mybt1k
merged in trunk at revision 5000

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
        
54
54
        StelPluginInfo info;
55
55
        info.id = "SolarSystemEditor";
56
 
        info.displayedName = q_("Solar System Editor");
 
56
        info.displayedName = N_("Solar System Editor");
57
57
        info.authors = "Bogdan Marinov";
58
58
        info.contact = "http://stellarium.org";
59
 
        info.description = q_("An interface for adding asteroids and comets to Stellarium. It can download object lists from the Minor Planet Center's website and perform searches in its online database. Still a work in progress.");
 
59
        info.description = N_("An interface for adding asteroids and comets to Stellarium. It can download object lists from the Minor Planet Center's website and perform searches in its online database. Still a work in progress.");
60
60
        return info;
61
61
}
62
62
 
723
723
                                 << "This is not a valid date for an Epoch.";
724
724
                return SsoElements();
725
725
        }
726
 
        int epochJD = epochDate.toJulianDay();
 
726
        //Epoch is at .0 TT, i.e. midnight
 
727
        double epochJD;
 
728
        StelUtils::getJDFromDate(&epochJD, year, month, day, 0, 0, 0);
727
729
        result.insert("orbit_Epoch", epochJD);
728
730
 
729
731
        column = oneLineElements.mid(26, 9).trimmed();