X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Ftinygettext%2Ftinygettext.hpp;h=fe0dff0b88282b282d5053cb514333de54e29a98;hb=fea3446f05e1e7673607b835c269d3e8d1929ab3;hp=d08790197ccc59914fa6527cd428464a9006e3fc;hpb=5b7f9214cb929399f1a855ef5807018a9447d510;p=supertux.git diff --git a/src/tinygettext/tinygettext.hpp b/src/tinygettext/tinygettext.hpp index d08790197..fe0dff0b8 100644 --- a/src/tinygettext/tinygettext.hpp +++ b/src/tinygettext/tinygettext.hpp @@ -1,7 +1,7 @@ // $Id$ -// -// TinyGetText - A small flexible gettext() replacement -// Copyright (C) 2004 Ingo Ruhnke +// +// SuperTux +// Copyright (C) 2006 Matthias Braun // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License @@ -12,10 +12,11 @@ // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. -// +// // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + #ifndef HEADER_TINYGETTEXT_H #define HEADER_TINYGETTEXT_H @@ -80,7 +81,7 @@ public: std::string translate(const std::string& msgid); /** Translate the string \a msgid. */ const char* translate(const char* msgid); - + /** Add a translation from \a msgid to \a msgstr to the dictionary, where \a msgid is the singular form of the message, msgid2 the plural form and msgstrs a table of translations. The right @@ -136,7 +137,7 @@ public: /** Add a directory to the search path for dictionaries */ void add_directory(const std::string& pathname); - + /** Return a set of the available languages in their country code */ std::set get_languages();