I had an issue generating the POT file

Simply replace line 72 :
$profile_fields[$obj->name] = t($obj->title);
By :
$profile_fields[$obj->name] = $obj->title;

The french port of the module is in attachment.
It is up to date with v 1.1.4.11 dated 06-06-23

CommentFileSizeAuthor
fr_37.po2.27 KBJérôme

Comments

Cainan’s picture

can you please explain to me why the t() is breaking your translation file?

also.. being a native english speaker.. i am not sure how POT files work.. should i include this file w/ the module?

Thanks,
Cainan

Jérôme’s picture

Just rename it as fr.po and put it beside the module or inside a /po sub-folder

POT file are generated automaticaly by the extractor.php script.
More information and latest version can be fount here : http://drupal.org/drupal-pot

As far as I understand t() are used by Drupal internal system to identify multilingual strings.
The refered t() call do not "break" the translation but it generate a warning when the extractor.php script parse your module.

I'm not an english native speaker, I hope my explanation make sense...

Jérôme’s picture

Any plan on fixing this minor issue and including the POT file ?

It was generated for previous version but still fully aply on this release ;)

Cainan’s picture

Yes :)
I expect to push a new version of this in a week or two once i have finished testing it for Drupal 5.0

deekayen’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.