Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

minor internationalization modification

  • Loading branch information...
commit 304fe726461d9ff409729a10f8e3a27cce9abc21 1 parent a05a65f
authored
2  CategoryTreeMenu.js
@@ -224,7 +224,7 @@ function arrayCopy(input)
224 224
 			var linkStart = nodes[i].link ? this.stringFormat('<a href="{0}" target="{1}">', nodes[i].link, linkTarget) : '';
225 225
 			
226 226
 			var delLink	  = nodes[i].link.replace('add_node','delete_node');
227  
-			var linkEnd   = nodes[i].link ? '</a> <a href="' + delLink  + 'process=1">D</a>' : '';
  227
+			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>' : '';
228 228
 
229 229
 			this.output += this.stringFormat('{0}<nobr>{1}{2}{3}{4}<span {5}>{6}</span>{7}</nobr><br></div>',
230 230
 			                  layerTag,
7  templates/document_categories/general_list.html
@@ -13,6 +13,9 @@
13 13
 -->
14 14
 </style>
15 15
 {/literal}
  16
+<script type="text/javascript">
  17
+var deleteLabel="{xl t="Delete"}";
  18
+</script>
16 19
 <script src="CategoryTreeMenu.js" language="JavaScript" type="text/javascript"></script>
17 20
 <table>
18 21
 	<tr>
@@ -27,7 +30,7 @@
27 30
 		{if $add_node eq true}
28 31
 		<td width="25"></td>
29 32
 		<td valign="top">
30  
-		{xl t="The new category will be a sub-category of "}{$parent_name}<br>
  33
+		{xl t="The new category will be a sub-category of "} {$parent_name}<br>
31 34
 		<form method="post" action="{$FORM_ACTION}" onsubmit="return top.restoreSession()">
32 35
 		{xl t="Category Name"}:&nbsp;<input type="text" name="name">&nbsp;&nbsp;
33 36
 		<input type="submit" name="Add Category" value="{xl t='Add Category'}">
@@ -38,4 +41,4 @@
38 41
 		{/if}
39 42
 	</tr>
40 43
 	
41  
-</table>
  44
+</table>
2  templates/patient_finder/general_find.html
@@ -34,7 +34,7 @@
34 34
 <form name="patientfinder" method="post" action="{$FORM_ACTION}" onsubmit="return top.restoreSession()">
35 35
 <table>
36 36
 	<tr>
37  
-		<td>Name</td>
  37
+		<td>{xl t='Name'}</td>
38 38
 		<td>
39 39
 			<input type="text" size="40" name="searchstring" value=""/>
40 40
 		</td>
2  templates/practice_settings/general_list.html
@@ -34,7 +34,7 @@
34 34
 <table>
35 35
 	<tr>
36 36
 		<td valign="top">
37  
-		Settings<br />
  37
+		{xl t='Settings'}<br />
38 38
 			<ul style="list-style: none;">
39 39
 				<lh><a href="{$TOP_ACTION}pharmacy&action=list">{xl t='Pharmacies'}</a></lh>
40 40
 				<li><a href="{$TOP_ACTION}pharmacy&action=edit">{xl t='Add a Pharmacy'}</a></li>

0 notes on commit 304fe72

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