diff options
| author | Kees Cook <kees@outflux.net> | 2006-05-18 02:02:22 +0000 |
|---|---|---|
| committer | keescook <keescook@users.sourceforge.net> | 2006-05-18 02:02:22 +0000 |
| commit | 29178f6c73a66ae4fbcb98f7423857b2cf44d201 (patch) | |
| tree | e767cbcefa28d1c648ab5cf798496321a798486b | |
| parent | * Fix desychronization between text toolbox and dialog (diff) | |
| download | inkscape-29178f6c73a66ae4fbcb98f7423857b2cf44d201.tar.gz inkscape-29178f6c73a66ae4fbcb98f7423857b2cf44d201.zip | |
Fixed localization for metadata license selector.
(bzr r870)
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | configure.ac | 1 | ||||
| -rw-r--r-- | src/dialogs/rdf.cpp | 20 | ||||
| -rw-r--r-- | src/ui/widget/licensor.cpp | 2 |
4 files changed, 17 insertions, 11 deletions
@@ -1,3 +1,8 @@ +2006-05-17 Kees Cook <kees@outflux.net> + * src/dialogs/rdf.cpp: corrected localization on array, added comments. + * src/ui/widget/licensor.cpp: Localized the license name. + * configure.ac: added comment about why sigc++ was upgraded + 2006-05-17 Jon A. Cruz <jon@joncruz.org> * src/dialogs/layers-panel.cpp: Flipped top/bottom in layers UI to reflect visible stacking. diff --git a/configure.ac b/configure.ac index 5b7ad8ed4..9d5049774 100644 --- a/configure.ac +++ b/configure.ac @@ -494,6 +494,7 @@ dnl ****************************** dnl *** NOTE: when we move to gtk 2.6 or later, we can remove the dnl ********* the override for g_ascii_strtod below... +dnl sigc++-2.0 >= 2.0.11: using "visit_each" not available in 2.0.10 PKG_CHECK_MODULES(INKSCAPE, gdkmm-2.4 glibmm-2.4 gtkmm-2.4 gtk+-2.0 >= 2.4.0 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 sigc++-2.0 >= 2.0.11 $ink_spell_pkg gthread-2.0 >= 2.0) dnl Shouldn't we test for libpng and libz? 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; |
