Skip to content

Commit

Permalink
minor internationalization modifications
Browse files Browse the repository at this point in the history
  • Loading branch information
bradymiller committed Jun 25, 2009
1 parent 186e761 commit 6c6efde
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 32 deletions.
36 changes: 18 additions & 18 deletions interface/billing/billing_report.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,10 @@ function topatient(pid) {
<input type='text' size='10' name='from_date' id='from_date'
value='<?php echo $from_date; ?>'
onkeyup='datekeyup(this,mypcc)' onblur='dateblur(this,mypcc)'
title='yyyy-mm-dd last date of this event' />
title=<?php xl('yyyy-mm-dd last date of this event','e','\'','\''); ?> />
<img src='../../interface/pic/show_calendar.gif' align='absbottom' width='24' height='22'
id='img_fromdate' border='0' alt='[?]' style='cursor:pointer'
title='Click here to choose a date'>
title=<?php xl('Click here to choose a date','e','\'','\''); ?> />
<script>
Calendar.setup({inputField:"from_date", ifFormat:"%Y-%m-%d", button:"img_fromdate"});
</script>
Expand All @@ -242,10 +242,10 @@ function topatient(pid) {
<input type='text' size='10' name='to_date' id='to_date'
value='<?php echo $to_date; ?>'
onkeyup='datekeyup(this,mypcc)' onblur='dateblur(this,mypcc)'
title='yyyy-mm-dd last date of this event' />
title=<?php xl('yyyy-mm-dd last date of this event','e','\'','\''); ?> />
<img src='../../interface/pic/show_calendar.gif' align='absbottom' width='24' height='22'
id='img_todate' border='0' alt='[?]' style='cursor:pointer'
title='Click here to choose a date' />
title=<?php xl('Click here to choose a date','e','\'','\''); ?> />
<script>
Calendar.setup({inputField:"to_date", ifFormat:"%Y-%m-%d", button:"img_todate"});
</script>
Expand Down Expand Up @@ -304,7 +304,7 @@ class='link_submit' target='new' onclick='top.restoreSession()'><?php xl('[View
&nbsp;
-->
<a href='../../library/freeb/process_bills.log' target='_blank' class='link_submit'
title='See messages from the last set of generated claims'><?php xl('[View Log]','e') ?></a>
title=<?php xl('See messages from the last set of generated claims','e','\'','\''); ?>><?php xl('[View Log]','e') ?></a>
<?php } ?>
</td>

Expand Down Expand Up @@ -332,27 +332,27 @@ class='link_submit' target='new' onclick='top.restoreSession()'><?php xl('[View
<input type="submit" class="subbtn" name="bn_ub92_print" value="Queue UB92 &amp; Print" title="<?php xl('Queue for UB-92 batch processing and printing','e')?>">
<input type="submit" class="subbtn" name="bn_ub92" value="Queue UB92" title="<?php xl('Queue for UB-92 batch processing','e')?>">
-->
<input type="submit" class="subbtn" name="bn_x12" value="Generate X12"
<input type="submit" class="subbtn" name="bn_x12" value="<?php xl('Generate X12','e')?>"
title="<?php xl('Generate and download X12 batch','e')?>"
onclick="alert('After saving your batch, click [View Log] to check for errors.')">
<input type="submit" class="subbtn" name="bn_process_hcfa" value="Generate HCFA"
onclick="alert('<?php xl('After saving your batch, click [View Log] to check for errors.','e'); ?>')">
<input type="submit" class="subbtn" name="bn_process_hcfa" value="<?php xl('Generate HCFA','e')?>"
title="<?php xl('Generate and download HCFA 1500 paper claims','e')?>"
onclick="alert('After saving the PDF, click [View Log] to check for errors.')">
<input type="submit" class="subbtn" name="bn_mark" value="Mark as Cleared" title="<?php xl('Post to accounting and mark as billed','e')?>">
<input type="submit" class="subbtn" name="bn_reopen" value="Re-Open" title="<?php xl('Mark as not billed','e')?>">
onclick="alert('<?php xl('After saving the PDF, click [View Log] to check for errors.','e'); ?>')">
<input type="submit" class="subbtn" name="bn_mark" value="<?php xl('Mark as Cleared','e')?>" title="<?php xl('Post to accounting and mark as billed','e')?>">
<input type="submit" class="subbtn" name="bn_reopen" value="<?php xl('Re-Open','e')?>" title="<?php xl('Mark as not billed','e')?>">
<!--
<input type="submit" class="subbtn" name="bn_electronic_file" value="Make Electronic Batch &amp; Clear" title="<?php xl('Download billing file, post to accounting and mark as billed','e')?>">
-->
&nbsp;&nbsp;&nbsp;
HCFA Margins:
&nbsp;Left:
<?php xl('HCFA Margins','e'); ?>:
&nbsp;<?php xl('Left','e'); ?>:
<input type='text' size='2' name='left_margin'
value='<?php echo $left_margin; ?>'
title='HCFA left margin in points' />
&nbsp;Top:
title=<?php xl('HCFA left margin in points','e','\'','\''); ?> />
&nbsp;<?php xl('Top','e'); ?>:
<input type='text' size='2' name='top_margin'
value='<?php echo $top_margin; ?>'
title='HCFA top margin in points' />
title=<?php xl('HCFA top margin in points','e','\'','\''); ?> />
</span>
<?php } ?>

Expand Down Expand Up @@ -534,12 +534,12 @@ class='link_submit' target='new' onclick='top.restoreSession()'><?php xl('[View
"href=\"javascript:window.toencounter(" . $iter['enc_pid'] .
",'" . addslashes($name['pubpid']) .
"','" . addslashes($ptname) . "'," . $iter['enc_encounter'] .
",'$raw_encounter_date')\">[To&nbsp;Enctr $raw_encounter_date]</a>";
",'$raw_encounter_date')\">[" . xl('To Enctr') . " $raw_encounter_date]</a>";

// Changed "To xxx" buttons to allow room for encounter date display 2/17/09 JCH
$lhtml .= "&nbsp;&nbsp;&nbsp;<a class=\"link_submit\" " .
"href=\"javascript:window.topatient(" . $iter['enc_pid'] .
")\">[To&nbsp;Dems]</a>";
")\">[" . xl('To Dems') . "]</a>";

if ($iter['id']) {

Expand Down
2 changes: 1 addition & 1 deletion interface/main/calendar/add_edit_event.php
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ function InsertEvent($args) {
<html>
<head>
<?php html_header_show(); ?>
<title><?php echo $eid ? "Edit" : "Add New" ?> <?php xl('Event','e');?></title>
<title><?php echo $eid ? xl('Edit','e') : xl('Add New','e') ?> <?php xl('Event','e');?></title>
<link rel="stylesheet" href='<?php echo $css_header ?>' type='text/css'>

<style>
Expand Down
10 changes: 5 additions & 5 deletions interface/main/calendar/find_patient_popup.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@

function selpid(pid, lname, fname, dob) {
if (opener.closed || ! opener.setpatient)
alert('The destination form was closed; I cannot act on your selection.');
alert("<?php xl('The destination form was closed; I cannot act on your selection.','e'); ?>");
else
opener.setpatient(pid, lname, fname, dob);
window.close();
Expand Down Expand Up @@ -162,13 +162,13 @@ function selpid(pid, lname, fname, dob) {


<?php if (! isset($_REQUEST['searchparm'])): ?>
<div id="searchstatus">Enter your search criteria above</div>
<div id="searchstatus"><?php xl('Enter your search criteria above','e'); ?></div>
<?php elseif (count($result) == 0): ?>
<div id="searchstatus" class="noResults">No records found. Please expand your search criteria.</div>
<div id="searchstatus" class="noResults"><?php xl('No records found. Please expand your search criteria.','e'); ?></div>
<?php elseif (count($result)>=100): ?>
<div id="searchstatus" class="tooManyResults">More than 100 records found. Please narrow your search criteria.</div>
<div id="searchstatus" class="tooManyResults"><?php xl('More than 100 records found. Please narrow your search criteria.','e'); ?></div>
<?php elseif (count($result)<100): ?>
<div id="searchstatus" class="howManyResults"><?php echo count($result); ?> records found.</div>
<div id="searchstatus" class="howManyResults"><?php echo count($result); ?> <?php xl('records found.','e'); ?></div>
<?php endif; ?>

<?php if (isset($result)): ?>
Expand Down
4 changes: 2 additions & 2 deletions interface/main/finder/patient_select.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ function submitList(offset) {
<table border='0' cellpadding='5' cellspacing='0' width='100%'>
<tr>
<td class='text'>
<a href="./patient_select_help.php" target=_new>[Help]&nbsp</a>
<a href="./patient_select_help.php" target=_new>[<?php xl('Help','e'); ?>]&nbsp</a>
</td>
<td class='text' align='right'>
<?php
Expand Down Expand Up @@ -203,7 +203,7 @@ function submitList(offset) {
$patient = $matches[2];
}
?>
[<?php echo $add_days?> Days From Last Encounter]
[<?php echo $add_days?> <?php xl('Days From Last Encounter','e'); ?>]
</th>
</tr>
</table>
Expand Down
10 changes: 5 additions & 5 deletions interface/patient_file/history/encounters.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,11 +185,11 @@ function closeNote(feid, fenote) {
<?php } ?>

<?php if ($billing_view && $accounting_enabled) { ?>
<th>Code</th>
<th class='right'>Chg</th>
<th class='right'>Paid</th>
<th class='right'>Adj</th>
<th class='right'>Bal</th>
<th><?php xl('Code','e'); ?></th>
<th class='right'><?php xl('Chg','e'); ?></th>
<th class='right'><?php xl('Paid','e'); ?></th>
<th class='right'><?php xl('Adj','e'); ?></th>
<th class='right'><?php xl('Bal','e'); ?></th>
<?php } else { ?>
<th colspan='5'><?php echo ($GLOBALS['phone_country_code'] == '1') ? xl('Billing') : xl('Coding') ?></th>
<?php } ?>
Expand Down
2 changes: 1 addition & 1 deletion interface/usergroup/addrbook_edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function rbvalue($rbname) {
?>
<html>
<head>
<title><?php echo $userid ? xl('Edit') : xl('Add New') ?> Person</title>
<title><?php echo $userid ? xl('Edit') : xl('Add New') ?> <?php xl('Person','e'); ?></title>
<link rel="stylesheet" href='<?php echo $css_header ?>' type='text/css'>

<style>
Expand Down

0 comments on commit 6c6efde

Please sign in to comment.