Newlines in satellite descriptions

Bug #869126 reported by Odin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stellarium
Fix Released
Wishlist
Alexander Wolf

Bug Description

Wishlist: Ability to add a code (\n) to do a 'line feed' when you put a lot of text in the description of satellites in the satellites.json file.

Example: I'm adding this text (description: "The satellite is likely a Kobalt M reconnaissance satellite carrying a camera to snap photos of military installations, troop movements and other sites of interest around the world. Kobalt satellites orbit between 150 miles (240 km) and 300 miles (480 km) above Earth. High-resolution cameras on Kobalt satellites capture images of locations around the world. Kobalt spacecraft reportedly carry canisters to return film to Earth during the satellite's mission, which will last at least several months.",) for COSMOS 2473 to my .json file and most of the text ends up 'outside' the screen. Would be helpfull with the ability to do a 'bla...bla"\n"bla...bla"\n" ...

Related branches

Changed in stellarium:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Bogdan Marinov (daggerstab) wrote :

You can already use the "<br/>" tag. It seems to work.

summary: - Adding descriptions to satellites in satellites.json
+ Newlines in satellite descriptions
Revision history for this message
Odin (postboks) wrote :

Many thanks Bogdan! Tested, and the <br/> tag work like a charm (version 0.11.0)! :)

Revision history for this message
Odin (postboks) wrote :

I have tested some other common HTML tags, like "<font color=colorname> text </ font>", "<i> text </ i>" and "<b> text </ b>" and they work well too. Thanks again Bogdan!

tags: added: satellites
removed: wishlist
tags: added: plugin
Changed in stellarium:
status: Triaged → Opinion
Revision history for this message
Alexander Wolf (alexwolf) wrote :

A fix has been committed as revision 7244 of the trunk branch of Stellarium's Bazaar repository at Launchpad: http://bazaar.launchpad.net/~stellarium/stellarium/trunk/revision/7244

Changed in stellarium:
milestone: none → 0.13.2
assignee: nobody → Alexander Wolf (alexwolf)
status: Opinion → Fix Committed
Changed in stellarium:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.