const
fluxgen fluxgen
2 files changed,
4 insertions(+),
4 deletions(-)
M
src/I18n.cc
→
src/I18n.cc
@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: I18n.cc,v 1.3 2003/08/26 23:53:49 fluxgen Exp $ +// $Id: I18n.cc,v 1.4 2003/12/08 17:29:24 fluxgen Exp $ //usr GNU extensions #ifndef _GNU_SOURCE@@ -125,7 +125,7 @@ }
const char *I18n::getMessage(int set_number, int message_number, - const char *default_message) { + const char *default_message) const { #if defined(NLS) && defined(HAVE_CATGETS) if (m_catalog_fd != (nl_catd)-1)
M
src/I18n.hh
→
src/I18n.hh
@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: I18n.hh,v 1.1 2003/06/12 14:24:25 fluxgen Exp $ +// $Id: I18n.hh,v 1.2 2003/12/08 17:29:24 fluxgen Exp $ #ifndef I18N_HH #define I18N_HH@@ -54,7 +54,7 @@ inline bool multibyte() const { return m_multibyte; }
inline const nl_catd &getCatalogFd() const { return m_catalog_fd; } const char *getMessage(int set_number, int message_number, - const char *default_messsage = 0); + const char *default_messsage = 0) const; void openCatalog(const char *catalog); private: I18n();