]> git.lyx.org Git - lyx.git/blobdiff - src/gettext.h
Extend the navigate menu to child docs
[lyx.git] / src / gettext.h
index 75e64d05db0a5f2cd0baaf260e771c8829c76613..0783413b5eb6bd6a9ac8823201707180de15b480 100644 (file)
@@ -1,6 +1,22 @@
 // -*- C++ -*-
-#ifndef _GETTEXT_H_
-#define _GETTEXT_H_
+/**
+ * \file src/gettext.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Lars Gullik Bjønnes
+ * \author Jean-Marc Lasgouttes
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
+#ifndef GETTEXT_H
+#define GETTEXT_H
+
+#include "support/docstring.h"
+
+
+namespace lyx {
 
 /*
  * Native Language Support
  *   Panic/fatal (that should not happen) messages need not be translated
  */
 
-#include "LString.h"
 
 //#ifdef ENABLE_NLS
 
 ///
-char const * _(char const *);
-///
-string const _(string const &);
+docstring const _(std::string const &);
 
 //#else // ENABLE_NLS
 
@@ -50,7 +63,8 @@ string const _(string const &);
 
 ///
 void locale_init();
-///
-void gettext_init(string const & localedir);
+
+
+} // namespace lyx
 
 #endif