Skip to main content
Topic: Missing string in base.tab (Read 7173 times) previous topic - next topic

Missing string in base.tab

"Vergroessere die Karte\n"
"Toggle day/night view"
"Remove"  ... for marker window
"No stop here!"

Code: [Select]
obj=program_text
name=Vergroessere die Karte\n
--
obj=program_text
name=Toggle day/night view
--
obj=program_text
name=Remove
--
obj=program_text
name=No stop here!
--


Re: Missing string in base.tab

Reply #1
Thank you.

Re: Missing string in base.tab

Reply #2
Texts for label list window.

"labellist_title"
"Active player only"
"koord"
"player"

Code: [Select]
obj=program_text
name=labellist_title
--
obj=program_text
name=Active player only
--
obj=program_text
name=koord
--
obj=program_text
name=player
--

Re: Missing string in base.tab

Reply #3
...
Code: [Select]
obj=program_text
name=labellist_title
--
obj=program_text
name=Active player only
--
obj=program_text
name=koord
--
obj=program_text
name=player
--


obj=program_text
name=labellist_title
note=Description
--
obj=program_text
name=Active player only
note=Description
--
obj=program_text
name=koord
note=Description
--
obj=program_text
name=player
note=Description
--

and crossing info

obj=program_text
name=\nway1 reserved by
note=text in crossing info
--
obj=program_text
name=cars.\nway2 reserved by
note=text in crossing info
--
obj=program_text
name=cars.\nstate
note=text in crossing info
--
obj=program_text
name=open
note=text in crossing info
--
obj=program_text
name=close
note=text in crossing info
--

Re: Missing string in base.tab

Reply #4
Crossing state are ...
Code: [Select]
static const char *state_str[4] = { "invalid", "open", "request closing", "closed" };

Re: Missing string in base.tab

Reply #5
texts in crossing_logic.cc

Code: [Select]
	buf.append( translator::translate("\nway1 reserved by ") );
buf.append( on_way1.get_count() );
buf.append( translator::translate("cars.\nway2 reserved by ") );
buf.append( on_way2.get_count() );
buf.append( translator::translate( "cars.\nstate ") );

[attachment deleted by admin]

Re: Missing string in base.tab

Reply #6
Yes, as your picture shows, it's "closed"


Re: Missing string in base.tab

Reply #8
Anyway, had to remove trailing spaced to add them to svn. Thus now in base.tab they are correct.

Re: Missing string in base.tab

Reply #9
Thank you. But unfortunately there is a typo.
"\nway1 reserved by" is duplicated.

dataobj/crossing_logic.cc:49-51
Code: [Select]
	buf.append( translator::translate("\nway1 reserved by") );
buf.append( on_way1.get_count() );
buf.append( translator::translate("\nway1 reserved by") );

Re: Missing string in base.tab

Reply #10

--
obj=program_text
name=Choose direction
note=window title to choose direction of station buildings
--

By the way, can someone upload all new words to SimuTranslator ?
The value of river settings are still not readable.

Re: Missing string in base.tab

Reply #11
There were trouble with translator last week and during this weekend. I will do this today.