summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-07-20 10:31:45 -0700
committerBharat Mediratta <bharat@menalto.com>2010-07-20 10:31:45 -0700
commit6ed638244a9e78633f459560d772bc5d477e7c23 (patch)
treed296c6bdea3ff785088d3f91ca635af1ee4b6fe7
parent96bcc8146cc64151551e4c7499829c1ede9b62cd (diff)
Fix internationalization of REST key.
-rw-r--r--modules/rest/views/user_profile_rest.html.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/modules/rest/views/user_profile_rest.html.php b/modules/rest/views/user_profile_rest.html.php
index 397afa89..e81f3d0b 100644
--- a/modules/rest/views/user_profile_rest.html.php
+++ b/modules/rest/views/user_profile_rest.html.php
@@ -1,8 +1,10 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<div id="g-rest-detail">
-<ul>
- <li id="g-rest-key">
- <p><b><?= t("Key") ?></b>:<?= html::clean($rest_key) ?></p>
- </li>
-</ul>
+ <ul>
+ <li id="g-rest-key">
+ <p>
+ <?= t("<b>Key</b>: %key", array("key" => $rest_key)) ?>
+ </p>
+ </li>
+ </ul>
</div>