Skip to content
Browse files

minor internationalization modification

  • Loading branch information...
1 parent a05a65f commit 304fe726461d9ff409729a10f8e3a27cce9abc21 bradymiller committed
View
2 CategoryTreeMenu.js
@@ -224,7 +224,7 @@ function arrayCopy(input)
var linkStart = nodes[i].link ? this.stringFormat('<a href="{0}" target="{1}">', nodes[i].link, linkTarget) : '';
var delLink = nodes[i].link.replace('add_node','delete_node');
- var linkEnd = nodes[i].link ? '</a> <a href="' + delLink + 'process=1">D</a>' : '';
+ var linkEnd = nodes[i].link ? '</a>&nbsp;&nbsp;&nbsp;<a href="' + delLink + 'process=1" style="text-decoration:none;"><span style="color:red; font-size:70%; font-family: sans-serif;">(' + deleteLabel + ')</span></a>' : '';
this.output += this.stringFormat('{0}<nobr>{1}{2}{3}{4}<span {5}>{6}</span>{7}</nobr><br></div>',
layerTag,
View
7 templates/document_categories/general_list.html
@@ -13,6 +13,9 @@
-->
</style>
{/literal}
+<script type="text/javascript">
+var deleteLabel="{xl t="Delete"}";
+</script>
<script src="CategoryTreeMenu.js" language="JavaScript" type="text/javascript"></script>
<table>
<tr>
@@ -27,7 +30,7 @@
{if $add_node eq true}
<td width="25"></td>
<td valign="top">
- {xl t="The new category will be a sub-category of "}{$parent_name}<br>
+ {xl t="The new category will be a sub-category of "} {$parent_name}<br>
<form method="post" action="{$FORM_ACTION}" onsubmit="return top.restoreSession()">
{xl t="Category Name"}:&nbsp;<input type="text" name="name">&nbsp;&nbsp;
<input type="submit" name="Add Category" value="{xl t='Add Category'}">
@@ -38,4 +41,4 @@
{/if}
</tr>
-</table>
+</table>
View
2 templates/patient_finder/general_find.html
@@ -34,7 +34,7 @@
<form name="patientfinder" method="post" action="{$FORM_ACTION}" onsubmit="return top.restoreSession()">
<table>
<tr>
- <td>Name</td>
+ <td>{xl t='Name'}</td>
<td>
<input type="text" size="40" name="searchstring" value=""/>
</td>
View
2 templates/practice_settings/general_list.html
@@ -34,7 +34,7 @@
<table>
<tr>
<td valign="top">
- Settings<br />
+ {xl t='Settings'}<br />
<ul style="list-style: none;">
<lh><a href="{$TOP_ACTION}pharmacy&action=list">{xl t='Pharmacies'}</a></lh>
<li><a href="{$TOP_ACTION}pharmacy&action=edit">{xl t='Add a Pharmacy'}</a></li>

0 comments on commit 304fe72

Please sign in to comment.
Something went wrong with that request. Please try again.