45 : _orig( orig ), _translation( translation ) {}
52 _translation = gettext( _orig.c_str() );
78 const std::string &
orig()
const {
return _orig; }
83 const std::string &
translation()
const {
return _translation; }
89 const std::string &
trans()
const {
return _translation; }
95 void setOrig(
const std::string & newOrig ) { _orig = newOrig; }
124 std::string _translation;
130 #endif // YTransText_h