Hi,
I have a question about how oo2po extracts PO and POT files. 

Pavel's POT files contain messages of the format :

msgid ""
"_: wizard.src#TP_MIGRATION.CB_MIGRATION.checkbox.text\n"
"Transfer personal data"
msgstr ""

#:abspilot.src#RID_PAGE_FIELDMAPPING.PB_INVOKE_FIELDS_DIALOG.pushbutton.text
msgid ""
"_:
abspilot.src#RID_PAGE_FIELDMAPPING.PB_INVOKE_FIELDS_DIALOG.pushbutton."
"text\n"
"Field Assignment"
msgstr ""

Where the comment becomes part of the msgid string. Presumably this is
required for some reason to do with backconverting to SDF and putting
the translation back to the appropriate place in the SDF. Can anyone
confirm this?

My problem is :
If I do an export of an SDF from our database and do oo2po on it using
the command : 

oo2po -i something.sdf -o ./po-files -l <lang>

I get :

#:
abspilot.src#RID_PAGE_FIELDMAPPING.PB_INVOKE_FIELDS_DIALOG.pushbutton.text
#: abspilot.src#RID_PAGE_FIELDMAPPING.tabpage.text
#:
abspilot.src#RID_DLG_ADDRESSBOOKSOURCEPILOT.STR_MANUAL_FIELD_MAPPING.string.text
msgid "Field Assignment"
msgstr "Assegnazione campo"

The comment is NOT part of the msgid. This means that when I do a
pomigrate2 to merge the database generated PO files to the PO files
which use the POTs as a template, the msgid's are not matched and the
database contents are not leveraged.

So I guess my question is : How do I adjust the SDF files that I have
taken from the database so that they generate PO files which include the
comment in the msgid? If I can do this then I can get leverage.

Thanks in advance!

Regards,
Damien

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to