On Wed, May 17, 2006 at 12:17:32PM +0200, [EMAIL PROTECTED] wrote:
> Selon [EMAIL PROTECTED]:
> 
> > > This is what I see in the source code:
> > >
> > > document-metadata.cpp:    _notebook.append_page(_page_metadata2,
> > > _("License"));
> > > document-metadata.cpp:    llabel->set_markup (_("<b>License</b>"));
> > >
> > > By chance are you noticing one instance of 'License' in the dialog
> > > translated, and another not?  In this case perhaps only one of the above
> > > versions is appearing in the .po files?
> > >
> 
> "License" (string labelling the tab) is correctly displayed (the translated
> string is displayed in the tab label).
> 
> >
> > Well, I noticed this problem with the license names such as ( FreeArt, GNU
> > GPL,
> > public domain, CC...)
> > Looks like the issue is in /src/dialogs/rdf.cpp
> > Taking a look at the svn from the web, it looks like  the strings are marked
> > as
> > 'translatable' in the "struct"s (beginning of the file) but not in the
> > codelines dedicated to display them.
> 
> And those codelines are in /src/ui/dialog/document-metadata.cpp
> right here
> 
> 199 :
> 200 :                         _page_metadata2.show();
> 201 :
> 202 :                         row = 0;
> 203 :                         Gtk::Label *llabel = manage (new Gtk::Label);
> 204 :                         llabel->set_markup (_("<b>License</b>"));
> 205 :                         llabel->set_alignment (0.0);
> 206 :                         _page_metadata2.table().attach (*llabel, 0,3, 
> row, row+1,
> Gtk::FILL, (Gtk::AttachOptions)0,0,0);
> 207 :                         /* add license selector pull-down and URI */
> 208 :                         ++row;
> 209 :                         _licensor.init (_tt, _wr);
> 210 :                         Gtk::HBox *space = manage (new Gtk::HBox);
> 211 :                         space->set_size_request (SPACE_SIZE_X, 
> SPACE_SIZE_Y);
> 212 :                         _page_metadata2.table().attach (*space, 0,1, 
> row, row+1, Gtk::FILL,
> (Gtk::AttachOptions)0,0,0);
> 213 :                         _page_metadata2.table().attach (_licensor, 1,3, 
> row, row+1,
> Gtk::EXPAND|Gtk::FILL, (Gtk::AttachOptions)0,0,0);
> 214 :                         }


Actually, if I understand the issue correctly, the relevant code is a
bit higher up:

188:    for (entity = rdf_work_entities; entity && entity->name; entity++, 
row++) {
189:        if ( entity->editable == RDF_EDIT_GENERIC ) {
190:            EntityEntry *w = EntityEntry::create (entity, _tt, _wr);
191:            _rdflist.push_back (w);
192:            Gtk::HBox *space = manage (new Gtk::HBox);
193:            space->set_size_request (SPACE_SIZE_X, SPACE_SIZE_Y);
194:            _page_metadata1.table().attach (*space, 0,1, row, row+1, 
Gtk::FILL, (Gtk::AttachOptions)0,0,0);
195:            _page_metadata1.table().attach (w->_label, 1,2, row, row+1, 
Gtk::FILL, (Gtk::AttachOptions)0,0,0);
196:            _page_metadata1.table().attach (*w->_packable, 2,3, row, row+1, 
Gtk::FILL|Gtk::EXPAND, (Gtk::AttachOptions)0,0,0);
197:        }
198:    }

Try replacing line 195 with this one:

195:            _page_metadata1.table().attach (_(w->_label), 1,2, row, row+1, 
Gtk::FILL, (Gtk::AttachOptions)0,0,0);

Bryce


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Inkscape-translator mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/inkscape-translator

Reply via email to