[Pas2js] Resource strings, part 2

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Jul 20 15:32:41 CEST 2019


On Sat, 20 Jul 2019 15:15:13 +0200 (CEST)
Michael Van Canneyt <michael at freepascal.org> wrote:

> On Sat, 20 Jul 2019, Mattias Gaertner via Pas2js wrote:
> 
> > On Sat, 20 Jul 2019 14:13:45 +0200 (CEST)
> > Michael Van Canneyt <michael at freepascal.org> wrote:
> >  
> >> Hello,
> >> 
> >> The compiler now can generate (as FPC itself does) a file with all
> >> the resource strings in your unit or program.  
> >
> > Great!
> >
> >   
> >> [...]
> >> See also:
> >> https://wiki.freepascal.org/pas2js#Resource_strings  
> >
> > The format does not look like fpc's rsj. Why has it the same
> > extension?  
> 
> Because it is a logical extension.

IMO the above wiki page should explain shortly why pas2js
is not using fpc's format and what tools translators can use.

 
> How else would you abbreviate "Resource String JSON"
> 
> We can of course make it JSON Resource String - .jrs - to avoid
> confusion.

+1

Mattias


More information about the Pas2js mailing list