mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
- ylanguage.cpp: detect missing translations; THX to GetAway!
This commit is contained in:
@@ -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;
|
||||
}
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user