Skip to content

Commit

Permalink
Merge pull request #3 from SuperTux/name_localized
Browse files Browse the repository at this point in the history
WIP: Add name_localized to tinygettext
  • Loading branch information
tobbi committed Mar 3, 2016
2 parents 7d2ca01 + 925de6b commit ff3c57a
Show file tree
Hide file tree
Showing 2 changed files with 255 additions and 240 deletions.
3 changes: 3 additions & 0 deletions include/tinygettext/language.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ class TINYGETTEXT_API Language
/** Returns the human readable name of the Language */
std::string get_name() const;

/** Returns the human readable name of the language in the language itself */
std::string get_localized_name() const;

/** Returns the Language as string in the form of an environment
variable: {language}_{country}@{modifier} */
std::string str() const;
Expand Down

0 comments on commit ff3c57a

Please sign in to comment.