From e5745e830bbedc0c3136a632412da549e654e608 Mon Sep 17 00:00:00 2001 From: Alexander Wolf Date: Mon, 21 Jan 2019 15:30:26 +0700 Subject: [PATCH] Updated lits of translatable scripts --- po/stellarium-scripts/POTFILES.in | 1 + scripts/h400_tour.ssc | 19 ++++++++++--------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/po/stellarium-scripts/POTFILES.in b/po/stellarium-scripts/POTFILES.in index 8bbf9defc1a6a..3048fd0e8dcb1 100644 --- a/po/stellarium-scripts/POTFILES.in +++ b/po/stellarium-scripts/POTFILES.in @@ -9,3 +9,4 @@ scripts/morsels_2.ssc scripts/morsels_3.ssc scripts/morsels_4.ssc scripts/supernova.ssc +scripts/h400_tour.ssc \ No newline at end of file diff --git a/scripts/h400_tour.ssc b/scripts/h400_tour.ssc index 35e69b063095c..a09ffacd78bb7 100644 --- a/scripts/h400_tour.ssc +++ b/scripts/h400_tour.ssc @@ -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);