Solar system

Plasma 4 Widgets

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

16
Score 84.3%
Description:

Displays position of planets in Solar system, applet icon credit: NASA/JPL.
Last changelog:

8 years ago

0.4.1
- Italian translation added, big thanks to Giuseppe Calí  for contribution :)
- Czech and German translations added (spell-checking and corrections appreciated!)

0.4:
- Greek and French i18n translations added, big thanks to Dimitrios Glentadakis
- For Russian translation big thanks goes to Alexander Potashev
- centering of names of planets and the Sun (due to different length in different languages)
- using translation context for the "Sun", now it should be translated correctly ("Fuzzy")
- changes in .po/.pot creation scripts to handle context function i18nc()
- .mo files automatically installed in ~/.kde4/share/locale directory
- removed "Form" from translation files (thanks to Alexander Potashev for suggestion)

0.3:
- i18n support added, big thanks to Edgardo Garcia Hoeffler for the code and Spanish translation :)
- Slovak i18n translation added
- added antialiasing of planet orbits, thanks goes to user nybble41 for suggestion and code :)
- resizing of the plasmoid added. The applet automatically switches to smaller size
planet images when resized below a certain scale

0.2.1:
- minor bugfix in the config dialog - font size fixed

0.2:
- it's now possible to show/hide Pluto (default: hide)
(Thanks to Kirilo for suggestion :)

0.1:
- basic funcionality.
- it is possible to configure:
- color of text information (legend)
- color of planets' orbits
- show/hide orbits (default: show)
- show/hide legend (default: hide)


Installation:

plasmapkg -i solar-system.plasmoid

or if you are upgrading then:

plasmapkg -u solar-system.plasmoid

9

gcala

8 years ago

the pot file translated in italian:
http://paste.kde.org/82153/

and the .desktop file:
http://paste.kde.org/82141/

Regards

Report

C

jramen

8 years ago

Thank you very much, Giuseppe!
I added it to new version 0.4.1 :)

Report

9

aspotashev

8 years ago

1. I'm doing Russian translation of your Plasma widget. What did you mean by "and possibly other dwarf planets" in "Show Pluto (and possibly other dwarf planets)"? What other planets can the widget show?

2. Localization works here after generating the .mo file and copying it to ~/.kde4/share/locale/ru/LC_MESSAGES/solar-system.mo. I don't know if it will work out of the box after normal installation via "Get Hot New Stuff".

3. Of course, "Sun" is also translated as first letters in "Sunday" (in Russian, it's "Вс").

4. The string "Form" should not be translatable, because it is not visible to the user. The title of the widget configuration dialog is always "Plasma Desktop Shell".

Report

C

jramen

8 years ago

1. The "dwarf planets" means small objects like asteroids, i.e. Ceres ( http://en.wikipedia.org/wiki/Ceres_(dwarf_planet) ), Juno, Vesta, etc. It would be possible to show/hide them with this checkbox, but they aren't implemented yet.

2. Yes, I did generate .mo files, but they weren't in the right directory. :(
And... I'd be happy to add your translation to next release, if you'll make it public, of course. :)

3. Yes. The correct translation in combination with your i18nc suggestion should solve this problem. Thank you! :)

4. Ok. No need to translate it, then. The .pot and .po files are generated by scripts and I currently don't know how to get rid of the "form". O:-)

Report

9

aspotashev

8 years ago

My translation into Russian is available at http://l10n.kde.ru/system/contents/150/original/solar-system.po

I've dropped "and possibly other dwarf planets", because it's not implemented for now. May be it would be better to have 2 separate checkboxes, because Pluto had been a planet for a long time? ("Show Pluto" and "Show other dwarf planets")

Report

C

jramen

8 years ago

Thank you very much for your translation, Alexander. :)

I added it and would like to have your opinion on these translations in "metadata.desktop" file, because my Russian is not what it used to be 20 years ago O:-) :

Name[en]=Solar system
Name[ru]=Солнечная система

Comment[en]=Displays position of planets in Solar system, Icon credit: NASA/JPL
Comment[ru]=Показывает положение планет в Солнечной системе. Источник иконки: NASA/JPL

Thanx!

Report

9

aspotashev

8 years ago

Your Russian is perfect!

But I'd change "Источник иконки: NASA/JPL" to "Источник значков планет: NASA/JPL.", because:
1. Some people translate "icon" in software as "иконка", but Russian KDE team prefers "значок" and has been translated it like that for years.
2. I think, just "icon" is not enough to understand what it is about. May be "Planet icons credit"?
3. "icons" should be in plural, because there are several icons (one for every planet and one more for the Sun).
4. If you close the first sentence (you've added a full stop after "Показывает положение планет в Солнечной системе"), then you should also close the second one. Otherwise they look weird, I think.

Report

C

jramen

8 years ago

Can't reply to your post, so I'm replying here.
Thank you very much and I've implemented everything I could (even removed the "Form" from translation :D) and the new version 0.4 will be soon out and it should solve most of the problems. :)

Report

C

jramen

8 years ago

Thank you, Alexander! :)

