mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
When there is still no dictionary available, the menus / classes / attributes have a default label based on their raw names (replacing _ by a blank)
SVN:trunk[1948]
This commit is contained in:
@@ -296,7 +296,7 @@ abstract class MetaModel
|
||||
{
|
||||
self::_check_subclass($sClass);
|
||||
$sStringCode = 'Class:'.$sClass;
|
||||
return Dict::S($sStringCode, $sClass);
|
||||
return Dict::S($sStringCode, str_replace('_', ' ', $sClass));
|
||||
}
|
||||
final static public function GetName_Obsolete($sClass)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user