Closed (fixed)
Project:
CCK Gallery
Version:
6.x-1.1
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
11 Sep 2009 at 07:28 UTC
Updated:
28 Jan 2010 at 15:40 UTC
Hi! I just have translated your module to hungarian (on the approval phase).
I just found a tons of strings can not be traslateable: the content names, view descriptions, etc.
for example, in the install file:
$this_form['values']['macro'] = "\$content[type] = array (
'name' => 'CCK Gallery',
'type' => 'cck_gallery',
'description' => 'A gallery created by a user and containing uploaded CCK Images.',
'title_label' => 'Title',
'body_label' => 'Description',
I thought about the name, description, title_label, body_label maybe.
I am new guy in the drupal, I am not know the API yet, so I can not able to send a patch, sorry.
Comments
Comment #1
greg.harveyApologies. Will fix. Setting to bug report, because IMHO strings that cannot be translated are a bug. The background (for your understanding) is the
t()function is not available normally to.installfiles. There is a workaround to include it, but I got lazy. =PAre there any strings other than those in the
.installfile?Also, since you have experience of translating the UI and I actually do not, could you post your strings and tell me how I can include them with this module?
Thanks for working on it! =)
Comment #2
greg.harveyFixed. Pulled these things out to variables and run them through the
st()function. Committed to CVS.