Fix nymea translations

pull/135/head
Simon Stürz 2018-03-15 14:41:20 +01:00 committed by Michael Zanetti
parent 57c02f1e4d
commit bcf089e58d
5 changed files with 2 additions and 1 deletions

View File

@ -436,7 +436,7 @@ ServerManager *NymeaCore::serverManager() const
/*! Returns the list of available system languages. */
QStringList NymeaCore::getAvailableLanguages()
{
// TODO: parse available translation files
// FIXME: load available translations
return QStringList() << "en_US" << "de_DE";
}

View File

@ -50,6 +50,7 @@ message("REST API version $${REST_API_VERSION}")
message("Plugin path $${NYMEA_PLUGINS_PATH}")
message("Source directory: $${top_srcdir}")
message("Build directory: $${top_builddir}")
message("Translations: $${TRANSLATIONS}")
# Check debug mode
CONFIG(debug, debug|release) {