Skip to main content
Topic: r2610 - diferent empty line (Read 4326 times) previous topic - next topic


 

Re: r2610 - diferent empty line

Reply #2
thank you :) since the graphics of your original post were lost, the old bug report became useless.

in nightly revisino 2998.
Parsley, sage, rosemary, and maggikraut.

Re: r2610 - diferent empty line

Reply #3
Well this means mostly that the linebreak should be added on simutranslator. Or rather, just the field of the ownership should be empty as before.

Re: r2610 - diferent empty line

Reply #4
Well this means mostly that the linebreak should be added on simutranslator. Or rather, just the field of the ownership should be empty as before.

Translator is not positive

tree info show the empty line
groundobj info show the empty line

citybuilding info show not empty line

add the line break to Translator then have tree and groundobj 2 line breaks and citybuilding 1 line break

Re: r2610 - diferent empty line

Reply #5
Since buildings are most important trees and groundobj are imho wrong. Because an empty owner should omit it completely without a leading empty line.


Re: r2610 - diferent empty line

Reply #7
While working with translator I also observed strange behaviour of \n.
Sometimes, the breaks are not made and buildings like attractions then show up the whole text. This can leads to station names with prosaic text.

The breaks between owner and translator text should be alright in the case of building. As shown in Franks post, the missing line looks not good. Maybe, the placement within the window could be changed, so no text will follow up the owners' name.

Re: r2610 - diferent empty line

Reply #8
Would it help here to have the info window display html rather then text? Then these linebreak issues could be handled uniformly.

Maybe with a different translation string that describes the layout of the window (ie linebreaks defined by language).
Parsley, sage, rosemary, and maggikraut.

Re: r2610 - diferent empty line

Reply #9
Well the current version handles it consistently: No line break after the name for everything, allowing for empty string when stuff is not owned (which is mostly the case) ALso Streets are owned, but this was not printed priviously.


Re: r2610 - diferent empty line

Reply #11
The only other way would be to check if the translation is empty. If yes, add no newline, else add two.