Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
loctool, ilib-po: Add support to the loctool for saving intermediate …
…files in po format (#31) * Add utility functions to convert between common and loctool resources * Added ResourceArray support to ilib-po * Add support in the generator for proper keys where the key is different than the source string * Add an intermediate file to save resources as po or xliff - includes a factory method to create a new intermediate file - in the po file format generator, if the comments don't have the path, use the resource path to create the colon comment - added @jest/types so that the IDE stops complaining * Add the ability to glean the target locale from the file contents - it is usually noted in the header. If it is not there, default to English * Add the ability to write out intermediate files as po or xliff * Added support for datatypes - each resource can have its own datatype represented as a #d comment - each file can have a default datatype given in the "Data-Type:" header * Add support for project names - each resource can have its own project name represented as a #p comment - each file can have a default project name given in the "Project:" header * Add ability to write to po or xliff intermediate files - based on the intermediateFormat settings - pass the data type and project to the generator - all unit tests pass
- Loading branch information