Re: Merged xml2po and migrated content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



julien (Montag, 22. Dezember 2008, 15:28):
> No problem to work on po and pot files with kate or KBabel : a lot of
> work in almost all files...
> Makefile.GNU must be renamed to Makefile before running "make
> xml-fr".

Try "make -f Makefile.GNU" ...

> My problem:
> I have some xml files in an "old" SVN copy that were ready for
> committing before the migration. For instance, I completely rebuilt
> the menus/file-open.xml file (en;fr).
> How to extract the english xml file in order to create the
> corresponding pot file (not with copy-paste of course)?

Work in a temporary directory where you can test anything, e.g.

	mkdir -v /tmp/gimp-help && cd  /tmp/gimp-help

Copy tools and stylesheets as well as your changed old-style 
sourcefile(s), e.g.:

	cp -ai /path/to/svn/files/{tools,stylesheets} .  # note the "."
	mkdir -vp src/menus
	cp /path/to/changed/xml/files/src/menus/file-open.xml src/menus/

Then try to invoke the migrating script:

	LINGUAS="fr" tools/migrate.sh

and ignore any complaints about missing glossary etc.

Then you should have a new directory "oldsrc" containing your edited xml 
files and new directories "src", "pot", "po" (and "xml").

Try
	find scr pot po -type f
and compare these files with the corresponding SVN files.

HTH,
Ulf


Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Gimp-docs mailing list
Gimp-docs@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs

[Index of Archives]     [Video For Linux]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [Scanners]     [GEGL]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux