The International Simutrans Forum

 

Author Topic: streetlist_en.txt  (Read 2472 times)

0 Members and 1 Guest are viewing this topic.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18249
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
streetlist_en.txt
« on: September 12, 2011, 10:43:40 PM »
Following developments discussed here, I have made a list of 431 local stop names. I have not yet had time to check/test whether this exceeds the maximum; if anybody knows whether it does, I should be grateful to know.

I hope that this is helpful.

Offline ӔO

  • Devotees (Inactive)
  • *
  • Posts: 2345
  • Hopefully helpful
  • Languages: en, jp
Re: streetlist_en.txt
« Reply #1 on: September 12, 2011, 11:19:36 PM »
I think there's a typo in one line.
"M%$1s ott Square %$2s"
probably should read "%$1s Mott Square %$2s"

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18249
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: streetlist_en.txt
« Reply #2 on: September 13, 2011, 10:45:41 PM »
Thank you for spotting that - corrected version, now with a total of 469 names, attached.

Offline infernalmachine

  • *
  • Posts: 32
Re: streetlist_en.txt
« Reply #3 on: September 14, 2011, 02:25:21 AM »
Has anyone got this new list actually working in-game?  Using ST Standard (latest nightly), and Pak128.open.r527, I just get the same problem that Mark (archchancellor) mentions here:  http://forum.simutrans.com/index.php?topic=7926.msg76312#msg76312

From further reading, I believe you need to change, for example, "%$1s High Road %$2s" to "%1$s High Road %2$s" to work with the translator.  That is, put the numeral before the "$", not after.

Doing this, I was able to get the list to work in Standard/128, subject to the string-length problems mentioned later on in the other thread.

Apologies if James's file works well in pak128.Britain or in the newest Experimental already, but if not, here's the file that works for me (you'll need to rename it to "streetlist_en.txt"): http://simutrans-germany.com/files/upload/reversed_streetlist_en.txt

[PS Dumb question, I know, but can someone tell me how to hide the url address in links when posting on the forum.  So that a word or phrase is the link but the whole http isn't in the message body?]

Offline sdog

  • Devotee
  • *
  • Posts: 2039
Re: streetlist_en.txt
« Reply #4 on: September 14, 2011, 03:08:51 AM »
Quote
PS Dumb question, I know, but can someone tell me how to hide the url address in links when posting on the forum.  So that a word or phrase is the link but the whole http isn't in the message body?

Code: [Select]
[url="www.simutrans.com"]simutrans[/url]

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18249
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: streetlist_en.txt
« Reply #5 on: September 14, 2011, 10:09:42 AM »
Infernal Machine,

thank you for that correction: there are no changes to this code in Experimental, so that was my error. I have updated my local copy to match your text.

Offline infernalmachine

  • *
  • Posts: 32
Re: streetlist_en.txt
« Reply #6 on: September 16, 2011, 07:20:39 AM »
Thanks, sdog, for the info.  Much appreciated.

James, the list is impressive.  How did you come up with so many names?

As of Nightly 4813, the names appear correctly without the extra letters.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18249
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: streetlist_en.txt
« Reply #7 on: September 16, 2011, 11:01:06 PM »
Hmm, I just think of plausible sounding names and don't stop until the list is rather long... glad that you like it!