projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Break the ValueNode 'bad type' error messages up so less translation needs doing.
[synfig.git]
/
synfig-core
/
trunk
/
src
/
synfig
/
value.h
diff --git
a/synfig-core/trunk/src/synfig/value.h
b/synfig-core/trunk/src/synfig/value.h
index
db2cbf3
..
0195db5
100644
(file)
--- a/
synfig-core/trunk/src/synfig/value.h
+++ b/
synfig-core/trunk/src/synfig/value.h
@@
-260,6
+260,7
@@
public:
void set(const float &x) { _set(Real(x)); }
void set(const list_type &x);
void set(const char* x);
void set(const float &x) { _set(Real(x)); }
void set(const list_type &x);
void set(const char* x);
+ void set(char* x);
void set(Canvas*x);
void set(etl::loose_handle<Canvas> x);
void set(etl::handle<Canvas> x);
void set(Canvas*x);
void set(etl::loose_handle<Canvas> x);
void set(etl::handle<Canvas> x);
@@
-279,6
+280,9
@@
public:
//! Returns a string containing the name of the given Type
static String type_name(Type id);
//! Returns a string containing the name of the given Type
static String type_name(Type id);
+ //! Returns a string containing the translated name of the given Type
+ static String type_local_name(Type id);
+
//! Returns a the corresponding Type of the described type
static Type ident_type(const String &str);
//! Returns a the corresponding Type of the described type
static Type ident_type(const String &str);