Python-i18n: allow None as a gettext path (searches default)
This commit is contained in:
parent
74be2fd098
commit
78b3c8ed32
@ -240,12 +240,12 @@ gettext_languages()
|
|||||||
return pyList;
|
return pyList;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string
|
bp::object
|
||||||
gettext_path()
|
gettext_path()
|
||||||
{
|
{
|
||||||
// TODO: distinguish between -d runs and normal runs
|
// TODO: distinguish between -d runs and normal runs
|
||||||
// TODO: can we detect DESTDIR-installs?
|
// 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 obscure( const std::string& string );
|
||||||
|
|
||||||
std::string gettext_path();
|
boost::python::object gettext_path();
|
||||||
|
|
||||||
boost::python::list gettext_languages();
|
boost::python::list gettext_languages();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user