]> git.mxchange.org Git - friendica.git/commitdiff
String correction
authorAdam Magness <adam.magness@gmail.com>
Wed, 24 Jan 2018 03:43:22 +0000 (22:43 -0500)
committerAdam Magness <adam.magness@gmail.com>
Wed, 24 Jan 2018 03:43:22 +0000 (22:43 -0500)
monthly is monthly

include/api.php

index 722c93c87c7214ccd775dc5c45084dd7416345db..fa4e7f77582e6b0843fe76aca07f45c3a0bc9fa3 100644 (file)
@@ -1226,7 +1226,7 @@ function api_statuses_update($type)
                        if ($posts_month > $throttle_month) {
                                logger('Monthly posting limit reached for user '.api_user(), LOGGER_DEBUG);
                                // die(api_error($type, L10n::t("Monthly posting limit of %d posts reached. The post was rejected.", $throttle_month));
-                               throw new TooManyRequestsException(L10n::t("Weekly posting limit of %d post reached. The post was rejected.", "Monthly posting limit of %d posts reached. The post was rejected.", $throttle_month));
+                               throw new TooManyRequestsException(L10n::t("Monthly posting limit of %d post reached. The post was rejected.", "Monthly posting limit of %d posts reached. The post was rejected.", $throttle_month));
                        }
                }