make new nls stuff work. Was missing path update
This commit is contained in:
parent
94db19c007
commit
62a298b0b3
2 changed files with 8 additions and 4 deletions
|
@ -1,5 +1,13 @@
|
||||||
(Format: Year/Month/Day)
|
(Format: Year/Month/Day)
|
||||||
Changes for 1.0rc2:
|
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:
|
*06/06/20:
|
||||||
* Fix window placement when apps remembers size but not location (Simon)
|
* Fix window placement when apps remembers size but not location (Simon)
|
||||||
Window.cc
|
Window.cc
|
||||||
|
|
|
@ -98,10 +98,6 @@ I18n::I18n():m_multibyte(false), m_catalog_fd((nl_catd)(-1)) {
|
||||||
string::size_type index = m_locale.find('@');
|
string::size_type index = m_locale.find('@');
|
||||||
if (index != string::npos)
|
if (index != string::npos)
|
||||||
m_locale.erase(index); //erase all characters starting at index
|
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 =
|
// remove everything before =
|
||||||
index = m_locale.find('=');
|
index = m_locale.find('=');
|
||||||
if (index != string::npos)
|
if (index != string::npos)
|
||||||
|
|
Loading…
Reference in a new issue