Skip to content

Commit

Permalink
Updated lits of translatable scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-w committed Jan 21, 2019
1 parent b92bc60 commit e5745e8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
1 change: 1 addition & 0 deletions po/stellarium-scripts/POTFILES.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ scripts/morsels_2.ssc
scripts/morsels_3.ssc
scripts/morsels_4.ssc
scripts/supernova.ssc
scripts/h400_tour.ssc
19 changes: 10 additions & 9 deletions scripts/h400_tour.ssc
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,25 @@
// Name: Herschel 400 Tour
// License: Public Domain
// Author: Alexander Wolf
// Version: 1.1
// Version: 1.2
// Description: A tour around objects from the Herschel 400 Catalogue

include("common_objects.inc");
include("i18n.inc");

var color="#00AAFF";
core.clear("deepspace");
core.setGuiVisible(false);
StelMovementMgr.setFlagTracking(true);

var id = LabelMgr.labelScreen("The Herschel 400 Catalogue", 20, 20, false, 30, color);
var info1 = LabelMgr.labelScreen("The Herschel 400 is a subset of John Herschel's General Catalogue of Nebulae and Clusters", 20, 60, false, 20, color);
var info2 = LabelMgr.labelScreen("published in 1864 of 5,000 objects, and hence also of the New General Catalogue.", 20, 85, false, 20, color);
var stat1 = LabelMgr.labelScreen("Vital statistics:", 20, 120, false, 16, color);
var stat2 = LabelMgr.labelScreen("* The catalogue contains 400 objects", 20, 140, false, 16, color);
var stat3 = LabelMgr.labelScreen("* All objects are from the NGC", 20, 160, false, 16, color);
var stat4 = LabelMgr.labelScreen("* All visible in mid northern latitudes", 20, 180, false, 16, color);
var stat5 = LabelMgr.labelScreen("* All visible in 150 mm (6\") or larger telescopes", 20, 200, false, 16, color);
var id = LabelMgr.labelScreen(tr("The Herschel 400 Catalogue"), 20, 20, false, 30, color);
var info1 = LabelMgr.labelScreen(tr("The Herschel 400 is a subset of John Herschel's General Catalogue of Nebulae and Clusters"), 20, 60, false, 20, color);
var info2 = LabelMgr.labelScreen(tr("published in 1864 of 5,000 objects, and hence also of the New General Catalogue."), 20, 85, false, 20, color);
var stat1 = LabelMgr.labelScreen(tr("Vital statistics:"), 20, 120, false, 16, color);
var stat2 = LabelMgr.labelScreen(tr("* The catalogue contains 400 objects"), 20, 140, false, 16, color);
var stat3 = LabelMgr.labelScreen(tr("* All objects are from the NGC"), 20, 160, false, 16, color);
var stat4 = LabelMgr.labelScreen(tr("* All visible in mid northern latitudes"), 20, 180, false, 16, color);
var stat5 = LabelMgr.labelScreen(tr("* All visible in 150 mm (6\") or larger telescopes"), 20, 200, false, 16, color);

LabelMgr.setLabelShow(id, true);
LabelMgr.setLabelShow(info1, true);
Expand Down

0 comments on commit e5745e8

Please sign in to comment.