mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
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:
@@ -103,6 +103,8 @@ std::string CLanguage::getTranslation(std::string id){
|
|||||||
trans=NeutrinoLanguage->getString(id,"");
|
trans=NeutrinoLanguage->getString(id,"");
|
||||||
if(trans.empty())
|
if(trans.empty())
|
||||||
trans=DefaultLanguage->getString(id,"");
|
trans=DefaultLanguage->getString(id,"");
|
||||||
|
if (trans.empty())
|
||||||
|
trans = "# " + id + " #";
|
||||||
return trans;
|
return trans;
|
||||||
}
|
}
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user