The truth is, only the plasmoid main icon that you can see while adding it to desktop is from NASA/JPL. Icons of the planets were created by me using pictures from different sources and they were all labeled as free to use. Well, probably most of them -are- originally from NASA, but it wasn't explicitly stated there at their source.

Therefore I was referring to only this one particular icon. Under these circumstances the correct translation would be: "Источник значка: NASA/JPL.", if I'm correct. :)
Probably, I should have been more specific in the English translation to begin with, eh? :-S

Report

9

aspotashev

8 years ago

Yes, "Источник значка: NASA/JPL." is correct.

Report

dglent

8 years ago

Somehow when a translation it is nt available, the plasmoid search to pick a similar translation i dont know from where.

As result in a Greek localisation, the sun is translated "Κυρ" which is the 3 first letters of the day "Sunday" and not the translation of the Sun = Ήλιος.
I add the el (Greek) translation in a folder : ~/.kde4/share/apps/plasma/plasmoids/solar-system/contents/locale/el/solar-system.mo but i cant make it appear in the plasmoid. i have always the english one

This happens to my wife's system too, which is in French and it has the "Dim" (from dimanche = sunday and not the translation of Sun = soleil)

Report

C

jramen

8 years ago

Hi Dimitrios!

Thank you for your feedback and Greek translation. :)

Plasmoid uses the system i18n() function, so I can't really influence this behavior. :( I think it just considers "Sun" to be the abbreviation of Sunday and translates it to corresponding three-letter abbreviation in other language(s). :-/

On the other hand, I added your translation to the applet and you are very welcome to download and try this beta-version (0.3.1) from here:

http://ramen.xnetkn.sk/solar-system.plasmoid

You can update your currently installed version by issuing command:

plasmapkg -u solar-system.plasmoid

I really hope it will work fine. Please, let me know and if it does, I will make it an official release. :)

Thanks again for your help and time!

PS: If you have the French translation, I'd be very happy to include that, too. ;)

Report

dglent

8 years ago

Here is the French translation:
http://glenbox.free.fr/files/solar-plasmoid/fr/solar-system_fr.po

And i updated the desktop file with the french translation:
http://glenbox.free.fr/files/solar-plasmoid/plasma-applet-solar-system.desktop



Thanks for the package, i updated it but i still have everything in english, the plasmoid settings and the display of the planets. I logged out but i still have everything in english.

Report

C

jramen

8 years ago

Thanks for the French translation, I added it, too. :)

Also, I did find some problems, one function (KGlobal.locale().insertCatalog) missing and also, compiled .mo files weren't in their respective LC_MESSAGES directories. :/ Well, these are new things for me and good howto is hard to find.. :P

Please, try again to download (from the same link) and update, now it should work. I installed Greek language into my KDE and it worked for me. :)

Report

dglent

8 years ago

As said aspotashev when i installed the .mo in the ~/.kde4/share/locale/el/LC_MESSAGES/solar-system.mo the translation works except the Sun.

I installed again the new package but it did nt put the translations in the right place.

Report

C

jramen

8 years ago

Okay, please try it the last time. The same download link as before...
I added code for translation installation and it creates and copies the needed .mo file to share/locale directory.

It even translates the "Sun" correctly but I had to revert back to i18n function instead of i18nc, because that left "Sun" untranslated. :-S

