Naming convention applied to language strings, new API function added:
[mailer.git] / inc / libs / wernis_functions.php
index df3a61d2e1332d79cc6db03b22193adcc3f89305..d22f14cc417c3b93a5b6eb9b40d2eb58827e77c9 100644 (file)
@@ -320,6 +320,8 @@ function WERNIS_EXECUTE_PAYOUT ($wdsId, $amount) {
 function translateWernisTransferStatus ($status) {
        // Default status
        $return = getMaskedMessage('WERNIS_STATUS_UNKNWOWN', $status);
+
+       // Which status?
        switch ($status) {
                case 'IN': // Withdraw
                        $return = '{--WERNIS_STATUS_WITHDRAW--}';
@@ -332,7 +334,7 @@ function translateWernisTransferStatus ($status) {
                case 'FAILED': // Payout
                        $return = '{--WERNIS_STATUS_FAILED--}';
                        break;
-       }
+       } // END - switch
 
        // Return the status
        return $return;