Merge lp:~alexwolf/stellarium/plugins-l10n into lp:stellarium

Proposed by Alexander Wolf
Status: Superseded
Proposed branch: lp:~alexwolf/stellarium/plugins-l10n
Merge into: lp:stellarium
Diff against target: 881 lines (+334/-143)
10 files modified
plugins/AngleMeasure/src/AngleMeasure.cpp (+2/-2)
plugins/CompassMarks/src/CompassMarks.cpp (+2/-2)
plugins/Oculars/src/Oculars.cpp (+3/-2)
plugins/Satellites/src/Satellites.cpp (+3/-2)
plugins/SolarSystemEditor/src/SolarSystemEditor.cpp (+2/-2)
plugins/TelescopeControl/src/TelescopeControl.cpp (+33/-44)
plugins/TextUserInterface/src/TextUserInterface.cpp (+2/-2)
plugins/TimeZoneConfiguration/src/TimeZoneConfiguration.cpp (+2/-2)
po/stellarium/POTFILES.in (+8/-1)
po/stellarium/stellarium.pot (+277/-84)
To merge this branch: bzr merge lp:~alexwolf/stellarium/plugins-l10n
Reviewer Review Type Date Requested Status
Fabien Chéreau Needs Fixing
Stellarium Pending
Review via email: mp+40812@code.launchpad.net

This proposal has been superseded by a proposal from 2010-11-18.

Description of the change

Complete l10n support for descriptions for plugins. Full l10n support for plugins may create by authors of each plugins.

To post a comment you must log in.
lp:~alexwolf/stellarium/plugins-l10n updated
4794. By Matthew Gates

de-selection isolated constellation selections now clears isolated selection (fix for bug 600889)

4795. By Matthew Gates

merge various Satellites plugin improvements from Matthew's branch

4796. By Fabien Chéreau

Fixed bad constellation art distortion

4797. By Bogdan Marinov

propagated changes in normalSyle.css to nightStyle.css

4798. By Fabien Chéreau

Added new plugin icon from Johan

4799. By Fabien Chéreau

Merged impressive Solar System Editor fom Bogdan.

Revision history for this message
Fabien Chéreau (xalioth) wrote :

Please don't translate Authors names.
We should find a way to avoid translating 110 times the same strings: "Move telescope #4 to selected object" and "Move telescope #5 to the point currently in the center of the screen"

review: Needs Fixing
Revision history for this message
Alexander Wolf (alexwolf) wrote :

Why does not need to translate the names of the authors?

lp:~alexwolf/stellarium/plugins-l10n updated
4800. By Fabien Chéreau

Merged fix to nebula translations.

Revision history for this message
treaves (treaves) wrote :

Authors names are a bit hard, as some people will want them left as their
alphabet depicts them. It may be good to have them be links for e-mail
addresses, but, in general, I'd say to leave them as-is.

On Wed, Nov 17, 2010 at 6:03 AM, Alexander Wolf <email address hidden>wrote:

> Why does not need to translate the names of the authors?
> --
> https://code.launchpad.net/~alexwolf/stellarium/plugins-l10n/+merge/40812<https://code.launchpad.net/%7Ealexwolf/stellarium/plugins-l10n/+merge/40812>
> You are subscribed to branch lp:stellarium.
>

Revision history for this message
Matthew Gates (matthew-porpoisehead) wrote :

There was a discussion about this in IRC a few days ago. There is a
difference between translation and transliteration - a case could be
made for the latter. However, I'm interested in there being
consistency. So: no translations for author names?

On 17 November 2010 14:02, treaves <email address hidden> wrote:
> Authors names are a bit hard, as some people will want them left as their
> alphabet depicts them.  It may be good to have them be links for e-mail
> addresses, but, in general, I'd say to leave them as-is.
>
>
>
>
> On Wed, Nov 17, 2010 at 6:03 AM, Alexander Wolf <email address hidden>wrote:
>
>> Why does not need to translate the names of the authors?
>> --
>> https://code.launchpad.net/~alexwolf/stellarium/plugins-l10n/+merge/40812<https://code.launchpad.net/%7Ealexwolf/stellarium/plugins-l10n/+merge/40812>
>> You are subscribed to branch lp:stellarium.
>>
>
> --
> https://code.launchpad.net/~alexwolf/stellarium/plugins-l10n/+merge/40812
> You are subscribed to branch lp:stellarium.
>

Revision history for this message
Froenchenko Leonid (lfroen) wrote :

Generally accepted practice is transliterate names from non-latin languages
(Russian, Chinese) and leave as-is names from languages with Latin script
(German, French, etc).

On Wed, Nov 17, 2010 at 4:37 PM, Matthew Gates <email address hidden> wrote:

> There was a discussion about this in IRC a few days ago. There is a
> difference between translation and transliteration - a case could be
> made for the latter. However, I'm interested in there being
> consistency. So: no translations for author names?
>
> On 17 November 2010 14:02, treaves <email address hidden> wrote:
> > Authors names are a bit hard, as some people will want them left as their
> > alphabet depicts them. It may be good to have them be links for e-mail
> > addresses, but, in general, I'd say to leave them as-is.
> >
> >
> >
> >
> > On Wed, Nov 17, 2010 at 6:03 AM, Alexander Wolf <<email address hidden>
> >wrote:
> >
> >> Why does not need to translate the names of the authors?
> >> --
> >>
> https://code.launchpad.net/~alexwolf/stellarium/plugins-l10n/+merge/40812<https://code.launchpad.net/%7Ealexwolf/stellarium/plugins-l10n/+merge/40812>
> <
> https://code.launchpad.net/%7Ealexwolf/stellarium/plugins-l10n/+merge/40812
> >
> >> You are subscribed to branch lp:stellarium.
> >>
> >
> > --
> >
> https://code.launchpad.net/~alexwolf/stellarium/plugins-l10n/+merge/40812<https://code.launchpad.net/%7Ealexwolf/stellarium/plugins-l10n/+merge/40812>
> > You are subscribed to branch lp:stellarium.
> >
> --
> https://code.launchpad.net/~alexwolf/stellarium/plugins-l10n/+merge/40812<https://code.launchpad.net/%7Ealexwolf/stellarium/plugins-l10n/+merge/40812>
> You are subscribed to branch lp:stellarium.
>

