summaryrefslogtreecommitdiff
path: root/themes/default/views
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-06-05 15:48:18 +0800
committerBharat Mediratta <bharat@menalto.com>2009-06-06 01:26:23 +0800
commita46c4a64312e0cfbf2e6888742f8136f98b6bc7d (patch)
treea58a95d7f0f0ae29d894cb06cf1f1f4ff0257d08 /themes/default/views
parent7612c8d4045bb8347c8f0548269d8cc7a028bc4a (diff)
Localize the 'Add a comment' message
Signed-off-by: Bharat Mediratta <bharat@menalto.com>
Diffstat (limited to 'themes/default/views')
-rw-r--r--themes/default/views/photo.html.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php
index 85143da8..cc4cc750 100644
--- a/themes/default/views/photo.html.php
+++ b/themes/default/views/photo.html.php
@@ -41,5 +41,8 @@
<div><?= p::clean($item->description) ?></div>
</div>
+ <script type="text/javascript">
+ var ADD_A_COMMENT = "<?= t("Add a comment") ?>";
+ </script>
<?= $theme->photo_bottom() ?>
</div>