summaryrefslogtreecommitdiff
path: root/classes/Remote_profile.php
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2010-07-29 13:36:08 +0200
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2010-07-29 13:36:08 +0200
commit125ff142e871d4cde780335d6a4f16d5f59bca83 (patch)
treead87988ca37c8cb22d48205aaa7e2de4b1ad47c3 /classes/Remote_profile.php
parent312c6b68654a6bc5239526c61f23636833e5b502 (diff)
* mark a few message for translation
* add translator documentation
Diffstat (limited to 'classes/Remote_profile.php')
-rw-r--r--classes/Remote_profile.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/Remote_profile.php b/classes/Remote_profile.php
index 0a1676a6a..77bfbcd99 100644
--- a/classes/Remote_profile.php
+++ b/classes/Remote_profile.php
@@ -50,7 +50,8 @@ class Remote_profile extends Memcached_DataObject
if ($profile) {
return $profile->hasright($right);
} else {
- throw new Exception("Missing profile");
+ // TRANS: Exception thrown when a right for a non-existing user profile is checked.
+ throw new Exception(_("Missing profile."));
}
}
}