summaryrefslogtreecommitdiffstats
path: root/src/sp-switch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-switch.cpp')
-rw-r--r--src/sp-switch.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/sp-switch.cpp b/src/sp-switch.cpp
index cc50a8fef..c6dcf17e3 100644
--- a/src/sp-switch.cpp
+++ b/src/sp-switch.cpp
@@ -71,12 +71,14 @@ GSList *SPSwitch::_childList(bool add_ref, SPObject::Action action) {
return g_slist_prepend (NULL, child);
}
+const char *SPSwitch::display_name() {
+ return _("Conditional Group");
+}
+
gchar *SPSwitch::description() {
gint len = this->getItemCount();
return g_strdup_printf(
- ngettext("<b>Conditional group</b> of <b>%d</b> object",
- "<b>Conditional group</b> of <b>%d</b> objects",
- len), len);
+ ngettext(_("of <b>%d</b> object"), _("of <b>%d</b> objects"), len), len);
}
void SPSwitch::child_added(Inkscape::XML::Node* child, Inkscape::XML::Node* ref) {