More language strings rewritten
[mailer.git] / inc / modules / member / what-wernis.php
index 8e5465d241df9a741b9fc7dff5bd6acf433cbd09..057b5864dcfcb4bcc4e2fb1385650073d0a5bcee 100644 (file)
@@ -39,7 +39,7 @@ if (!defined('__SECURITY')) {
        // User is not logged in
        LOAD_URL("modules.php?module=index");
 } elseif ((!EXT_IS_ACTIVE("wernis")) && (!IS_ADMIN())) {
-       addFatalMessage(EXTENSION_PROBLEM_EXT_INACTIVE, "wernis");
+       addFatalMessage(getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), "wernis");
        return;
 }
 
@@ -49,7 +49,7 @@ ADD_DESCR("member", __FILE__);
 // Check if the admin has entered the data
 if ((getConfig('wernis_api_id') == "") || (getConfig('wernis_api_md5') == "")) {
        // Something important is missing...
-       LOAD_TEMPLATE("admin_settings_saved", false, WERNIS_MEMBER_API_DATA_MISSING);
+       LOAD_TEMPLATE("admin_settings_saved", false, getMessage('WERNIS_MEMBER_API_DATA_MISSING'));
        return;
 } // END - if