.ct file version string

This forum is for discussion of the AmigaOS 4.x localization. This includes translation errors as well as proposals for improved translations, and other topics related to localization.

.ct file version string

Postby JosDuchIt » Sat Feb 22, 2014 3:04 pm

What's wrong with this version string ?

## version $VER: AmigaWriter.catalog 03.00 (02.02.2014)

6.Stock:AmigaWriter/Catalogs/français> Flexcat Amigawriter2.2French.ct CATALOG Amigawriter2.2French.catalog
ERROR: '$VER: AmigaWriter.catalog 03.00 (02.02.2014)' is not a valid version value
JosDuchIt
 
Posts: 286
Joined: Sun Jun 26, 2011 6:47 pm

Re: .ct file version string

Postby gazelle » Sat Feb 22, 2014 3:20 pm

JosDuchIt wrote:What's wrong with this version string ?
## version $VER: AmigaWriter.catalog 03.00 (02.02.2014)


Nothing. Maybe you are using an old version of flexcat?

I personally would remove leading/trailing zeros from versionnumbers "03.00" -> "3.0"
User avatar
gazelle
 
Posts: 101
Joined: Sun Mar 04, 2012 1:49 pm
Location: Frohnleiten, Austria

Re: .ct file version string

Postby nbache » Sat Feb 22, 2014 7:02 pm

gazelle wrote:
JosDuchIt wrote:What's wrong with this version string ?
## version $VER: AmigaWriter.catalog 03.00 (02.02.2014)
Nothing.
Actually, there is. Zero is not valid as a revision in AmigaOS, all revisions have to start at 1.

I personally would remove leading/trailing zeros from versionnumbers "03.00" -> "3.0"
Yep, so would I, and also the leading zeroes in the date and month, as they are not needed. (But both of those things are strictly speaking valid, AFAIK.)

So my choice for the example above would be:

## version $VER: AmigaWriter.catalog 3.1 (2.2.2014)

Edit: Are you sure the program does look for a catalog with version 3? The version (the number before the dot) cannot be chosen freely, it has to match what the program tries to open.

Best regards,

Niels
User avatar
nbache
Beta Tester
Beta Tester
 
Posts: 1197
Joined: Mon Dec 20, 2010 8:25 pm
Location: Copenhagen, Denmark

Re: .ct file version string

Postby JosDuchIt » Sun Feb 23, 2014 6:38 pm

@nbache & gazelle thanks
i copied the verion string from an existing catalog.file and this worked OK.
at least i got an output catalog.

The catalog description file
amigawriter.cd 47285 29/06/2000
(from Amigawriter 2.2.demo or from 2.0 to 2.2 patch)
seems to be corrupt however. When you generate a catalog eg from the 2.2demo
flexcomp/catcomp Amigawriter.cd Amigawriter_deutsch3.ct CATALOG Amigawriter.catalog
you get a catalog showing incorrect strings in most places when running Amigawriter
Asked for help to Alinea Computer.
JosDuchIt
 
Posts: 286
Joined: Sun Jun 26, 2011 6:47 pm

Re: .ct file version string

Postby trixie » Sat Mar 08, 2014 10:55 pm

I have the very same problem with catcomp. My catalog translation file has

## version $VER: encoders.catalog 1.1 (8.3.2014)

and when I try to convert the .ct into a .catalog, I get:

ERROR: '$VER: encoders.catalog 1.1 (8.3.2014)' is not a valid version value

As you can see, there are neither trailing zeroes, nor a 0 revision number. I'm using catcomp from the latest SDK.
Smoke me a kipper, I'll be back for breakfast!
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
User avatar
trixie
 
Posts: 350
Joined: Thu Jun 30, 2011 3:54 pm
Location: Czech Republic

Re: .ct file version string

Postby joerg » Sat Mar 08, 2014 11:21 pm

trixie wrote:I have the very same problem with catcomp. My catalog translation file has

## version $VER: encoders.catalog 1.1 (8.3.2014)

and when I try to convert the .ct into a .catalog, I get:

ERROR: '$VER: encoders.catalog 1.1 (8.3.2014)' is not a valid version value

As you can see, there are neither trailing zeroes, nor a 0 revision number. I'm using catcomp from the latest SDK.
This error message seems to be for a bad version string in the .cd file, not in your .ct translation file. For a wrong one in .ct you should get "... is not a valid version number".
joerg
 
Posts: 371
Joined: Sat Mar 01, 2014 6:42 am

Re: .ct file version string

Postby trixie » Sat Mar 08, 2014 11:38 pm

@joerg

This error message seems to be for a bad version string in the .cd file

OK, but I'm not feeding the .cd file to catcomp at all, I'm doing

catcomp encoders.ct CATALOG encoders.catalog

so why would catcomp report an error in a file that it doesn't even receive as parameter?
Smoke me a kipper, I'll be back for breakfast!
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
User avatar
trixie
 
Posts: 350
Joined: Thu Jun 30, 2011 3:54 pm
Location: Czech Republic

Re: .ct file version string

Postby gazelle » Sat Mar 08, 2014 11:43 pm

@trixie

You can't build a catalog without an .cd file. The ids are only stored in the descriptor file not in the translation file.

[deleted]see jörgs description below[/deleted]
Last edited by gazelle on Sun Mar 09, 2014 12:50 am, edited 1 time in total.
User avatar
gazelle
 
Posts: 101
Joined: Sun Mar 04, 2012 1:49 pm
Location: Frohnleiten, Austria

Re: .ct file version string

Postby joerg » Sat Mar 08, 2014 11:46 pm

trixie wrote:@joerg

This error message seems to be for a bad version string in the .cd file

OK, but I'm not feeding the .cd file to catcomp at all, I'm doing

catcomp encoders.ct CATALOG encoders.catalog

so why would catcomp report an error in a file that it doesn't even receive as parameter?
Catcomp can't work without a .cd file, and since the template is "DESCRIPTOR/A,TRANSLATION,CATALOG/K,CTFILE/K,..." it's using your .ct file as DESCRIPTOR (.cd) file instead of TRANSLATION (.ct) file.
joerg
 
Posts: 371
Joined: Sat Mar 01, 2014 6:42 am

Re: .ct file version string

Postby trixie » Sat Mar 08, 2014 11:52 pm

@gazelle, @joerg

OK, got it now. It was all my fault, then - don't know why I assumed the catalog is made from the translation file only. Thanks for help!
Smoke me a kipper, I'll be back for breakfast!
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
User avatar
trixie
 
Posts: 350
Joined: Thu Jun 30, 2011 3:54 pm
Location: Czech Republic


Return to Localization

Who is online

Users browsing this forum: No registered users and 1 guest