Calls to _weblink_view_item() cannot be extracted by extractor.php in order to be translated.

Eg. _weblink_view_item("Rating", $node->rating);

In my opinion, the call should be _weblink_view_item(t("Rating"), $node->rating);
and the translation should not occur inside the function.

Matteo

Comments

Bèr Kessels’s picture

WE are in the proces off completely rewriting weblinks. So unless you provide a patch, this item is a wontfix. Sorry.

matteo’s picture

At the moment, I extracted manually the strings and updated .po file manually.
No problem to write a patch, if it makes sense (if the new version will be ready soon, probably not).
Please let me know what to do...
Matteo

Bèr Kessels’s picture

in a nutshell the plans are as follows:
for 4.6 webslinks wont be re-released. Anyone wanting it for 4.6 will nbe encouraged to help in the new system.
The new system is getting its shape. As soon as we have something to show (days, maybe weeks, but not months) I will report that.
so, you can off course send in patches, but IMO its work for nothing. It would be much better if you wait a little and see what comes out of the new system. ;)

matteo’s picture

Ok, Ber,
thanks for the updates.
I'll follow your suggestions.....
Matteo