summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKees Cook <kees@outflux.net>2006-05-18 02:02:22 +0000
committerkeescook <keescook@users.sourceforge.net>2006-05-18 02:02:22 +0000
commit29178f6c73a66ae4fbcb98f7423857b2cf44d201 (patch)
treee767cbcefa28d1c648ab5cf798496321a798486b /src
parent* Fix desychronization between text toolbox and dialog (diff)
downloadinkscape-29178f6c73a66ae4fbcb98f7423857b2cf44d201.tar.gz
inkscape-29178f6c73a66ae4fbcb98f7423857b2cf44d201.zip
Fixed localization for metadata license selector.
(bzr r870)
Diffstat (limited to 'src')
-rw-r--r--src/dialogs/rdf.cpp20
-rw-r--r--src/ui/widget/licensor.cpp2
2 files changed, 11 insertions, 11 deletions
diff --git a/src/dialogs/rdf.cpp b/src/dialogs/rdf.cpp
index df89ee648..a0bb04ad1 100644
--- a/src/dialogs/rdf.cpp
+++ b/src/dialogs/rdf.cpp
@@ -175,52 +175,52 @@ struct rdf_double_t rdf_license_freeart [] = {
};
struct rdf_license_t rdf_licenses [] = {
- { _("CC Attribution"),
+ { N_("CC Attribution"),
"http://creativecommons.org/licenses/by/2.5/",
rdf_license_cc_a,
},
- { _("CC Attribution-ShareAlike"),
+ { N_("CC Attribution-ShareAlike"),
"http://creativecommons.org/licenses/by-sa/2.5/",
rdf_license_cc_a_sa,
},
- { _("CC Attribution-NoDerivs"),
+ { N_("CC Attribution-NoDerivs"),
"http://creativecommons.org/licenses/by-nd/2.5/",
rdf_license_cc_a_nd,
},
- { _("CC Attribution-NonCommercial"),
+ { N_("CC Attribution-NonCommercial"),
"http://creativecommons.org/licenses/by-nc/2.5/",
rdf_license_cc_a_nc,
},
- { _("CC Attribution-NonCommercial-ShareAlike"),
+ { N_("CC Attribution-NonCommercial-ShareAlike"),
"http://creativecommons.org/licenses/by-nc-sa/2.5/",
rdf_license_cc_a_nc_sa,
},
- { _("CC Attribution-NonCommercial-NoDerivs"),
+ { N_("CC Attribution-NonCommercial-NoDerivs"),
"http://creativecommons.org/licenses/by-nc-nd/2.5/",
rdf_license_cc_a_nc_nd,
},
- { _("GNU General Public License"),
+ { N_("GNU General Public License"),
"http://creativecommons.org/licenses/GPL/2.0/",
rdf_license_gpl,
},
- { _("GNU Lesser General Public License"),
+ { N_("GNU Lesser General Public License"),
"http://creativecommons.org/licenses/LGPL/2.1/",
rdf_license_gpl,
},
- { _("Public Domain"),
+ { N_("Public Domain"),
"http://web.resource.org/cc/PublicDomain",
rdf_license_pd,
},
- { _("FreeArt"),
+ { N_("FreeArt"),
"http://artlibre.org/licence.php/lalgb.html",
rdf_license_freeart,
},
diff --git a/src/ui/widget/licensor.cpp b/src/ui/widget/licensor.cpp
index 9a5713220..df00e358a 100644
--- a/src/ui/widget/licensor.cpp
+++ b/src/ui/widget/licensor.cpp
@@ -45,7 +45,7 @@ protected:
};
LicenseItem::LicenseItem (struct rdf_license_t const* license, EntityEntry* entity, Registry &wr)
-: Gtk::RadioButton(license->name), _lic(license), _eep(entity), _wr(wr)
+: Gtk::RadioButton(gettext(license->name)), _lic(license), _eep(entity), _wr(wr)
{
static Gtk::RadioButtonGroup group = get_group();
static bool first = true;