Make "inline" and "No Image Selected" strings translatable. Pointed by Yu Chen (jcome)
authorCarlos Lopez <genetita@gmail.com>
Sat, 11 Sep 2010 15:38:43 +0000 (17:38 +0200)
committerCarlos Lopez <genetita@gmail.com>
Sat, 11 Sep 2010 15:38:43 +0000 (17:38 +0200)
synfig-core/src/synfig/canvas.cpp
synfig-studio/src/gui/cellrenderer/cellrenderer_value.cpp

index eeecdb0..417a1b5 100644 (file)
@@ -774,7 +774,7 @@ Canvas::clone(const GUID& deriv_guid)const
 {
        synfig::String name;
        if(is_inline())
-               name="inline";
+               name=_("in line");
        else
        {
                name=get_id()+"_CLONE";
@@ -839,7 +839,7 @@ Canvas::set_inline(LooseHandle parent)
 
        }
 
-       id_="inline";
+       id_=_("in line");
        is_inline_=true;
        parent_=parent;
 
@@ -862,7 +862,7 @@ Canvas::create_inline(Handle parent)
        //if(parent->is_inline())
        //      return create_inline(parent->parent());
 
-       Handle canvas(new Canvas("inline"));
+       Handle canvas(new Canvas(_("in line")));
        canvas->set_inline(parent);
        return canvas;
 }
index b18f076..553a517 100644 (file)
@@ -413,7 +413,7 @@ CellRenderer_ValueBase::render_vfunc(
                                property_text()=(Glib::ustring)data.get(etl::handle<synfig::Canvas>())->get_id();
                }
                else
-                       property_text()="<No Image Selected>";
+                       property_text()=_("<No Image Selected>");
                break;
        case ValueBase::TYPE_COLOR:
                {