diff options
author | simonb <simonb> | 2006-06-21 06:04:55 (GMT) |
---|---|---|
committer | simonb <simonb> | 2006-06-21 06:04:55 (GMT) |
commit | 62a298b0b30aa5b4990f462aece224e09e4fafe6 (patch) | |
tree | f4f565119e63197db998f420577971ceae74e1c3 | |
parent | 94db19c00720ef65f847ee6f02c12b9d11d5ee02 (diff) | |
download | fluxbox-62a298b0b30aa5b4990f462aece224e09e4fafe6.zip fluxbox-62a298b0b30aa5b4990f462aece224e09e4fafe6.tar.bz2 |
make new nls stuff work. Was missing path update
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | src/FbTk/I18n.cc | 4 |
2 files changed, 8 insertions, 4 deletions
@@ -1,5 +1,13 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 1.0rc2: | 2 | Changes for 1.0rc2: |
3 | *06/06/21: | ||
4 | * Fix nls file location. nls wouldn't have worked, why did no-one say? | ||
5 | (Simon) | ||
6 | - Need a couple more fixes too: | ||
7 | * Messages output on stdout/err need to be in local encoding | ||
8 | * Check for existence of catalog file, if not exist, try opening an | ||
9 | iconv for UTF-8, and loading that one instead. | ||
10 | FbTk/I18n.cc | ||
3 | *06/06/20: | 11 | *06/06/20: |
4 | * Fix window placement when apps remembers size but not location (Simon) | 12 | * Fix window placement when apps remembers size but not location (Simon) |
5 | Window.cc | 13 | 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)) { | |||
98 | string::size_type index = m_locale.find('@'); | 98 | string::size_type index = m_locale.find('@'); |
99 | if (index != string::npos) | 99 | if (index != string::npos) |
100 | m_locale.erase(index); //erase all characters starting at index | 100 | m_locale.erase(index); //erase all characters starting at index |
101 | // remove everything after . | ||
102 | index = m_locale.find('.'); | ||
103 | if (index != string::npos) | ||
104 | m_locale.erase(index); //erase all characters starting at index | ||
105 | // remove everything before = | 101 | // remove everything before = |
106 | index = m_locale.find('='); | 102 | index = m_locale.find('='); |
107 | if (index != string::npos) | 103 | if (index != string::npos) |