- /// returns the expanded string representation of the counter.
- docstring theCounter(docstring const & c) const;
- /// Replace in \c format all the LaTeX-like macros that depend on
- /// counters.
- docstring counterLabel(docstring const & format) const;
+ /** returns the expanded string representation of counter \c
+ * c. The \c lang code is used to translate the string.
+ */
+ docstring theCounter(docstring const & c,
+ std::string const & lang) const;
+ /** Replace in \c format all the LaTeX-like macros that depend
+ * on counters. The \c lang code is used to translate the
+ * string.
+ */
+ docstring counterLabel(docstring const & format,
+ std::string const & lang) const;