The International Simutrans Forum

 

Author Topic: Export of zip files not working  (Read 2828 times)

0 Members and 1 Guest are viewing this topic.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4869
  • Languages: EN, DE, AT
Export of zip files not working
« on: September 08, 2011, 08:24:58 AM »
The export of zip files containing all languages is broken. Ie the script in the svn source code repository returns a zip file created at 31st of August, not a recent one.

To check this: de.tab should contain an entry for "Supplied: %d %%". This is the case if one exports only the German translation to de.tab, but the de.tab inside the archive language_pack-Base+texts.zip does not contain that string.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10633
  • Languages: De,EN,JP
Re: Export of zip files not working
« Reply #1 on: September 08, 2011, 11:04:21 AM »
The script just returns the last downloaded (cached) zip file. I had to manually download the zip before doing a release.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4869
  • Languages: EN, DE, AT
Re: Export of zip files not working
« Reply #2 on: September 08, 2011, 11:08:30 AM »
How can one generate a new zip file ?

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10633
  • Languages: De,EN,JP
Re: Export of zip files not working
« Reply #3 on: September 08, 2011, 11:15:07 AM »
Usually I clean the cache and then download the "complete language pak". (I.e. it is ok to just create it, the file will be cached.). This option is only available for people that are logged into the translator (and thus the script only downloads the last cached version).

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4869
  • Languages: EN, DE, AT
Re: Export of zip files not working
« Reply #4 on: September 08, 2011, 11:22:12 AM »
"Clean Temporary Directory" does not seem to have the desired effect. Afterwards the zip (created by translation exporter) still contains old tab files (de.tab was built on 7th of august for ex).