mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 19:05:46 -05:00
Python-i18n: allow None as a gettext path (searches default)
This commit is contained in:
parent
74be2fd098
commit
78b3c8ed32
2 changed files with 3 additions and 3 deletions
|
@ -240,12 +240,12 @@ gettext_languages()
|
|||
return pyList;
|
||||
}
|
||||
|
||||
std::string
|
||||
bp::object
|
||||
gettext_path()
|
||||
{
|
||||
// TODO: distinguish between -d runs and normal runs
|
||||
// TODO: can we detect DESTDIR-installs?
|
||||
return std::string();
|
||||
return bp::object(); // None
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ std::string check_target_env_output( const boost::python::list& args,
|
|||
|
||||
std::string obscure( const std::string& string );
|
||||
|
||||
std::string gettext_path();
|
||||
boost::python::object gettext_path();
|
||||
|
||||
boost::python::list gettext_languages();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue