]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/SubscriptionThrottle/SubscriptionThrottlePlugin.php
Merge branch '1.0.x' into testing
[quix0rs-gnu-social.git] / plugins / SubscriptionThrottle / SubscriptionThrottlePlugin.php
index 114113360e96835bd83576dbd4d9ea82125376b8..e898ce9ae0a376d592c8e5ae4d3a369d4b16d535 100644 (file)
@@ -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."));
                 }
             }
         }