Skip to content

Commit

Permalink
Translation tweak. See: #870 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaswsinc committed Nov 21, 2016
1 parent 5daae30 commit 67af710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/includes/classes/translations.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public static function translation_mangler($translated = '', $original = '', $do
}
else if((isset ($s["is_wp_login_checkemail"]) && $s["is_wp_login_checkemail"]) || (!isset ($s["is_wp_login_checkemail"]) && ($s["is_wp_login_checkemail"] = (strpos($_SERVER["REQUEST_URI"], "/wp-login.php") !== FALSE && empty($_REQUEST["action"]) && !empty($_REQUEST["checkemail"]) && $_REQUEST["checkemail"] === "registered") ? TRUE : FALSE)))
{
if($original === "Registration complete. Please check your e-mail." && $GLOBALS["WS_PLUGIN__"]["s2member"]["o"]["custom_reg_password"])
if(($original === "Registration complete. Please check your email." || $original === "Registration complete. Please check your e-mail.") && $GLOBALS["WS_PLUGIN__"]["s2member"]["o"]["custom_reg_password"])
{
$translated = apply_filters("ws_plugin__s2member_translation_mangler", _x("Registration complete. Please log in.", "s2member-front", "s2member"), get_defined_vars());
}
Expand Down

0 comments on commit 67af710

Please sign in to comment.