diff options
author | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-09-19 15:17:36 +0200 |
---|---|---|
committer | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-09-19 15:17:36 +0200 |
commit | 5a6f6162061985c9d0e67b7d25b94b5a53205ace (patch) | |
tree | 6a46269e8b1e5246f8fe055a0540a54f716d9a05 /plugins/OStatus/lib/salmon.php | |
parent | 07cd52afc7eef0111c9f7bd49a52a51214520287 (diff) |
* i18n/L10n update
* translator comments added
* remove superfluous whitespace
Diffstat (limited to 'plugins/OStatus/lib/salmon.php')
-rw-r--r-- | plugins/OStatus/lib/salmon.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/OStatus/lib/salmon.php b/plugins/OStatus/lib/salmon.php index 631ebc7d8..963da6508 100644 --- a/plugins/OStatus/lib/salmon.php +++ b/plugins/OStatus/lib/salmon.php @@ -89,8 +89,8 @@ class Salmon $magickey->generate($user->id); } } else { - // @todo i18n FIXME: added i18n and use sprintf when using parameters. - throw new Exception("Salmon invalid actor for signing."); + // TRANS: Exception. + throw new Exception(_m('Salmon invalid actor for signing.')); } try { @@ -101,7 +101,6 @@ class Salmon return $magic_env->toXML($env); } - public function verifyMagicEnv($text) { $magic_env = new MagicEnvelope(); |