ylanguage.cpp: detect missing translations; THX to GetAway!

Origin commit data
------------------
Branch: ni/coolstream
Commit: 966e0125dd
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-04-04 (Sat, 04 Apr 2015)

Origin message was:
------------------
- ylanguage.cpp: detect missing translations; THX to GetAway!

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2015-04-04 12:49:40 +02:00
parent cdca44c0cc
commit 391bfb77b1

View File

@@ -103,6 +103,8 @@ std::string CLanguage::getTranslation(std::string id){
trans=NeutrinoLanguage->getString(id,"");
if(trans.empty())
trans=DefaultLanguage->getString(id,"");
if (trans.empty())
trans = "# " + id + " #";
return trans;
}
//-----------------------------------------------------------------------------