mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
Fix linking problem when nls is disabled. Spotted by Dov and fix by Kornel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26036 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
bf21947af2
commit
309ce3bf0c
@ -23,10 +23,12 @@
|
||||
|
||||
using namespace std;
|
||||
|
||||
namespace {
|
||||
namespace lyx {
|
||||
|
||||
using lyx::docstring;
|
||||
using lyx::from_ascii;
|
||||
// Instanciate static member.
|
||||
string Messages::main_lang_;
|
||||
|
||||
namespace {
|
||||
|
||||
void cleanTranslation(docstring & trans)
|
||||
{
|
||||
@ -48,7 +50,8 @@ void cleanTranslation(docstring & trans)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
} // anonymous
|
||||
} // lyx
|
||||
|
||||
|
||||
#ifdef ENABLE_NLS
|
||||
@ -83,10 +86,6 @@ void Messages::setDefaultLanguage()
|
||||
}
|
||||
|
||||
|
||||
// Instanciate static member.
|
||||
string Messages::main_lang_;
|
||||
|
||||
|
||||
// This version use the traditional gettext.
|
||||
Messages::Messages(string const & l)
|
||||
: lang_(l), warned_(false)
|
||||
|
Loading…
Reference in New Issue
Block a user