String Freeze Announcement for 1.6.3 and 1.7.0

Previous topic - Next topic

MrB

Hi

Please consider string freeze in place for Scribus 1.6.3 and 1.7.0 releases for the next two weeks.

thanks
Craig

StephanP

@MrB

Hi Craig,
Could it be that something has gone wrong with incorporating the updated languages into 1.6.3?

Even after manually importing a brand new scribus.nl.qm file that I mannually built from the ts file I downloaded from transifex I get a New Document dialog full of English language.


MrB

I just checked my dmg file for Mac OS for 1.6.3 and it has a working Dutch translation. I think what you're seeing is that transifex exported ts files are not perfect and need some transformation before use. This is what I do.

sed -i~ $'s:<?xml version="1.0" ?><!DOCTYPE TS><TS language="\(.*\)" version="2.1">:<?xml version="1.0" encoding="utf-8"?>\\\n<!DOCTYPE TS>\\\n<TS version="2.1" language="\\1">:' $TS_DIR/*.ts
sed -i~ $'s:<?xml version="1.0" ?><!DOCTYPE TS><TS version="2.1" language="\(.*\)">:<?xml version="1.0" encoding="utf-8"?>\\\n<!DOCTYPE TS>\\\n<TS version="2.1" language="\\1">:' $TS_DIR/*.ts
sed -i~ 's:<translation type="unfinished"/>:<translation type="unfinished"></translation>:' $TS_DIR/*.ts

StephanP

#3
Uhmmm, sadly I don't speak sed.
What does this mean in mere Transifex terms or Windows search & replace terms?

Yet, the 1.6.3 release IS missing the latest Dutch translations, which I think had been completed in time.

MrB

#4
The release contains the latest files from Transifex as exported from the tx command. If you don't use those sed conversion lines (or some other regex replacement tool), the ts file will not work and give you a bad qm file, or none at all. You need to extract the ts file from Transifex, then run the string replacements, then convert to qm.

However I can see that some translations are not downloading from Transifex for some reason. There's no technical reason for that being the case that I can see. Very weird. The strings are not even in the ts file. Eg Number of Pages on the New Document Dialog

MrB

It looks like the source file was damaged somehow so some strings were missing. This has been fixed now,  sorry. TS files in SVN are now corrected.

StephanP

Do you think this only affects the Dutch translation or could this also play with other translations?
Could this be a cue for a fix update?

StephanP

I downloaded the ts file from Transifex, released it into a qm and copied this resulting file into the Scribus 1.6.3 installation and PRESTO the New document dialog is in Dutch language proper.