Author Topic: Renaming objects & translation  (Read 2490 times)

0 Members and 1 Guest are viewing this topic.

Offline Fabio

  • Devotee
  • Administrator
  • *
  • Posts: 2898
  • Total likes: 6
  • Helpful: 91
  • The Pak128 Guy
    • Visit me on Facebook
  • Languages: EN, IT, RO, FR
Renaming objects & translation
« on: November 10, 2012, 11:25:03 AM »
Here we discussed about downgrading some existing Pak128 buildings.

Is it possible to script SimuTranslator so that texts linked to the previous string (to be deleted) get linked to the new string without manual copy-paste?

Offline VS

  • Senior Plumber (Devotee)
  • Devotee
  • *
  • Posts: 4849
  • Total likes: 25
  • Helpful: 63
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Re: Renaming objects & translation
« Reply #1 on: November 10, 2012, 11:46:06 AM »
To answer the question you wrote: No.

But I have a script that takes a file in compat.tab format + translation folder and turns that into a new translation folder for import. (Translation import is an append operation in STL.) This is economical only after large changes, since you have to import one file/language at a time.

Thus, the answer to your real question is a cautious yes ;)



edit: Oops, that wasn't for me to answer! Anyway, I asked about this already once, and the result was my script.

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4222
  • Total likes: 168
  • Helpful: 148
  • Languages: EN, DE, AT
Re: Renaming objects & translation
« Reply #2 on: November 10, 2012, 01:13:14 PM »
It should be possible to rename objects, translations are kept iirc.
Parsley, sage, rosemary, and maggikraut.

Offline Frank

Re: Renaming objects & translation
« Reply #3 on: November 22, 2012, 08:01:23 PM »
It should be possible to rename objects, translations are kept iirc.

yes, for Maintainter and Co-Maintainter ( 2 for set )

« Last Edit: November 22, 2012, 08:16:48 PM by Frank »

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 8745
  • Total likes: 305
  • Helpful: 229
  • Languages: De,EN,JP
Re: Renaming objects & translation
« Reply #4 on: November 22, 2012, 09:29:08 PM »
Did not notice this feature. Thank you!

Offline VS

  • Senior Plumber (Devotee)
  • Devotee
  • *
  • Posts: 4849
  • Total likes: 25
  • Helpful: 63
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Re: Renaming objects & translation
« Reply #5 on: November 22, 2012, 10:33:34 PM »
HUGE praise to whoever did this - as James would say, "most helpful indeed!"

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

Offline Fabio

  • Devotee
  • Administrator
  • *
  • Posts: 2898
  • Total likes: 6
  • Helpful: 91
  • The Pak128 Guy
    • Visit me on Facebook
  • Languages: EN, IT, RO, FR
Re: Renaming objects & translation
« Reply #6 on: November 22, 2012, 10:54:19 PM »
So I guess I can start downgrading industrial buildings to level 30 ;)
Thanks for the feature!

Offline IgorEliezer

  • Devotee
  • Administrator
  • *
  • Posts: 3930
  • Total likes: 129
  • Helpful: 70
  • Lost In Stupid Parenthesis
    • Igor Eliezer Architect and Urban Planner/Arquiteto e Urbanista
  • Languages: PT, EN, AutoLISP, Python
Re: Renaming objects & translation
« Reply #7 on: November 22, 2012, 10:57:00 PM »
HUGE praise to whoever did this - as James would say, "most helpful indeed!"
I see geniality there! :)

Offline Frank

Re: Renaming objects & translation
« Reply #8 on: November 24, 2012, 02:27:29 PM »
Did not notice this feature. Thank you!

 :)

these are in existence for more

Quote from: changelog.txt
....
05-Jan-2009 Frank Penz :
   
    *ADD: Buttons Next/Prev page Object Guide ( more 500 objects in section )
    *ADD: help files
    *FIX: import object tunnel
    *ADD: page Object Edit; chanched object data and object propertys
...