diff options
author | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-10-21 01:12:56 +0200 |
---|---|---|
committer | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-10-21 01:12:56 +0200 |
commit | 28ec9d64632a7a43be9144a474432a3c5b8d6b97 (patch) | |
tree | 9efb632500b8c6aa22b8e2845e946448128a9df5 /classes | |
parent | 9d401e2b15c93b91c087507ae8ac8dcb8a44f8d2 (diff) |
* translator documentation added.
* moved some translator comments that were not directly above the line with the message to the correct location.
* i18n for UI text.
* superfluous whitespace removed.
Diffstat (limited to 'classes')
-rw-r--r-- | classes/User.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/classes/User.php b/classes/User.php index c68be223d..f381ec607 100644 --- a/classes/User.php +++ b/classes/User.php @@ -898,9 +898,11 @@ class User extends Memcached_DataObject if ($user) { return $user; } else { - throw new ServerException(_("No single user defined for single-user mode.")); + // TRANS: Server exception. + throw new ServerException(_('No single user defined for single-user mode.')); } } else { + // TRANS: Server exception. throw new ServerException(_('Single-user mode code called when not enabled.')); } } |