Fix nymea translations
This commit is contained in:
parent
57c02f1e4d
commit
bcf089e58d
@ -436,7 +436,7 @@ ServerManager *NymeaCore::serverManager() const
|
|||||||
/*! Returns the list of available system languages. */
|
/*! Returns the list of available system languages. */
|
||||||
QStringList NymeaCore::getAvailableLanguages()
|
QStringList NymeaCore::getAvailableLanguages()
|
||||||
{
|
{
|
||||||
// TODO: parse available translation files
|
// FIXME: load available translations
|
||||||
return QStringList() << "en_US" << "de_DE";
|
return QStringList() << "en_US" << "de_DE";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -50,6 +50,7 @@ message("REST API version $${REST_API_VERSION}")
|
|||||||
message("Plugin path $${NYMEA_PLUGINS_PATH}")
|
message("Plugin path $${NYMEA_PLUGINS_PATH}")
|
||||||
message("Source directory: $${top_srcdir}")
|
message("Source directory: $${top_srcdir}")
|
||||||
message("Build directory: $${top_builddir}")
|
message("Build directory: $${top_builddir}")
|
||||||
|
message("Translations: $${TRANSLATIONS}")
|
||||||
|
|
||||||
# Check debug mode
|
# Check debug mode
|
||||||
CONFIG(debug, debug|release) {
|
CONFIG(debug, debug|release) {
|
||||||
|
|||||||
Reference in New Issue
Block a user