Skip to content

Commit

Permalink
Updated .travis.yml and translations
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-w committed Feb 10, 2019
1 parent 752abf1 commit b9e7890
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 15 deletions.
8 changes: 3 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,8 @@ before_install:
unzip -qq qt5.zip -d qt5;
export PATH=`pwd`/qt5/bin:$PATH;
export QT_PLUGIN_PATH=`pwd`/qt5/plugins;
# Disable python SSL warnings (only needed for trusty)
export PYTHONWARNINGS="ignore:A true SSLContext object is not available,ignore:An HTTPS request has been made"
fi
# Mac OS X
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
Expand Down Expand Up @@ -270,11 +272,7 @@ script:

after_success:
- if [[ "$TRANSLATE" == true && "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == false && "$TRAVIS_REPO_SLUG" == "Stellarium/stellarium" ]]; then
sudo pip install --upgrade urllib3;
pip install virtualenv;
virtualenv ~/env;
source ~/env/bin/activate;
pip install transifex-client;
pip install --user urllib3==1.23 transifex-client;
sudo echo $'[https://www.transifex.com]\nhostname = https://www.transifex.com\nusername = '"$TRANSIFEX_USER"$'\npassword = '"$TRANSIFEX_PASSWORD"$'\ntoken = '"$TRANSIFEX_API_TOKEN"$'\n' > ~/.transifexrc;
tx push -s;
fi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2019-02-10 17:55+0700\n"
"POT-Creation-Date: 2019-02-10 18:50+0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down
2 changes: 1 addition & 1 deletion po/stellarium-remotecontrol/stellarium-remotecontrol.jst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2019-02-10 17:54+0700\n"
"POT-Creation-Date: 2019-02-10 18:50+0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down
2 changes: 1 addition & 1 deletion po/stellarium-remotecontrol/stellarium-remotecontrol.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: stellarium-remotecontrol\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2019-02-10 17:55+0700\n"
"POT-Creation-Date: 2019-02-10 18:50+0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down
2 changes: 2 additions & 0 deletions po/stellarium-scripts/POTFILES.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ scripts/morsels_4.ssc
scripts/supernova.ssc
scripts/h400_tour.ssc
scripts/largest_known_stars.ssc
scripts/constellations_tour.ssc
scripts/western_constellations_tour.ssc
7 changes: 6 additions & 1 deletion po/stellarium-scripts/stellarium-scripts.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2019-02-10 17:55+0700\n"
"POT-Creation-Date: 2019-02-10 18:50+0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -1191,3 +1191,8 @@ msgstr ""
#: scripts/largest_known_stars.ssc:92
msgid "Solar radii"
msgstr ""

#: scripts/constellations_tour.ssc:19
#: scripts/western_constellations_tour.ssc:22
msgid "Press Ctrl+T to un-hide the toolbar"
msgstr ""
2 changes: 1 addition & 1 deletion po/stellarium-skycultures/stellarium-skycultures.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2019-02-10 17:55+0700\n"
"POT-Creation-Date: 2019-02-10 18:50+0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down
2 changes: 1 addition & 1 deletion po/stellarium/stellarium.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2019-02-10 17:55+0700\n"
"POT-Creation-Date: 2019-02-10 18:50+0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down
6 changes: 4 additions & 2 deletions scripts/constellations_tour.ssc
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
// Name: Constellations Tour
// License: Public Domain
// Author: Alexander Wolf
// Version: 1.0
// Version: 1.1
// Description: A tour of the constellations of the selected sky culture.

include("i18n.inc");

core.clear("starchart");
GridLinesMgr.setFlagEquatorGrid(false);
NebulaMgr.setFlagHints(false);
Expand All @@ -14,7 +16,7 @@ ConstellationMgr.setFlagBoundaries(false);
ConstellationMgr.setFlagLines(false);
ConstellationMgr.setFlagLabels(false);
core.setGuiVisible(false);
var id = LabelMgr.labelScreen("Press Ctrl+T to un-hide the toolbar", 100,100, false, 20);
var id = LabelMgr.labelScreen(tr("Press Ctrl+T to un-hide the toolbar"), 100,100, false, 20);
LabelMgr.setLabelShow(id, true);
core.wait(4);
LabelMgr.setLabelShow(id, false);
Expand Down
5 changes: 3 additions & 2 deletions scripts/western_constellations_tour.ssc
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
// License: Public Domain
// Author: Alexander Wolf
// Shortcut: Ctrl+D,1
// Version: 1.2
// Version: 1.3
// Description: A tour of the western constellations.

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

core.clear("starchart");
var skyculture = core.getSkyCulture();
Expand All @@ -18,7 +19,7 @@ ConstellationMgr.setFlagBoundaries(false);
ConstellationMgr.setFlagLines(false);
ConstellationMgr.setFlagLabels(false);
core.setGuiVisible(false);
var id = LabelMgr.labelScreen("Press Ctrl+T to un-hide the toolbar", 100,100, false, 20);
var id = LabelMgr.labelScreen(tr("Press Ctrl+T to un-hide the toolbar"), 100,100, false, 20);
LabelMgr.setLabelShow(id, true);
core.wait(4);
LabelMgr.setLabelShow(id, false);
Expand Down

0 comments on commit b9e7890

Please sign in to comment.