diff options
author | Joe7 <jozsef.rnagy@site.hu> | 2011-01-09 02:06:35 +0100 |
---|---|---|
committer | Joe7 <jozsef.rnagy@site.hu> | 2011-01-09 02:06:35 +0100 |
commit | eecb24429115b5f1883971befe0de18ac718fc2a (patch) | |
tree | ae8bc451a456121fae4b3b5e4d76dabc0e10a556 /modules | |
parent | 7dd63630d8f7fc46847388c307ecf160a729aafb (diff) |
Made t() calls parsable by localization scanner
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gallery/helpers/graphics.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/gallery/helpers/graphics.php b/modules/gallery/helpers/graphics.php index 96a6ceba..a30699e8 100644 --- a/modules/gallery/helpers/graphics.php +++ b/modules/gallery/helpers/graphics.php @@ -342,12 +342,14 @@ class graphics_Core { } else { $toolkits->$index->installed = false; $toolkits->$index->error = - t($settings["name"] . " is installed, but PHP's open_basedir restriction prevents Gallery from using it."); + t("%toolkit_name is installed, but PHP's open_basedir restriction prevents Gallery from using it.", + array("toolkit_name" => $settings["name"])); } } else { $toolkits->$index->installed = false; $toolkits->$index->error = - t("We could not locate " . $settings["name"] . " on your system."); + t("We could not locate %toolkit_name on your system.", + array("toolkit_name" => $settings["name"])); } } } |