Changeset View
Changeset View
Standalone View
Standalone View
step/data/Messages.sh
1 | #! /bin/sh | 1 | #! /bin/sh | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | EXTRACTXML="./extractxml" | 3 | EXTRACTXML="./extractxml" | ||
4 | 4 | | |||
5 | $EXTRACTXML --extract \ | 5 | $EXTRACTXML --extract \ | ||
6 | --context='%(filename)s:%(tag)s' --tag-regex='^(?:title|body|p|h[1-6])$' --recursive --strip \ | 6 | --context='%(filename)s:%(tag)s' --tag-regex='^(?:title|body|p|h[1-6])$' --recursive --strip \ | ||
7 | ./objectinfo/*.html --output=objinfo.cpp | 7 | ./objectinfo/*.html --output=objinfo.cpp | ||
8 | $EXTRACTXML --extract \ | 8 | $EXTRACTXML --extract \ | ||
9 | --context='%(tag)s' --tag=name --tag=text --unquote \ | 9 | --context='%(tag)s' --tag=name --tag=text --unquote \ | ||
10 | --parse-unquoted='--context=HTML:%(tag)s --tag-regex=^(?:title|body|p|h[1-6])$ --recursive --strip' \ | 10 | --parse-unquoted='--context=HTML:%(tag)s --tag-regex=^(?:title|body|p|h[1-6])$ --recursive --strip' \ | ||
11 | ./examples/*.step ./tutorials/*.step --output=examples.cpp | 11 | ./examples/*.step ./tutorials/*.step --output=examples.cpp | ||
12 | 12 | | |||
13 | # Temporary commented-out | 13 | $XGETTEXT objinfo.cpp -o $podir/step_objinfo_files.pot | ||
14 | #$XGETTEXT objinfo.cpp -o $podir/step_objinfo_files.pot | 14 | $XGETTEXT examples.cpp -o $podir/step_example_files.pot | ||
15 | #$XGETTEXT examples.cpp -o $podir/step_example_files.pot | | |||
16 | 15 | | |||
17 | rm -f objinfo.cpp | 16 | rm -f objinfo.cpp | ||
18 | rm -f examples.cpp | 17 | rm -f examples.cpp | ||
19 | 18 | |