make new nls stuff work. Was missing path update

This commit is contained in:
simonb 2006-06-21 06:04:55 +00:00
parent 94db19c007
commit 62a298b0b3
2 changed files with 8 additions and 4 deletions

View file

@ -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

View file

@ -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)