Changeset 1495

Show
Ignore:
Timestamp:
07/09/12 16:39:56 (11 months ago)
Author:
vakopian
Message:

add _tr function to return the translation instead of printing

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • framework/branches/2.1/includes/qcubed/_core/qcubed.inc.php

    r1440 r1495  
    274274                } 
    275275 
     276                function _tr($strString) { 
     277                        return QApplication::Translate($strString); 
     278                } 
     279 
    276280                function _i($intNumber) { 
    277281                        // Not Yet Implemented