Revision history for this message
Bogdan Marinov (daggerstab) wrote :

I hope that all of you realize that you are posting-by-email to the merge proposal comments in Launchpad. :)

Gettext's manual suggests that proper names should be marked for translation, with appropriate instructions on how the name is pronounced and with the original form of the name in brackets.
http://www.gnu.org/software/gettext/manual/gettext.html#Names

For example:
Матю Гейтс (Matthew Gates)

With Qt, this can be enforced in the code, e.g.:
info.authors = QString("%1 (%2)").arg(q_("Matthew Gates")).arg("Matthew Gates");
Though it will look quite awkward when the language is set to English, so another solution is possible. :)

Anyway, I am not sure how the q_ macro in getPluginInfo() interacts with the same macro in ConfigurationDialog::pluginsSelectionChanged() (note my comments there). I haven't tested this branch.

Revision history for this message
Alexander Wolf (alexwolf) wrote :

>So: no translations for author names?

Yes, currently, but "tomorrow" we maybe enable translations for authors names. After detailed discussion via maillist.

lp:~alexwolf/stellarium/plugins-l10n updated
4801. By Bogdan Marinov

+ adding GridLinesMgr.cpp for translation (thanks to Alexander Wolf for noticing this);
updating translation template

4802. By Fabien Chéreau

Merged patch by Alex wolf allowing plugin translation.

4803. By Fabien Chéreau

Merged patch by Matthew improving Satellites plugin (a lot)

4804. By Bogdan Marinov

fixed a bug in TelescopeClient introduced by Alexander Wolf's translation efforts

4805. By Bogdan Marinov

fixed telescope being dropped from the list if it is set to start at startup but fails to do it

4806. By Matthew Gates

merge satellites improvements

4807. By Fabien Chéreau

Got rid of all the useless -fPIC compilation options (which are a performance penalty), as suggested by RedDwarf in Bug #648071

4808. By Matthew Gates

merge various satellite plugin improvements

4809. By Matthew Gates

satellites: ^Cx for orbit / icon offset

4810. By Bogdan Marinov

fixed Oculars display name; fixed translatable strings in plugins for consistency

4811. By Bogdan Marinov

TelescopeControl: removed custom stylesheet, tweaked GUI

4812. By Bogdan Marinov

TelescopeControl: code reuse: created the InterpolatedPosition class

4813. By Bogdan Marinov

+ manual override for telescope equinox/epoch

4814. By Matthew Gates

stop script engine from restoring pre-script time rate

4815. By Matthew Gates

clean up newline characters in landscape descriptions

4816. By Fabien Chéreau

Use a standard tangential projection for constellation art, and improved accuracy.

4817. By Fabien Chéreau

Fixed duplicated display

4818. By Fabien Chéreau

Applied small patch from bug #648348 for compilation with KDE

4819. By Fabien Chéreau

Hid part of a bug

4820. By Matthew Gates

backup change which breached core / non-core linking

4821. By Matthew Gates

fix unused variable warning

4822. By Matthew Gates

merge from satellites dev branch: orbit line bugfix

4823. By Matthew Gates

tui plugin bugfixes

4824. By treaves

Corrected an issue when there are no oculars or telescopes; it's crash the app.

4825. By Matthew Gates

fix improper permissions (source/data should not be executable)

4826. By Bogdan Marinov

fixed landscape reloading bug in ViewDialog (thanks to Matthew Gates for noticing)

4827. By treaves

Check every time the Oculars plugin is activiated that there are at least one telescope and one eyepiece.

4828. By treaves

Corrected an issue where the count of entities in Oculars was not being saved to the ini file.

4829. By Matthew Gates

proper replacement of newline in landscape descriptions

4830. By Bogdan Marinov

incomplete update of ChangeLog for version 0.10.6

4831. By Bogdan Marinov

TelescopeControl: updated internal help file

4832. By Bogdan Marinov

updated the plugins documentation page with my text from the Stellarium Wiki

4833. By Fabien Chéreau

Fixed landscapes regressions

4834. By Matthew Gates

fix landscape rotation problem

4835. By Fabien Chéreau

Fixed font display bug #666837

4836. By Bogdan Marinov

TelescopeControl: fixed virtual telescope not starting after revision 4813

4837. By Matthew Gates

satellites plugin: change default satellite visibility

4838. By Bogdan Marinov

Oculars: the toolbar button should remain unchecked if ocular mode was not enabled

4839. By Matthew Gates

changelog update

4840. By Matthew Gates

some default plugin loading / no default planet hints (prettier)

4841. By Matthew Gates

version number in config file

4842. By Matthew Gates

import new translations from launchpad

4843. By Bogdan Marinov

prevent warnings if the INT64_MAX macro is already defined

4844. By Matthew Gates

fix minor language config dialog issue on first use

4845. By Fabien Chéreau

Tune planets hints so that they don't appear in day time

4846. By Matthew Gates

prevent .bzrignore from ending up in source package

4847. By Matthew Gates

suppress CMakeLists.txt.user in source package

4848. By Fabien Chéreau

Attempted to fix text display error

4849. By treaves

Corrected the calculation for the X-axis FOV for CCDs.

4850. By Bogdan Marinov

the default Inno Setup file should not include a SQLite driver; bzr ignore the auto-generated Inno Setup file

4851. By Matthew Gates

fix ugly indentation / a few comments

4852. By Matthew Gates

ignore core files

4853. By treaves

Corrected the calculation of CCD FOV.
Updated the CCD painting code; will allow for non-ocular use.

4854. By treaves

Corrected the calculation for the aspect of the CCD.
Changed the CCD label on-screen to be the degrees the CCD covers.

4855. By treaves

Implemented rotating the CCD bounding box.

4856. By treaves

Corrected typo.

4857. By treaves

Implemented better binoculars support; the Ocular object now has an attribute that may be set if the eyepiece is a pair of binoculars. This causes the current telescope to be ignored, so users no longer have to worry about how to set this up. Inlcudes UI configuration, and changes to default ini file.

4858. By treaves

Put back the line to draw the CCD frame.
Added code to prevent the deletion of the last telescope or ocular from the configurtion dialog.

4859. By treaves

This code changes the callback used when an object changes to a SIGNAL/SLOT. This commit changes the base functionalirty in StelObjectMgr, as well as all classes that were using the callback.

