summaryrefslogtreecommitdiff
path: root/httemplate/view/elements/svc_edit_link.html
diff options
context:
space:
mode:
authorlevinse <levinse>2011-05-18 01:08:08 +0000
committerlevinse <levinse>2011-05-18 01:08:08 +0000
commit998f029ef805c73e90543b34192e16d38a23c69c (patch)
tree16ff1b8368368e0b19de9ff517ea0643e6d75a24 /httemplate/view/elements/svc_edit_link.html
parenta9916ce48023939ab1d2506704f5545eb183a2ea (diff)
internationalization/localization, RT12515
Diffstat (limited to 'httemplate/view/elements/svc_edit_link.html')
-rw-r--r--httemplate/view/elements/svc_edit_link.html9
1 files changed, 4 insertions, 5 deletions
diff --git a/httemplate/view/elements/svc_edit_link.html b/httemplate/view/elements/svc_edit_link.html
index a85d38077..b16261a87 100644
--- a/httemplate/view/elements/svc_edit_link.html
+++ b/httemplate/view/elements/svc_edit_link.html
@@ -1,15 +1,14 @@
% if ( $cancel_date ) {
-<I>Canceled <% time2str('%b %o %Y', $cancel_date) %></I>
+<I><% mt("Canceled [_1]", time2str('%b %o %Y', $cancel_date) ) |h %></I>
% } else {
<SCRIPT>
function areyousure_delete() {
- if (confirm("Permanently delete this service?") == true)
+ if (confirm(<% mt('Permanently delete this service?') |js_string %>) == true)
window.location.href = '<% $cancel_url %>';
}
</SCRIPT>
-<A HREF="<% $edit_url %>">Edit this <% $label %></A> |
-<A HREF="javascript:areyousure_delete()">
-Unprovision this Service</A>
+<A HREF="<% $edit_url %>"><% mt("Edit this [_1]", $label) |h %></A> |
+<A HREF="javascript:areyousure_delete()"><% mt('Unprovision this Service') |h %></A>
% }
<%init>
my %opt = @_;