aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--src/FbTk/I18n.cc4
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 @@
1 (Format: Year/Month/Day) 1 (Format: Year/Month/Day)
2Changes for 1.0rc2: 2Changes 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)