Code

Correct my translation call. I shouldn't call gettext directly.
authorkeescook <keescook@users.sourceforge.net>
Thu, 25 May 2006 20:40:42 +0000 (20:40 +0000)
committerkeescook <keescook@users.sourceforge.net>
Thu, 25 May 2006 20:40:42 +0000 (20:40 +0000)
src/ui/widget/licensor.cpp

index df00e358a770225fa9f2f7a37034141a8ca231db..72c4663e422d237a85cbe0039242db72bc5aba15 100644 (file)
@@ -45,7 +45,7 @@ protected:
 };
 
 LicenseItem::LicenseItem (struct rdf_license_t const* license, EntityEntry* entity, Registry &wr)
-: Gtk::RadioButton(gettext(license->name)), _lic(license), _eep(entity), _wr(wr)
+: Gtk::RadioButton(_(license->name)), _lic(license), _eep(entity), _wr(wr)
 {
     static Gtk::RadioButtonGroup group = get_group();
     static bool first = true;