This is one step in making the app more fully Qt-like, and hopefully to clean up the design & simplify.

4860. By treaves

Overhauled Oculars:
-- removed no longer needed StelDialiog replacemnet
-- removed key bindings
-- added popup menu
-- better binocular support
-- better CCD support

4861. By treaves

Remove QtSql from Mac bundle script.

4862. By diego-marcos <email address hidden>

Adding exception for libintl.dylib when copying dependencies from /usr/lib

4863. By treaves

Trivial code cleanup.

4864. By treaves

Made Telrad & CCD mutually exclusive.

4865. By treaves

Put the plugins in the cmake file alphabetical order.

4866. By treaves

Corrected an issue with switching to an index eyepiece.

4867. By Bogdan Marinov

fixed MPES online search (the MPC changed their server address)

4868. By diego-marcos <email address hidden>

Adding QtWebKit dependency for SVMT

4869. By Bogdan Marinov

fix bug caused by locale settings breaking the rendering of old style landscapes on Ubuntu

4870. By treaves

Undo the changes Diego made not related to QtWebKit.
Added some code to the APPLE section, to make it easier for developers to know what options are available.

4871. By treaves

Refactoring to use signals/slots for module-related functionality.

4872. By treaves

Repaint the stackedWidget after language change.

4873. By treaves

Updated the info.plist for Mac to set the minimum OS to 10.5.0.

4874. By treaves

Directly setting Oculars config window visible when config button pressed, instead of using an action.

4875. By treaves

Corrected a scoping error in two-phase name lookup.

4876. By Bogdan Marinov

TimeZone plugin 0.0.2: fixed bugs, implemented missing features

4877. By Bogdan Marinov

improved scripting documentation

4878. By FreewareTips <email address hidden>

merged two new skyculture descriptions in Norwegian (Bokmål) by "FreewareTips"

4879. By treaves

Added a setting to allow enableing of zoom with no object selected.

4880. By treaves

This is for the https://blueprints.launchpad.net/stellarium/+spec/search-go-to-redesign blueprint.

4881. By treaves

Added label to the search dialog for the Greek keyboard.

4882. By treaves

Updated the po files, including removing '\r' that was in three of them.
Adjusted searchDialogGui.ui to be 540 pixels wide, to allow for languages with wide characters (i.e. Russion).
Added searchDialogGui.ui CSS changes to the nightStyle.css file.

4883. By Fabien Chéreau

