diff options
author | Brion Vibber <brion@pobox.com> | 2010-10-04 14:24:04 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-10-04 14:24:04 -0700 |
commit | d6b3d7fb1a7a3dca701dfe5cf95a832b3eb055f9 (patch) | |
tree | 13c9e4094618de5d5314f553c619806772ce68f5 /lib | |
parent | 2295bbec9ea1e279316b8a45b6b05c6d71a6fc3d (diff) |
Fix unescaped dollar signs in double-quoted strings due to localization updates (%1$s etc)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mail.php | 6 | ||||
-rw-r--r-- | lib/usernoprofileexception.php | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/mail.php b/lib/mail.php index ab5742e33..a3b3e05b8 100644 --- a/lib/mail.php +++ b/lib/mail.php @@ -252,14 +252,14 @@ function mail_subscribe_notify_profile($listenee, $other) // TRANS: Main body of new-subscriber notification e-mail $body = sprintf(_('%1$s is now listening to your notices on %2$s.'."\n\n". - "\t".'%3$s'."\n\n". + "\t".'%3\$s'."\n\n". '%4$s'. '%5$s'. '%6$s'. - "\n".'Faithfully yours,'."\n".'%7$s.'."\n\n". + "\n".'Faithfully yours,'."\n".'%7\$s.'."\n\n". "----\n". "Change your email address or ". - "notification options at ".'%8$s' ."\n"), + "notification options at ".'%8\$s' ."\n"), $long_name, common_config('site', 'name'), $other->profileurl, diff --git a/lib/usernoprofileexception.php b/lib/usernoprofileexception.php index e0186fef9..954d31b0d 100644 --- a/lib/usernoprofileexception.php +++ b/lib/usernoprofileexception.php @@ -57,7 +57,7 @@ class UserNoProfileException extends ServerException // TRANS: Exception text shown when no profile can be found for a user. // TRANS: %1$s is a user nickname, $2$d is a user ID (number). - $message = sprintf(_("User %1$s (%2$d) has no profile record."), + $message = sprintf(_('User %1$s (%2$d) has no profile record.'), $user->nickname, $user->id); parent::__construct($message); |