I hope it will work now, 'cuz I'm slowly running out of ideas here. :(

Report

dglent

8 years ago

also we had a discussion about in the kde translation ml:

http://lists.kde.org/?l=kde-i18n-doc&m=130785802903238&w=2

Report

dglent

8 years ago

bah, it does nt copy the mo files in the .kde4/share/locale/

and the Sun is always with the 3 letters of the Sunday

Report

C

jramen

8 years ago

Okay, please try it the last time. The same download link as before...
I added code for translation installation and it creates and copies the needed .mo file to share/locale directory.

It even translates the "Sun" correctly but I had to revert back to i18n function instead of i18nc, because that left "Sun" untranslated. :-S

I hope it will work now, 'cuz I'm slowly running out of ideas here. :(

Report

C

jramen

8 years ago

Yes... :-{ I'm working on it. As I see, installation of those files should be provided by the plasmoid itself and while "plasmoidviewer solar-system" did work with translations, putting it on desktop doesn't, so I need to make some code changes.

Sorry for the inconvenience..

Report

9

aspotashev

8 years ago

You should probably use i18nc("Name of the star at the center of Solar System", "Sun") instead of i18n("Sun")

Report

ulrith

8 years ago

Hi! Thank you very much for such a good applet. I would love to see it on my Ubuntu with Gnome (Unity). Help?

Report

dglent

8 years ago

Here you can find the greek translation
http://glenbox.free.fr/files/solar-plasmoid/

Report

evergreenpsyche

8 years ago

I also would be interested in seeing the inclusion of more realistic orbits.

Also, at least on KDE 4.6.0, the plasmoid doesn't scale itself when trying to resize it (http://img18.imageshack.us/i/plasmoidsolar.png/). This is a bit of a deal-breaker since screen-space is a finite resource, and I'd rather not stick it in a panel.

Thanks for your contribution!

~egp

Report

C

jramen

8 years ago

Hi evergreenpsyche,

Thank you for your suggestions. :)

Sadly, realistic orbits won't come any time soon, because I have little time to spare right now and on top of that I'm just a beginner in PyKDE/PyQT (I'm more into php+mysql :P). :((

On the positive note, I've managed to make it resize-compatible, so you are highly encouraged to try out the new version. Hopefully, it won't be a deal-breaker anymore. :)

Once again, thank you for your feedback and all the best,

John

Report

8 years ago

0.4.1
- Italian translation added, big thanks to Giuseppe Calí  for contribution :)
- Czech and German translations added (spell-checking and corrections appreciated!)

0.4:
- Greek and French i18n translations added, big thanks to Dimitrios Glentadakis
- For Russian translation big thanks goes to Alexander Potashev
- centering of names of planets and the Sun (due to different length in different languages)
- using translation context for the "Sun", now it should be translated correctly ("Fuzzy")
- changes in .po/.pot creation scripts to handle context function i18nc()
- .mo files automatically installed in ~/.kde4/share/locale directory
- removed "Form" from translation files (thanks to Alexander Potashev for suggestion)

0.3:
- i18n support added, big thanks to Edgardo Garcia Hoeffler for the code and Spanish translation :)
- Slovak i18n translation added
- added antialiasing of planet orbits, thanks goes to user nybble41 for suggestion and code :)
- resizing of the plasmoid added. The applet automatically switches to smaller size
planet images when resized below a certain scale

0.2.1:
- minor bugfix in the config dialog - font size fixed

0.2:
- it's now possible to show/hide Pluto (default: hide)
(Thanks to Kirilo for suggestion :)

0.1:
- basic funcionality.
- it is possible to configure:
- color of text information (legend)
- color of planets' orbits
- show/hide orbits (default: show)
- show/hide legend (default: hide)


Installation:

plasmapkg -i solar-system.plasmoid

or if you are upgrading then:

plasmapkg -u solar-system.plasmoid

12345678910
1311
product-maker byulbee Sep 30 2019 10 the best
10 the best
product-maker rosenrot Jan 10 2015 9 excellent
product-maker janet Oct 20 2013 9 excellent
product-maker paulus3005 Mar 16 2013 9 excellent
product-maker Sweyn78 Aug 27 2012 9 excellent
product-maker fisasi May 16 2012 9 excellent
product-maker MaxEki Mar 26 2012 9 excellent
product-maker I027614 Dec 22 2011 9 excellent
product-maker StrikeHoreges Oct 27 2011 9 excellent
product-maker heinquoi Oct 22 2011 9 excellent
product-maker weyll Oct 02 2011 9 excellent
product-maker mzatari Sep 06 2011 9 excellent
product-maker brna Aug 27 2011 9 excellent
product-maker jackhunter2 Aug 22 2011 9 excellent
product-maker Arstan Aug 06 2011 9 excellent
product-maker Nebkheperureinpu Jul 10 2011 9 excellent
product-maker vatsok Jun 23 2011 9 excellent
product-maker vitex Jun 23 2011 9 excellent
product-maker deabru Jun 18 2011 9 excellent
product-maker prostosuper Jun 15 2011 9 excellent
product-maker dobri Jun 15 2011 9 excellent
product-maker SeaJey Jun 14 2011 9 excellent
product-maker phade Jun 12 2011 9 excellent
product-maker aspotashev Jun 12 2011 9 excellent
product-maker gamdoodyandgam Jun 03 2011 9 excellent
product-maker fineday2love May 05 2011 9 excellent
product-maker Dellara Mar 26 2011 3 bad
product-maker Brutus180 Mar 15 2011 9 excellent
product-maker mornaran Mar 12 2011 9 excellent
product-maker ruman Mar 08 2011 9 excellent
product-maker Alesvol Mar 08 2011 9 excellent
product-maker gcala Oct 04 2010 9 excellent
product-maker Schiwi Sep 26 2010 9 excellent
product-maker Base: 4 x 5.0 Ratings
byulbee
Nov 21 2018
bkant
Jul 25 2013
saftsocken
Dec 24 2012
fisasi
May 14 2012
heinquoi
Oct 22 2011
Nebkheperureinpu
Jul 10 2011
vitex
Jun 23 2011
SeaJey
Jun 14 2011
phade
Jun 14 2011
aspotashev
Jun 12 2011
dglent
Mar 09 2011
opaflamme
Mar 08 2011
eusebio
Jan 27 2011
nick1701
May 18 2010
cesorensen
Apr 18 2010
Bert
Apr 18 2010
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs ocs-url or ocs-store to install things
Pling
0 Affiliates
Details
license
version
0.4.1
updated Jun 18 2011
added Apr 16 2010
downloads 24h
0
pageviews 24h 5