X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FSubscriptionThrottle%2FSubscriptionThrottlePlugin.php;h=e898ce9ae0a376d592c8e5ae4d3a369d4b16d535;hb=f5aba994b2ca6dbe9d4dfd83d615d7bc3dcf2982;hp=114113360e96835bd83576dbd4d9ea82125376b8;hpb=b5cfcba4712809cb17eabba299ce5ff04f4d7d70;p=quix0rs-gnu-social.git diff --git a/plugins/SubscriptionThrottle/SubscriptionThrottlePlugin.php b/plugins/SubscriptionThrottle/SubscriptionThrottlePlugin.php index 114113360e..e898ce9ae0 100644 --- a/plugins/SubscriptionThrottle/SubscriptionThrottlePlugin.php +++ b/plugins/SubscriptionThrottle/SubscriptionThrottlePlugin.php @@ -71,7 +71,7 @@ class SubscriptionThrottlePlugin extends Plugin $subtime = strtotime($sub->created); $now = time(); if ($now - $subtime < $seconds) { - throw new Exception(_("Too many subscriptions. Take a break and try again later.")); + throw new Exception(_m("Too many subscriptions. Take a break and try again later.")); } } } @@ -97,7 +97,7 @@ class SubscriptionThrottlePlugin extends Plugin $jointime = strtotime($mem->created); $now = time(); if ($now - $jointime < $seconds) { - throw new Exception(_("Too many memberships. Take a break and try again later.")); + throw new Exception(_m("Too many memberships. Take a break and try again later.")); } } }