Author:   Lars Michelsen <[email protected]>
Date:     Sun Apr 17 19:48:01 2011 +0200
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Sun Apr 17 19:48:05 2011 +0200

Fixed host name language string for service objects

---

 share/server/core/classes/objects/NagVisObject.php |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/share/server/core/classes/objects/NagVisObject.php 
b/share/server/core/classes/objects/NagVisObject.php
index 07b5dce..8630bc4 100644
--- a/share/server/core/classes/objects/NagVisObject.php
+++ b/share/server/core/classes/objects/NagVisObject.php
@@ -277,6 +277,8 @@ class NagVisObject {
                                                NagVisService::$langType  = 
$this->CORE->getLang()->getText('service');
                                                NagVisService::$langSelf  = 
$this->CORE->getLang()->getText('servicename');
                                        }
+                                       if(NagVisHost::$langType === null)
+                                               NagVisHost::$langSelf = 
$this->CORE->getLang()->getText('hostname');
                                        
                                        $arr['lang_obj_type']    = 
NagVisService::$langType;
                                        $arr['lang_name']        = 
NagVisHost::$langSelf;


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to