Module: nagvis
Branch: master
Commit: d724d53aa380d4b30db028ba97e8db4ba580e26e
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=d724d53aa380d4b30db028ba97e8db4ba580e26e

Author: Lars Michelsen <[email protected]>
Date:   Tue Aug  3 01:18:32 2010 +0200

Fixed translation problems in new file checking methods

---

 share/server/core/classes/GlobalCore.php |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/share/server/core/classes/GlobalCore.php 
b/share/server/core/classes/GlobalCore.php
index fc76da8..855b12f 100644
--- a/share/server/core/classes/GlobalCore.php
+++ b/share/server/core/classes/GlobalCore.php
@@ -546,7 +546,7 @@ class GlobalCore {
                        return true;
 
                if($printErr)
-                       new GlobalMessage('ERROR', 
GlobalCore::getInstance()->getLang()->getText('The path "[PATH]" does not 
exist.', Array('PATH' => $path)));
+                       new GlobalMessage('ERROR', 
$this->getLang()->getText('The path "[PATH]" does not exist.', Array('PATH' => 
$path)));
 
                return false;
        }
@@ -556,7 +556,7 @@ class GlobalCore {
                        return true;
                
                if($printErr)
-                       new GlobalMessage('ERROR', 
$this->CORE->getLang()->getText('The path "[PATH]" is not readable.', 
Array('PATH' => $path)));
+                       new GlobalMessage('ERROR', 
$this->getLang()->getText('The path "[PATH]" is not readable.', Array('PATH' => 
$path)));
                
                return false;
        }
@@ -565,7 +565,7 @@ class GlobalCore {
                        return true;
                
                if($printErr)
-                       new GlobalMessage('ERROR', 
$this->CORE->getLang()->getText('The path "[PATH]" is not writeable.', 
Array('PATH' => $path)));
+                       new GlobalMessage('ERROR', 
$this->getLang()->getText('The path "[PATH]" is not writeable.', Array('PATH' 
=> $path)));
                
                return false;
        }


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to