summaryrefslogtreecommitdiff
path: root/lib/apiauth.php
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2010-04-10 22:50:15 +0200
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2010-04-10 22:50:15 +0200
commit9b788471d4d5141bf4991367f1f46f2a4e35da36 (patch)
tree7e08bbc99f9fda76a96fa94ea48ea3854ffec614 /lib/apiauth.php
parent204cf0b96b677e907b259430a1628c35af682ebb (diff)
Add translator documentation.
Diffstat (limited to 'lib/apiauth.php')
-rw-r--r--lib/apiauth.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/apiauth.php b/lib/apiauth.php
index efadffc13..d6ad7e021 100644
--- a/lib/apiauth.php
+++ b/lib/apiauth.php
@@ -91,6 +91,7 @@ class ApiAuthAction extends ApiAction
if ($this->isReadOnly($args) == false) {
if ($this->access != self::READ_WRITE) {
+ // TRANS: Client error 401.
$msg = _('API resource requires read-write access, ' .
'but you only have read access.');
$this->clientError($msg, 401, $this->format);