From 62a298b0b30aa5b4990f462aece224e09e4fafe6 Mon Sep 17 00:00:00 2001 From: simonb <simonb> Date: Wed, 21 Jun 2006 06:04:55 +0000 Subject: make new nls stuff work. Was missing path update --- ChangeLog | 8 ++++++++ src/FbTk/I18n.cc | 4 ---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 46c2fe5..9b950c2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ (Format: Year/Month/Day) Changes for 1.0rc2: +*06/06/21: + * Fix nls file location. nls wouldn't have worked, why did no-one say? + (Simon) + - Need a couple more fixes too: + * Messages output on stdout/err need to be in local encoding + * Check for existence of catalog file, if not exist, try opening an + iconv for UTF-8, and loading that one instead. + FbTk/I18n.cc *06/06/20: * Fix window placement when apps remembers size but not location (Simon) Window.cc diff --git a/src/FbTk/I18n.cc b/src/FbTk/I18n.cc index 43af752..8d05204 100644 --- a/src/FbTk/I18n.cc +++ b/src/FbTk/I18n.cc @@ -98,10 +98,6 @@ I18n::I18n():m_multibyte(false), m_catalog_fd((nl_catd)(-1)) { string::size_type index = m_locale.find('@'); if (index != string::npos) m_locale.erase(index); //erase all characters starting at index - // remove everything after . - index = m_locale.find('.'); - if (index != string::npos) - m_locale.erase(index); //erase all characters starting at index // remove everything before = index = m_locale.find('='); if (index != string::npos) -- cgit v0.11.2