Patch to support translations on messageshelper
-
Can you please update \affiliate-manager\trunk\source\MessageHelper.php with this patch to allow translations support on messages please ?
Index: source/MessageHelper.php
===================================================================
--- source/MessageHelper.php (revision 3240345)
+++ source/MessageHelper.php (working copy)
@@ -27,7 +27,7 @@
$msg = $msgRepo->loadBy(array('name' => $name));
if ($msg === NULL)
throw new Exception( sprintf( __( "Attempt to load invalid message of name '%s'", 'affiliates-manager' ), $name ) );
- return $msg->content;
+ return __($msg->content, 'affiliates-manager');
}
}
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.