Closed (fixed)
Project:
Private nodes
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Sep 2007 at 15:19 UTC
Updated:
2 Dec 2007 at 17:31 UTC
Hi,
There seem to be some translation-strings that can not be translated by a pot-file.
If you extract and thus create a new pot-file, the string don't show up because they have variables.
Something like this:
$title = t('Show this '.$nodetypes[$type].' to');
Should be something like this:
$title = t('Show this @type to', array("@type"=>$nodetypes[$type]));
The module has some more of these strings, but the above is the most important one as it is shown to the users.
Could it be changed?
Thanks
Comments
Comment #1
Mantichora commentedThe same problem occurs in function private_nodes_edit_form_submit.
Comment #2
Mantichora commentedComment #3
ben_scott commentedHi -
Sorry about that - I've now fixed all of the translation strings.
Cheers, b3n
Comment #4
ben_scott commentedHi -
Sorry about that - I've now fixed all of the translation strings.
Cheers, b3n
Comment #5
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.