projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Initial Russian Tanslation of Synfig Studio. Thanks to Alexandre Prokoudine
[synfig.git]
/
synfig-studio
/
trunk
/
src
/
synfigapp
/
actions
/
layeractivate.cpp
diff --git
a/synfig-studio/trunk/src/synfigapp/actions/layeractivate.cpp
b/synfig-studio/trunk/src/synfigapp/actions/layeractivate.cpp
index
835fd69
..
c7fbc30
100644
(file)
--- a/
synfig-studio/trunk/src/synfigapp/actions/layeractivate.cpp
+++ b/
synfig-studio/trunk/src/synfigapp/actions/layeractivate.cpp
@@
-6,6
+6,7
@@
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+** Copyright (c) 2008 Chris Moore
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
@@
-68,13
+69,12
@@
Action::LayerActivate::get_local_name()const
{
if(!layer)
return _("Activate Layer");
{
if(!layer)
return _("Activate Layer");
- String name;
- if(layer->get_description().empty())
- name=layer->get_local_name();
- else
- name=layer->get_description();
- return (new_status?_("Activate "):_("Deactivate "))+name;
+ return strprintf("%s '%s'",
+ new_status
+ ? _("Activate Layer")
+ : _("Deactivate Layer"),
+ layer->get_non_empty_description().c_str());
}
Action::ParamVocab
}
Action::ParamVocab