diff options
author | Reuben Thomas <rrt@sc3d.org> | 2008-04-06 21:33:45 +0000 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2008-04-06 21:33:45 +0000 |
commit | 0bc0e6b7ec2867aa7bc686aecf2a1023f2acd901 (patch) | |
tree | 4f0d9ee18328d5447e0334f7a9c497a75e0009f8 /lib | |
parent | eea15196e546f9bf4acf51d0c45168bf42fd8a49 (diff) | |
download | plptools-0bc0e6b7ec2867aa7bc686aecf2a1023f2acd901.tar.gz plptools-0bc0e6b7ec2867aa7bc686aecf2a1023f2acd901.tar.bz2 plptools-0bc0e6b7ec2867aa7bc686aecf2a1023f2acd901.zip |
Remove bogus translation attempt and leave a FIXME
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Enum.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -135,6 +135,8 @@ protected: * be tedious for large enumerations. To make the Definition easier * and more readable, an ENUM_DEFINITION() macro is provided. * + * FIXME: At the moment enumeration strings don't get translated by gettext + * * @see #ENUM_DEFINITION * @author Henner Zeller */ @@ -259,7 +261,6 @@ public: * XXX: throw OutOfRangeException ? */ static E getValueFor(const std::string &s) { -// return (E) staticData.stringRep.lookup(s.getCStr()); return (E) staticData.stringRep.lookup(s.c_str()); } }; @@ -320,7 +321,7 @@ template <> Enum<EnumName>::sdata::sdata() : \ */ template <typename E> inline std::ostream& operator << (std::ostream& out, const Enum<E> &e) { - return out << _(e.toString().c_str()); + return out << e.toString().c_str(); } #endif /* _ENUM_H_ */ |