summaryrefslogtreecommitdiff
path: root/modules/info/helpers/info_block.php
diff options
context:
space:
mode:
authorjamaa <jamaa@mzibo.net>2013-06-11 23:10:47 +0200
committerBharat Mediratta <bharat@menalto.com>2013-06-12 19:10:02 -0400
commit8b14cc5a78ca7cd86ead250916f3437af7bf77af (patch)
treec4d9ce26beb0ee977e1e87874f908ace11ec2acc /modules/info/helpers/info_block.php
parentad634512756b11569cb649ce4322e9ec2c59eb5f (diff)
internationalize image size display
as per comment https://github.com/gallery/gallery3/pull/394/files#r4643737
Diffstat (limited to 'modules/info/helpers/info_block.php')
-rw-r--r--modules/info/helpers/info_block.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/info/helpers/info_block.php b/modules/info/helpers/info_block.php
index f4fe5a6e..f3c8cf65 100644
--- a/modules/info/helpers/info_block.php
+++ b/modules/info/helpers/info_block.php
@@ -75,7 +75,7 @@ class info_block_Core {
if (($theme->item->width && $theme->item->height) && module::get_var("info", "show_size")) {
$info["size"] = array(
"label" => t("Size:"),
- "value" => $theme->item->width . " x " . $theme->item->height
+ "value" => t("%width x %height", array("width" => $theme->item->width, "height" => $theme->item->height))
);
}