summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-06-04 11:57:36 -0700
committerBharat Mediratta <bharat@menalto.com>2009-06-04 11:57:36 -0700
commit65df897fcd3065e86d477d594b23bb64b34c308f (patch)
tree3d3753b14bdfb74841d95cd1475fa60f7c79edc5
parentc888ce2e7d2959c064577b46633e397a0f9fedc5 (diff)
Properly internationalize the "Add some" photos link.
-rw-r--r--themes/default/views/album.html.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/themes/default/views/album.html.php b/themes/default/views/album.html.php
index b74c6d86..7e6913df 100644
--- a/themes/default/views/album.html.php
+++ b/themes/default/views/album.html.php
@@ -28,7 +28,8 @@
<? else: ?>
<? if ($user->admin || access::can("add", $item)): ?>
<? $addurl = url::file("index.php/simple_uploader/app/$item->id") ?>
- <li><?= t("There aren't any photos here yet! <a href=\"$addurl\" class=\"gDialogLink\">Add some</a>.") ?></li>
+ <li><?= t("There aren't any photos here yet! <a %attrs>Add some</a>.",
+ array("attrs" => "href=\"$addurl\" class=\"gDialogLink\"")) ?></li>
<? else: ?>
<li><?= t("There aren't any photos here yet!") ?></li>
<? endif; ?>