From: Carlos Lopez Date: Sat, 11 Sep 2010 15:38:43 +0000 (+0200) Subject: Make "inline" and "No Image Selected" strings translatable. Pointed by Yu Chen (jcome) X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=d1041a413264492a5bba12ebfa7d0cbd67ce1cff;p=synfig.git Make "inline" and "No Image Selected" strings translatable. Pointed by Yu Chen (jcome) --- diff --git a/synfig-core/src/synfig/canvas.cpp b/synfig-core/src/synfig/canvas.cpp index eeecdb0..417a1b5 100644 --- a/synfig-core/src/synfig/canvas.cpp +++ b/synfig-core/src/synfig/canvas.cpp @@ -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; } diff --git a/synfig-studio/src/gui/cellrenderer/cellrenderer_value.cpp b/synfig-studio/src/gui/cellrenderer/cellrenderer_value.cpp index b18f076..553a517 100644 --- a/synfig-studio/src/gui/cellrenderer/cellrenderer_value.cpp +++ b/synfig-studio/src/gui/cellrenderer/cellrenderer_value.cpp @@ -413,7 +413,7 @@ CellRenderer_ValueBase::render_vfunc( property_text()=(Glib::ustring)data.get(etl::handle())->get_id(); } else - property_text()=""; + property_text()=_(""); break; case ValueBase::TYPE_COLOR: {