diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-07-01 17:57:39 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-07-01 17:57:39 -0700 |
commit | 8f9a943f55c1342177d7687e3d891f5d1c9eff30 (patch) | |
tree | eb84d7973495f3b9558951139c0b4952be0a2aaa /modules/gallery/helpers/l10n_client.php | |
parent | 7b1e3c50218b235a7d25ebe21f93eb8dd9acfb84 (diff) |
Fix a bunch of XSS vulnerabilities turned up by manual inspection
using the checklist in ticket #385.
Diffstat (limited to 'modules/gallery/helpers/l10n_client.php')
-rw-r--r-- | modules/gallery/helpers/l10n_client.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/gallery/helpers/l10n_client.php b/modules/gallery/helpers/l10n_client.php index 20f81ecc..e153532c 100644 --- a/modules/gallery/helpers/l10n_client.php +++ b/modules/gallery/helpers/l10n_client.php @@ -112,7 +112,9 @@ class l10n_client_Core { // {key:<key_2>, ...} // ] $count = count($response); - log::info("translations", "Installed $count new / updated translation messages"); + log::info("translations", + t2("Installed 1 new / updated translation message", + "Installed %count new / updated translation messages", $count)); foreach ($response as $message_data) { // @todo Better input validation |