Package: po4a
Version: 0.37.1-1

Here is an attempt at using splitted mode:

| [po4a_langs] fr
| [po4a_paths] l10n/$master/$master.pot $lang:l10n/$master/$lang.po
| 
| [type: xml] com.isidor.apps.games.gui/res/games/gui.xml $lang:/dev/null
| [type: xml] com.isidor.apps.mail.gui/res/mail/gui.xml $lang:/dev/null

It does not work as advertised because $master expands to "gui.xml" in
both cases.

(if you wonder, /dev/null is used because we just want the .po files, not
a translated xml, but that should not matter here)

Suggestions:
* expand to fullpath, with substitution for "/" chars
* expand to fullpath, with subdirs when there are "/" chars (?)
* allow setting value for $master explicitely (here the java package name
would make sense)

Maybe some option like the following would do ?

master=basename      # current behaviour, possibly the default
master=slashsubst:_  # substitute with "_"
master=fullname:pathspecial=_ # would allow substitutions on other things,
would keep provision for other platforms where eg ":" and "\" are special
master=set:com.isidor.apps.games.gui  # explicitely set





--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to