Merged planet satellites patch by Alexwolf.

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugins/AngleMeasure/src/AngleMeasure.cpp'
2--- plugins/AngleMeasure/src/AngleMeasure.cpp 2010-06-01 09:25:33 +0000
3+++ plugins/AngleMeasure/src/AngleMeasure.cpp 2010-11-17 14:15:14 +0000
4@@ -54,10 +54,10 @@
5
6 StelPluginInfo info;
7 info.id = "AngleMeasure";
8- info.displayedName = "Angle Measure";
9+ info.displayedName = q_("Angle Measure");
10 info.authors = "Matthew Gates";
11 info.contact = "http://porpoisehead.net/";
12- info.description = "Provides an angle measurement tool";
13+ info.description = q_("Provides an angle measurement tool");
14 return info;
15 }
16
17
18=== modified file 'plugins/CompassMarks/src/CompassMarks.cpp'
19--- plugins/CompassMarks/src/CompassMarks.cpp 2010-11-10 14:21:45 +0000
20+++ plugins/CompassMarks/src/CompassMarks.cpp 2010-11-17 14:15:14 +0000
21@@ -54,10 +54,10 @@
22
23 StelPluginInfo info;
24 info.id = "CompassMarks";
25- info.displayedName = "Compass Marks";
26+ info.displayedName = q_("Compass Marks");
27 info.authors = "Matthew Gates";
28 info.contact = "http://porpoisehead.net/";
29- info.description = "Displays compass bearing marks along the horizon";
30+ info.description = q_("Displays compass bearing marks along the horizon");
31 return info;
32 }
33
34
35=== modified file 'plugins/Oculars/src/Oculars.cpp'
36--- plugins/Oculars/src/Oculars.cpp 2010-10-29 14:07:17 +0000
37+++ plugins/Oculars/src/Oculars.cpp 2010-11-17 14:15:14 +0000
38@@ -26,6 +26,7 @@
39 #include "StelModuleMgr.hpp"
40 #include "StelMovementMgr.hpp"
41 #include "StelObjectMgr.hpp"
42+#include "StelLocaleMgr.hpp"
43 #include "StelPainter.hpp"
44 #include "StelProjector.hpp"
45 #include "StelGui.hpp"
46@@ -70,10 +71,10 @@
47
48 StelPluginInfo info;
49 info.id = "Oculars";
50- info.displayedName = "Ocular";
51+ info.displayedName = q_("Ocular");
52 info.authors = "Timothy Reaves";
53 info.contact = "treaves@silverfieldstech.com";
54- info.description = "Shows the sky as if looking through a telescope eyepiece";
55+ info.description = q_("Shows the sky as if looking through a telescope eyepiece");
56 return info;
57 }
58
59
60=== modified file 'plugins/Satellites/src/Satellites.cpp'
61--- plugins/Satellites/src/Satellites.cpp 2010-11-14 18:23:46 +0000
62+++ plugins/Satellites/src/Satellites.cpp 2010-11-17 14:15:14 +0000
63@@ -26,6 +26,7 @@
64 #include "StelNavigator.hpp"
65 #include "StelObjectMgr.hpp"
66 #include "StelModuleMgr.hpp"
67+#include "StelLocaleMgr.hpp"
68 #include "StelFileMgr.hpp"
69 #include "StelTextureMgr.hpp"
70 #include "StelIniParser.hpp"
71@@ -62,10 +63,10 @@
72
73 StelPluginInfo info;
74 info.id = "Satellites";
75- info.displayedName = "Satellites";
76+ info.displayedName = q_("Satellites");
77 info.authors = "Matthew Gates, Jose Luis Canales";
78 info.contact = "http://stellarium.org/";
79- info.description = "Prediction of artificial satellite positions in Earth orbit based on NORAD TLE data";
80+ info.description = q_("Prediction of artificial satellite positions in Earth orbit based on NORAD TLE data");
81 return info;
82 }
83
84
85=== modified file 'plugins/SolarSystemEditor/src/SolarSystemEditor.cpp'
86--- plugins/SolarSystemEditor/src/SolarSystemEditor.cpp 2010-11-15 09:15:46 +0000
87+++ plugins/SolarSystemEditor/src/SolarSystemEditor.cpp 2010-11-17 14:15:14 +0000
88@@ -53,10 +53,10 @@
89
90 StelPluginInfo info;
91 info.id = "SolarSystemEditor";
92- info.displayedName = "Solar System Editor";
93+ info.displayedName = q_("Solar System Editor");
94 info.authors = "Bogdan Marinov";
95 info.contact = "http://stellarium.org";
96- info.description = "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.";
97+ 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.");
98 return info;
99 }
100
101
102=== modified file 'plugins/TelescopeControl/src/TelescopeControl.cpp'
103--- plugins/TelescopeControl/src/TelescopeControl.cpp 2010-07-16 15:39:54 +0000
104+++ plugins/TelescopeControl/src/TelescopeControl.cpp 2010-11-17 14:15:14 +0000
105@@ -72,10 +72,10 @@
106
107 StelPluginInfo info;
108 info.id = "TelescopeControl";
109- info.displayedName = "Telescope Control";
110+ info.displayedName = q_("Telescope Control");
111 info.authors = "Bogdan Marinov, Johannes Gajdosik";
112 info.contact = "http://stellarium.org";
113- info.description = "This plug-in allows Stellarium to send \"slew\" commands to a telescope on a computerized mount (a \"GoTo telescope\").";
114+ info.description = q_("This plug-in allows Stellarium to send \"slew\" commands to a telescope on a computerized mount (a \"GoTo telescope\").");
115 return info;
116 }
117
118@@ -164,48 +164,37 @@
119 revision 6311. Any future backports should account for that. */
120 QString group = N_("Telescope Control");
121
122- // "Slew to object" commands
123- gui->addGuiActions("actionMove_Telescope_To_Selection_1", N_("Move telescope #1 to selected object"), "Ctrl+1", group, false, false);
124- gui->addGuiActions("actionMove_Telescope_To_Selection_2", N_("Move telescope #2 to selected object"), "Ctrl+2", group, false, false);
125- gui->addGuiActions("actionMove_Telescope_To_Selection_3", N_("Move telescope #3 to selected object"), "Ctrl+3", group, false, false);
126- gui->addGuiActions("actionMove_Telescope_To_Selection_4", N_("Move telescope #4 to selected object"), "Ctrl+4", group, false, false);
127- gui->addGuiActions("actionMove_Telescope_To_Selection_5", N_("Move telescope #5 to selected object"), "Ctrl+5", group, false, false);
128- gui->addGuiActions("actionMove_Telescope_To_Selection_6", N_("Move telescope #6 to selected object"), "Ctrl+6", group, false, false);
129- gui->addGuiActions("actionMove_Telescope_To_Selection_7", N_("Move telescope #7 to selected object"), "Ctrl+7", group, false, false);
130- gui->addGuiActions("actionMove_Telescope_To_Selection_8", N_("Move telescope #8 to selected object"), "Ctrl+8", group, false, false);
131- gui->addGuiActions("actionMove_Telescope_To_Selection_9", N_("Move telescope #9 to selected object"), "Ctrl+9", group, false, false);
132-
133- // "Slew to the center of the screen" commands
134- gui->addGuiActions("actionSlew_Telescope_To_Direction_1", N_("Move telescope #1 to the point currently in the center of the screen"), "Alt+1", group, false, false);
135- gui->addGuiActions("actionSlew_Telescope_To_Direction_2", N_("Move telescope #2 to the point currently in the center of the screen"), "Alt+2", group, false, false);
136- gui->addGuiActions("actionSlew_Telescope_To_Direction_3", N_("Move telescope #3 to the point currently in the center of the screen"), "Alt+3", group, false, false);
137- gui->addGuiActions("actionSlew_Telescope_To_Direction_4", N_("Move telescope #4 to the point currently in the center of the screen"), "Alt+4", group, false, false);
138- gui->addGuiActions("actionSlew_Telescope_To_Direction_5", N_("Move telescope #5 to the point currently in the center of the screen"), "Alt+5", group, false, false);
139- gui->addGuiActions("actionSlew_Telescope_To_Direction_6", N_("Move telescope #6 to the point currently in the center of the screen"), "Alt+6", group, false, false);
140- gui->addGuiActions("actionSlew_Telescope_To_Direction_7", N_("Move telescope #7 to the point currently in the center of the screen"), "Alt+7", group, false, false);
141- gui->addGuiActions("actionSlew_Telescope_To_Direction_8", N_("Move telescope #8 to the point currently in the center of the screen"), "Alt+8", group, false, false);
142- gui->addGuiActions("actionSlew_Telescope_To_Direction_9", N_("Move telescope #9 to the point currently in the center of the screen"), "Alt+9", group, false, false);
143-
144- connect(gui->getGuiActions("actionMove_Telescope_To_Selection_1"), SIGNAL(triggered()), this, SLOT(slewTelescopeToSelectedObject()));
145- connect(gui->getGuiActions("actionMove_Telescope_To_Selection_2"), SIGNAL(triggered()), this, SLOT(slewTelescopeToSelectedObject()));
146- connect(gui->getGuiActions("actionMove_Telescope_To_Selection_3"), SIGNAL(triggered()), this, SLOT(slewTelescopeToSelectedObject()));
147- connect(gui->getGuiActions("actionMove_Telescope_To_Selection_4"), SIGNAL(triggered()), this, SLOT(slewTelescopeToSelectedObject()));
148- connect(gui->getGuiActions("actionMove_Telescope_To_Selection_5"), SIGNAL(triggered()), this, SLOT(slewTelescopeToSelectedObject()));
149- connect(gui->getGuiActions("actionMove_Telescope_To_Selection_6"), SIGNAL(triggered()), this, SLOT(slewTelescopeToSelectedObject()));
150- connect(gui->getGuiActions("actionMove_Telescope_To_Selection_7"), SIGNAL(triggered()), this, SLOT(slewTelescopeToSelectedObject()));
151- connect(gui->getGuiActions("actionMove_Telescope_To_Selection_8"), SIGNAL(triggered()), this, SLOT(slewTelescopeToSelectedObject()));
152- connect(gui->getGuiActions("actionMove_Telescope_To_Selection_9"), SIGNAL(triggered()), this, SLOT(slewTelescopeToSelectedObject()));
153-
154- connect(gui->getGuiActions("actionSlew_Telescope_To_Direction_1"), SIGNAL(triggered()), this, SLOT(slewTelescopeToViewDirection()));
155- connect(gui->getGuiActions("actionSlew_Telescope_To_Direction_2"), SIGNAL(triggered()), this, SLOT(slewTelescopeToViewDirection()));
156- connect(gui->getGuiActions("actionSlew_Telescope_To_Direction_3"), SIGNAL(triggered()), this, SLOT(slewTelescopeToViewDirection()));
157- connect(gui->getGuiActions("actionSlew_Telescope_To_Direction_4"), SIGNAL(triggered()), this, SLOT(slewTelescopeToViewDirection()));
158- connect(gui->getGuiActions("actionSlew_Telescope_To_Direction_5"), SIGNAL(triggered()), this, SLOT(slewTelescopeToViewDirection()));
159- connect(gui->getGuiActions("actionSlew_Telescope_To_Direction_6"), SIGNAL(triggered()), this, SLOT(slewTelescopeToViewDirection()));
160- connect(gui->getGuiActions("actionSlew_Telescope_To_Direction_7"), SIGNAL(triggered()), this, SLOT(slewTelescopeToViewDirection()));
161- connect(gui->getGuiActions("actionSlew_Telescope_To_Direction_8"), SIGNAL(triggered()), this, SLOT(slewTelescopeToViewDirection()));
162- connect(gui->getGuiActions("actionSlew_Telescope_To_Direction_9"), SIGNAL(triggered()), this, SLOT(slewTelescopeToViewDirection()));
163-
164+ QString STOtext, STCtext, STOaction, STCaction, STOctrl, STCctrl;
165+ for (int i=1; i<10; i++)
166+ {
167+ // "Slew to object" commands
168+ STOtext = q_("Move telescope #%1 to selected object").arg(i);
169+ STOaction.append(QString("actionMove_Telescope_To_Selection_%1").arg(i));
170+ STOctrl.append(QString("Ctrl+%1").arg(i));
171+ gui->addGuiActions(STOaction, STOtext, STOctrl, group, false, false);
172+ }
173+
174+ for (int i=1; i<10; i++)
175+ {
176+ // "Slew to the center of the screen" commands
177+ STCtext = q_("Move telescope #%1 to the point currently in the center of the screen").arg(i);
178+ STCaction.append(QString("actionSlew_Telescope_To_Direction_%1").arg(i));
179+ STCctrl.append(QString("Alt+%1").arg(i));
180+ gui->addGuiActions(STCaction, STCtext, STCctrl, group, false, false);
181+ }
182+
183+ for (int i=1; i<10; i++)
184+ {
185+ STOaction.append(QString("actionMove_Telescope_To_Selection_%1").arg(i));
186+ connect(gui->getGuiActions(STOaction), SIGNAL(triggered()), this, SLOT(slewTelescopeToSelectedObject()));
187+ }
188+
189+ for (int i=1; i<10; i++)
190+ {
191+ STCaction.append(QString("actionSlew_Telescope_To_Direction_%1").arg(i));
192+ connect(gui->getGuiActions(STCaction), SIGNAL(triggered()), this, SLOT(slewTelescopeToViewDirection()));
193+ }
194+
195 //Create and initialize dialog windows
196 telescopeDialog = new TelescopeDialog();
197 slewDialog = new SlewDialog();
198
199=== modified file 'plugins/TextUserInterface/src/TextUserInterface.cpp'
200--- plugins/TextUserInterface/src/TextUserInterface.cpp 2010-05-11 20:23:19 +0000
201+++ plugins/TextUserInterface/src/TextUserInterface.cpp 2010-11-17 14:15:14 +0000
202@@ -76,10 +76,10 @@
203 {
204 StelPluginInfo info;
205 info.id = "TextUserInterface";
206- info.displayedName = "Text User Interface";
207+ info.displayedName = q_("Text User Interface");
208 info.authors = "Matthew Gates";
209 info.contact = "http://porpoisehead.net/";
210- info.description = "Plugin implementation of 0.9.x series Text User Interface (TUI), used in planetarium systems";
211+ info.description = q_("Plugin implementation of 0.9.x series Text User Interface (TUI), used in planetarium systems");
212 return info;
213 }
214
215
216=== modified file 'plugins/TimeZoneConfiguration/src/TimeZoneConfiguration.cpp'
217--- plugins/TimeZoneConfiguration/src/TimeZoneConfiguration.cpp 2010-11-08 15:24:12 +0000
218+++ plugins/TimeZoneConfiguration/src/TimeZoneConfiguration.cpp 2010-11-17 14:15:14 +0000
219@@ -38,10 +38,10 @@
220
221 StelPluginInfo info;
222 info.id = "TimeZoneConfiguration";
223- info.displayedName = "Time Zone";
224+ info.displayedName = q_("Time Zone");
225 info.authors = "Bogdan Marinov";
226 info.contact = "http://stellarium.org";
227- info.description = "A convenient interface for some of the more obscure options in Stellarium's configuration file. Allows setting the time zone and changing the way the time and the date are displayed in the bottom bar.";
228+ info.description = q_("A convenient interface for some of the more obscure options in Stellarium's configuration file. Allows setting the time zone and changing the way the time and the date are displayed in the bottom bar.");
229 return info;
230 }
231
232
233=== modified file 'po/stellarium/POTFILES.in'
234--- po/stellarium/POTFILES.in 2010-09-28 16:27:56 +0000
235+++ po/stellarium/POTFILES.in 2010-11-17 14:15:14 +0000
236@@ -29,4 +29,11 @@
237 src/ui_viewDialog.h
238 src/ui_configurationDialog.h
239 src/ui_addRemoveLandscapesDialog.h
240-
241+plugins/AngleMeasure/src/AngleMeasure.cpp
242+plugins/CompassMarks/src/CompassMarks.cpp
243+plugins/Oculars/src/Oculars.cpp
244+plugins/Satellites/src/Satellites.cpp
245+plugins/TelescopeControl/src/TelescopeControl.cpp
246+plugins/TimeZoneConfiguration/src/TimeZoneConfiguration.cpp
247+plugins/TextUserInterface/src/TextUserInterface.cpp
248+plugins/SolarSystemEditor/src/SolarSystemEditor.cpp
249
250=== modified file 'po/stellarium/stellarium.pot'
251--- po/stellarium/stellarium.pot 2010-11-13 09:15:36 +0000
252+++ po/stellarium/stellarium.pot 2010-11-17 14:15:14 +0000
253@@ -8,11 +8,10 @@
254 msgstr ""
255 "Project-Id-Version: PACKAGE VERSION\n"
256 "Report-Msgid-Bugs-To: \n"
257-"POT-Creation-Date: 2010-11-11 15:20+0200\n"
258+"POT-Creation-Date: 2010-11-17 20:10+0600\n"
259 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
260 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
261 "Language-Team: LANGUAGE <LL@li.org>\n"
262-"Language: \n"
263 "MIME-Version: 1.0\n"
264 "Content-Type: text/plain; charset=CHARSET\n"
265 "Content-Transfer-Encoding: 8bit\n"
266@@ -980,335 +979,390 @@
267 msgid "Solar System Observer"
268 msgstr ""
269
270+#. TRANSLATORS: Asteroid (5) Astraea
271 #: src/translations.h:73
272+msgid "Astraea"
273+msgstr ""
274+
275+#. TRANSLATORS: Asteroid (6) Hebe
276+#: src/translations.h:75
277+msgid "Hebe"
278+msgstr ""
279+
280+#. TRANSLATORS: Asteroid (7) Iris
281+#: src/translations.h:77
282+msgid "Iris"
283+msgstr ""
284+
285+#. TRANSLATORS: Asteroid (8) Flora
286+#: src/translations.h:79
287+msgid "Flora"
288+msgstr ""
289+
290+#. TRANSLATORS: Asteroid (9) Metis
291+#: src/translations.h:81
292+msgid "Metis"
293+msgstr ""
294+
295+#. TRANSLATORS: Asteroid (10) Hygiea
296+#: src/translations.h:83
297+msgid "Hygiea"
298+msgstr ""
299+
300+#. TRANSLATORS: Asteroid (1221) Amor
301+#: src/translations.h:85
302+msgid "Amor"
303+msgstr ""
304+
305+#. TRANSLATORS: Asteroid (99942) Apophis
306+#: src/translations.h:87
307+msgid "Apophis"
308+msgstr ""
309+
310+#. TRANSLATORS: Asteroid (2060) Chiron
311+#: src/translations.h:89
312+msgid "Chiron"
313+msgstr ""
314+
315+#. TRANSLATORS: Asteroid (433) Eros
316+#: src/translations.h:91
317+msgid "Eros"
318+msgstr ""
319+
320+#. TRANSLATORS: Asteroid (624) Hektor
321+#: src/translations.h:93
322+msgid "Hektor"
323+msgstr ""
324+
325+#: src/translations.h:97
326 msgid "N"
327 msgstr ""
328
329-#: src/translations.h:74
330+#: src/translations.h:98
331 msgid "S"
332 msgstr ""
333
334-#: src/translations.h:75
335+#: src/translations.h:99
336 msgid "E"
337 msgstr ""
338
339-#: src/translations.h:76
340+#: src/translations.h:100
341 msgid "W"
342 msgstr ""
343
344-#: src/translations.h:79
345+#: src/translations.h:103
346 msgid "Aztec"
347 msgstr ""
348
349-#: src/translations.h:80
350+#: src/translations.h:104
351 msgid "Chinese"
352 msgstr ""
353
354-#: src/translations.h:81
355+#: src/translations.h:105
356 msgid "Egyptian"
357 msgstr ""
358
359-#: src/translations.h:82
360+#: src/translations.h:106
361 msgid "Inuit"
362 msgstr ""
363
364-#: src/translations.h:83
365+#: src/translations.h:107
366 msgid "Korean"
367 msgstr ""
368
369-#: src/translations.h:84
370+#: src/translations.h:108
371 msgid "Lakota"
372 msgstr ""
373
374-#: src/translations.h:85
375+#: src/translations.h:109
376 msgid "Maori"
377 msgstr ""
378
379-#: src/translations.h:86
380+#: src/translations.h:110
381 msgid "Navajo"
382 msgstr ""
383
384-#: src/translations.h:87
385+#: src/translations.h:111
386 msgid "Norse"
387 msgstr ""
388
389-#: src/translations.h:88
390+#: src/translations.h:112
391 msgid "Polynesian"
392 msgstr ""
393
394-#: src/translations.h:89
395+#: src/translations.h:113
396 msgid "Sami"
397 msgstr ""
398
399-#: src/translations.h:90
400+#: src/translations.h:114
401 msgid "Tupi-Guarani"
402 msgstr ""
403
404-#: src/translations.h:91
405+#: src/translations.h:115
406 msgid "Western"
407 msgstr ""
408
409-#: src/translations.h:95
410+#: src/translations.h:119
411 msgid "Set Location "
412 msgstr ""
413
414-#: src/translations.h:96
415+#: src/translations.h:120
416 msgid "Set Time "
417 msgstr ""
418
419-#: src/translations.h:97
420+#: src/translations.h:121
421 msgid "General "
422 msgstr ""
423
424-#: src/translations.h:98
425+#: src/translations.h:122
426 msgid "Stars "
427 msgstr ""
428
429-#: src/translations.h:99
430+#: src/translations.h:123
431 msgid "Colors "
432 msgstr ""
433
434-#: src/translations.h:100
435+#: src/translations.h:124
436 msgid "Effects "
437 msgstr ""
438
439-#: src/translations.h:101
440+#: src/translations.h:125
441 msgid "Scripts "
442 msgstr ""
443
444-#: src/translations.h:102
445+#: src/translations.h:126
446 msgid "Administration "
447 msgstr ""
448
449-#: src/translations.h:104
450+#: src/translations.h:128
451 msgid "Latitude: "
452 msgstr ""
453
454-#: src/translations.h:105
455+#: src/translations.h:129
456 msgid "Longitude: "
457 msgstr ""
458
459-#: src/translations.h:106
460+#: src/translations.h:130
461 msgid "Altitude (m): "
462 msgstr ""
463
464-#: src/translations.h:107
465+#: src/translations.h:131
466 msgid "Solar System Body: "
467 msgstr ""
468
469-#: src/translations.h:109
470+#: src/translations.h:133
471 msgid "Sky Time: "
472 msgstr ""
473
474-#: src/translations.h:110
475+#: src/translations.h:134
476 msgid "Set Time Zone: "
477 msgstr ""
478
479-#: src/translations.h:111
480+#: src/translations.h:135
481 msgid "Day keys: "
482 msgstr ""
483
484-#: src/translations.h:112
485+#: src/translations.h:136
486 msgid "Calendar"
487 msgstr ""
488
489-#: src/translations.h:113
490+#: src/translations.h:137
491 msgid "Sidereal"
492 msgstr ""
493
494-#: src/translations.h:114
495+#: src/translations.h:138
496 msgid "Preset Sky Time: "
497 msgstr ""
498
499-#: src/translations.h:115
500+#: src/translations.h:139
501 msgid "Sky Time At Start-up: "
502 msgstr ""
503
504-#: src/translations.h:116
505+#: src/translations.h:140
506 msgid "Actual Time"
507 msgstr ""
508
509-#: src/translations.h:117
510+#: src/translations.h:141
511 msgid "Preset Time"
512 msgstr ""
513
514-#: src/translations.h:118
515+#: src/translations.h:142
516 msgid "Time Display Format: "
517 msgstr ""
518
519-#: src/translations.h:119
520+#: src/translations.h:143
521 msgid "Date Display Format: "
522 msgstr ""
523
524-#: src/translations.h:121
525+#: src/translations.h:145
526 msgid "Sky Culture: "
527 msgstr ""
528
529-#: src/translations.h:122
530+#: src/translations.h:146
531 msgid "Sky Language: "
532 msgstr ""
533
534-#: src/translations.h:124
535+#: src/translations.h:148
536 msgid "Show: "
537 msgstr ""
538
539-#: src/translations.h:125
540+#: src/translations.h:149
541 msgid "Star Value Multiplier: "
542 msgstr ""
543
544-#: src/translations.h:126
545+#: src/translations.h:150
546 msgid "Magnitude Sizing Multiplier: "
547 msgstr ""
548
549-#: src/translations.h:127
550+#: src/translations.h:151
551 msgid "Maximum Magnitude to Label: "
552 msgstr ""
553
554-#: src/translations.h:128
555+#: src/translations.h:152
556 msgid "Twinkling: "
557 msgstr ""
558
559-#: src/translations.h:129
560+#: src/translations.h:153
561 msgid "Limiting Magnitude: "
562 msgstr ""
563
564-#: src/translations.h:131
565+#: src/translations.h:155
566 msgid "Constellation Lines"
567 msgstr ""
568
569-#: src/translations.h:132
570+#: src/translations.h:156
571 msgid "Constellation Names"
572 msgstr ""
573
574-#: src/translations.h:133
575+#: src/translations.h:157
576 msgid "Constellation Art Intensity"
577 msgstr ""
578
579-#: src/translations.h:134
580+#: src/translations.h:158
581 msgid "Constellation Boundaries"
582 msgstr ""
583
584-#: src/translations.h:135
585+#: src/translations.h:159
586 msgid "Cardinal Points"
587 msgstr ""
588
589-#: src/translations.h:136
590+#: src/translations.h:160
591 msgid "Planet Names"
592 msgstr ""
593
594-#: src/translations.h:137
595+#: src/translations.h:161
596 msgid "Planet Orbits"
597 msgstr ""
598
599-#: src/translations.h:138
600+#: src/translations.h:162
601 msgid "Planet Trails"
602 msgstr ""
603
604-#: src/translations.h:139
605+#: src/translations.h:163
606 msgid "Meridian Line"
607 msgstr ""
608
609-#: src/translations.h:140
610+#: src/translations.h:164
611 msgid "Azimuthal Grid"
612 msgstr ""
613
614-#: src/translations.h:141
615+#: src/translations.h:165
616 msgid "Equatorial Grid"
617 msgstr ""
618
619-#: src/translations.h:142
620+#: src/translations.h:166
621 msgid "Equator Line"
622 msgstr ""
623
624-#: src/translations.h:143
625+#: src/translations.h:167
626 msgid "Ecliptic Line"
627 msgstr ""
628
629-#: src/translations.h:144
630+#: src/translations.h:168
631 msgid "Nebula Names"
632 msgstr ""
633
634-#: src/translations.h:145
635+#: src/translations.h:169
636 msgid "Nebula Circles"
637 msgstr ""
638
639-#: src/translations.h:147
640+#: src/translations.h:171
641 msgid "Light Pollution Luminance: "
642 msgstr ""
643
644-#: src/translations.h:148
645+#: src/translations.h:172
646 msgid "Landscape: "
647 msgstr ""
648
649-#: src/translations.h:149
650+#: src/translations.h:173
651 msgid "Manual zoom: "
652 msgstr ""
653
654-#: src/translations.h:150
655+#: src/translations.h:174
656 msgid "Object Sizing Rule: "
657 msgstr ""
658
659-#: src/translations.h:151
660+#: src/translations.h:175
661 msgid "Magnitude Scaling Multiplier: "
662 msgstr ""
663
664-#: src/translations.h:152
665+#: src/translations.h:176
666 msgid "Milky Way intensity: "
667 msgstr ""
668
669-#: src/translations.h:153
670+#: src/translations.h:177
671 msgid "Maximum Nebula Magnitude to Label: "
672 msgstr ""
673
674-#: src/translations.h:154
675+#: src/translations.h:178
676 msgid "Zoom Duration: "
677 msgstr ""
678
679-#: src/translations.h:155
680+#: src/translations.h:179
681 msgid "Cursor Timeout: "
682 msgstr ""
683
684-#: src/translations.h:156
685+#: src/translations.h:180
686 msgid "Correct for light travel time: "
687 msgstr ""
688
689-#: src/translations.h:158
690+#: src/translations.h:182
691 msgid "Local Script: "
692 msgstr ""
693
694-#: src/translations.h:159
695+#: src/translations.h:183
696 msgid "CD/DVD Script: "
697 msgstr ""
698
699-#: src/translations.h:160
700+#: src/translations.h:184
701 msgid "USB Script: "
702 msgstr ""
703
704-#: src/translations.h:161
705+#: src/translations.h:185
706 msgid "Arrow down to load list."
707 msgstr ""
708
709-#: src/translations.h:162
710+#: src/translations.h:186
711 msgid "Select and exit to run."
712 msgstr ""
713
714-#: src/translations.h:164
715+#: src/translations.h:188
716 msgid "Load Default Configuration: "
717 msgstr ""
718
719-#: src/translations.h:165
720+#: src/translations.h:189
721 msgid "Save Current Configuration as Default: "
722 msgstr ""
723
724-#: src/translations.h:166
725+#: src/translations.h:190
726 msgid "Shut Down: "
727 msgstr ""
728
729-#: src/translations.h:167
730+#: src/translations.h:191
731 msgid "Update me via Internet: "
732 msgstr ""
733
734-#: src/translations.h:168
735+#: src/translations.h:192
736 msgid "Set UI Locale: "
737 msgstr ""
738
739@@ -1895,3 +1949,142 @@
740 "WARNING: Removing the selected landscape means deleting its files. This "
741 "operation is irreversible."
742 msgstr ""
743+
744+#: plugins/AngleMeasure/src/AngleMeasure.cpp:57
745+msgid "Angle Measure"
746+msgstr ""
747+
748+#: plugins/AngleMeasure/src/AngleMeasure.cpp:60
749+msgid "Provides an angle measurement tool"
750+msgstr ""
751+
752+#: plugins/AngleMeasure/src/AngleMeasure.cpp:121
753+msgid "Angle measure"
754+msgstr ""
755+
756+#: plugins/CompassMarks/src/CompassMarks.cpp:57
757+msgid "Compass Marks"
758+msgstr ""
759+
760+#: plugins/CompassMarks/src/CompassMarks.cpp:60
761+msgid "Displays compass bearing marks along the horizon"
762+msgstr ""
763+
764+#: plugins/CompassMarks/src/CompassMarks.cpp:121
765+msgid "Compass marks"
766+msgstr ""
767+
768+#: plugins/Oculars/src/Oculars.cpp:74
769+msgid "Ocular"
770+msgstr ""
771+
772+#: plugins/Oculars/src/Oculars.cpp:77
773+msgid "Shows the sky as if looking through a telescope eyepiece"
774+msgstr ""
775+
776+#: plugins/Oculars/src/Oculars.cpp:569
777+msgid "Enable ocular"
778+msgstr ""
779+
780+#: plugins/Oculars/src/Oculars.cpp:576
781+msgid "Configuration Window"
782+msgstr ""
783+
784+#: plugins/Oculars/src/Oculars.cpp:583
785+msgid "Display Telrad"
786+msgstr ""
787+
788+#: plugins/Oculars/src/Oculars.cpp:618
789+msgid "Toggle Crosshair"
790+msgstr ""
791+
792+#: plugins/Oculars/src/Oculars.cpp:623
793+msgid "Select next sensor"
794+msgstr ""
795+
796+#: plugins/Oculars/src/Oculars.cpp:627
797+msgid "Select previous sensor"
798+msgstr ""
799+
800+#: plugins/Oculars/src/Oculars.cpp:631
801+msgid "Select next ocular"
802+msgstr ""
803+
804+#: plugins/Oculars/src/Oculars.cpp:635
805+msgid "Select previous ocular"
806+msgstr ""
807+
808+#: plugins/Oculars/src/Oculars.cpp:639
809+msgid "Select next telescope"
810+msgstr ""
811+
812+#: plugins/Oculars/src/Oculars.cpp:643
813+msgid "Select previous telescope"
814+msgstr ""
815+
816+#: plugins/Satellites/src/Satellites.cpp:66
817+msgid "Satellites"
818+msgstr ""
819+
820+#: plugins/Satellites/src/Satellites.cpp:69
821+msgid ""
822+"Prediction of artificial satellite positions in Earth orbit based on NORAD "
823+"TLE data"
824+msgstr ""
825+
826+#: plugins/TelescopeControl/src/TelescopeControl.cpp:75
827+#: plugins/TelescopeControl/src/TelescopeControl.cpp:165
828+msgid "Telescope Control"
829+msgstr ""
830+
831+#: plugins/TelescopeControl/src/TelescopeControl.cpp:78
832+msgid ""
833+"This plug-in allows Stellarium to send \"slew\" commands to a telescope on a "
834+"computerized mount (a \"GoTo telescope\")."
835+msgstr ""
836+
837+#: plugins/TelescopeControl/src/TelescopeControl.cpp:171
838+#, qt-format
839+msgid "Move telescope #%1 to selected object"
840+msgstr ""
841+
842+#: plugins/TelescopeControl/src/TelescopeControl.cpp:180
843+#, qt-format
844+msgid "Move telescope #%1 to the point currently in the center of the screen"
845+msgstr ""
846+
847+#: plugins/TelescopeControl/src/TelescopeControl.cpp:203
848+msgid "Move a telescope to a given set of coordinates"
849+msgstr ""
850+
851+#: plugins/TimeZoneConfiguration/src/TimeZoneConfiguration.cpp:41
852+msgid "Time Zone"
853+msgstr ""
854+
855+#: plugins/TimeZoneConfiguration/src/TimeZoneConfiguration.cpp:44
856+msgid ""
857+"A convenient interface for some of the more obscure options in Stellarium's "
858+"configuration file. Allows setting the time zone and changing the way the "
859+"time and the date are displayed in the bottom bar."
860+msgstr ""
861+
862+#: plugins/TextUserInterface/src/TextUserInterface.cpp:79
863+msgid "Text User Interface"
864+msgstr ""
865+
866+#: plugins/TextUserInterface/src/TextUserInterface.cpp:82
867+msgid ""
868+"Plugin implementation of 0.9.x series Text User Interface (TUI), used in "
869+"planetarium systems"
870+msgstr ""
871+
872+#: plugins/SolarSystemEditor/src/SolarSystemEditor.cpp:56
873+msgid "Solar System Editor"
874+msgstr ""
875+
876+#: plugins/SolarSystemEditor/src/SolarSystemEditor.cpp:59
877+msgid ""
878+"An interface for adding asteroids and comets to Stellarium. It can download "
879+"object lists from the Minor Planet Center's website and perform searches in "
880+"its online database. Still a work in progress."
881+msgstr ""