YTransText(const std::string &orig, const std::string &translation)
Constructor with both original and translated message.
const std::string & trans() const
Return the translation.
bool operator>(const YTransText &other) const
operator> : Compares translations.
bool operator<(const YTransText &other) const
operator< : Compares translations.
const std::string & translation() const
Return the translation.
YTransText(const std::string &orig)
Constructor that automatically translates the original message.
YTransText(const YTransText &src)
Copy constructor.
void setTranslation(const std::string &newTrans)
Set the translation.
void setOrig(const std::string &newOrig)
Set the original message.
const std::string & orig() const
Return the original message.
YTransText & operator=(const YTransText &src)
Assignment operator.
Helper class for translated strings: Stores a message in the original (untranslated) version along wi...
bool operator==(const YTransText &other) const
operator== : Compares translations.