Re: Testing help files
- From: Milo Casagrande <miloc gnome org>
- To: Gnome i18n <gnome-i18n gnome org>
- Subject: Re: Testing help files
- Date: Tue, 2 Mar 2010 15:28:10 +0100
Hi Aleksander,
2010/3/2 Aleksander Łukasiewicz <aleksander lukasiewicz net>:
>
> Seems to work this way, but I would like to convert multiple files (there
> are over 40 .page files in the empathy help folder). Is there a way to do
> it?
When I need to test translations I use a small hand-made script that
for every .page file in C, it creates the corresponding translated
.page file.
Unfortunately I don't have the script here with me at the office, but
it goes in something like this:
for i in `ls PATH_TO_FILES` do
xml2po -p TRANSLATION_FILE.po PATH_TO_FILES/$i > PATH_TO_LOCALIZED_DIR/$i
done
(plus some tests to check if it's a file or not)
> Additionally, I cannot open the .page file with yelp. "yelp index.page"
> doesn't open the file. How can I open the .page files with yelp?
You don't have to provide Yelp with the file name, just do, if you are in
the C directory:
yelp ./
or:
yelp `pwd`/
I just have to provide Yelp with the path to the directory containing
the index.page.
(probably these instructions should be written down under the
DocumentationProject on l.g.o...)
Hope it might help.
Ciao.
--
Milo Casagrande <miloc gnome org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]