From 3d07daf77ff545ab4c67448eb13186b15a95c4c9 Mon Sep 17 00:00:00 2001 From: bradymiller Date: Sat, 24 Apr 2010 08:48:53 +0000 Subject: [PATCH] english constant fixes for the translation project --- contrib/util/de_identification_upgrade.php | 14 +++++++------- .../de_identification_screen1.php | 16 ++++++++-------- interface/de_identification_forms/find_code_popup.php | 10 +++++----- interface/de_identification_forms/find_drug_popup.php | 10 +++++----- .../de_identification_forms/find_immunization_popup.php | 10 +++++----- .../re_identification_input_screen.php | 6 +++--- interface/language/lang_manage.php | 4 ++-- interface/main/messages/messages.php | 2 +- library/globals.inc.php | 2 +- 9 files changed, 37 insertions(+), 37 deletions(-) diff --git a/contrib/util/de_identification_upgrade.php b/contrib/util/de_identification_upgrade.php index e6abc6fe2..900d0ed97 100644 --- a/contrib/util/de_identification_upgrade.php +++ b/contrib/util/de_identification_upgrade.php @@ -45,7 +45,7 @@ function upgradeFromSqlFile($filename) { $fd = fopen($fullname, 'r'); if ($fd == FALSE) { - echo xl("ERROR. Could not open"); echo " ".$fullname."\n"; + echo xl("Error, unable to open file"); echo " ".$fullname."\n"; flush(); break; } @@ -138,9 +138,9 @@ if (!empty($_POST['form_submit'])) { } $login=$sqlconf["login"]; $loginhost=$sqlconf["host"]; mysql_select_db($sqlconf['dbase']) or die(mysql_error()); if (mysql_query("GRANT FILE ON *.* TO '$login'@'$loginhost'",$dbh) == FALSE) { - echo xl("ERROR when granting file privilege to the OpenEMR user."); echo "\n"; + echo xl("Error when granting file privilege to the OpenEMR user."); echo "\n"; echo "

".mysql_error()." (#".mysql_errno().")\n"; - echo xl("ERROR."); echo "\n"; + echo xl("Error"); echo "\n"; break; } else @@ -159,12 +159,12 @@ function form_validate() { if(document.forms[0].root_user_name.value == "") { - alert(""); + alert(""); return false; } /*if(document.forms[0].root_user_pass.value == "") { - alert(""); + alert(""); return false; }*/ return true; @@ -190,7 +190,7 @@ else : + value= "" title="" />   @@ -198,7 +198,7 @@ else : + value= "" title="" />       diff --git a/interface/de_identification_forms/de_identification_screen1.php b/interface/de_identification_forms/de_identification_screen1.php index ccda3b956..dec0c8e96 100644 --- a/interface/de_identification_forms/de_identification_screen1.php +++ b/interface/de_identification_forms/de_identification_screen1.php @@ -261,8 +261,8 @@ function download_file()


- "; ?>
+ ";?>
  @@ -508,10 +508,10 @@ function download_file() - onclick="get_values('diagnosis')"> - onclick="remove_selected('diagnosis')">  - onclick="get_values('drugs')"> - onclick="remove_selected('drugs')"> + onclick="get_values('diagnosis')"> + onclick="remove_selected('diagnosis')">  + onclick="get_values('drugs')"> + onclick="remove_selected('drugs')"> @@ -527,8 +527,8 @@ function download_file()

- onclick="get_values('immunizations')"> - onclick="remove_selected('immunizations')"> + onclick="get_values('immunizations')"> + onclick="remove_selected('immunizations')">
    diff --git a/interface/de_identification_forms/find_code_popup.php b/interface/de_identification_forms/find_code_popup.php index 43ed6abfb..e225ee196 100644 --- a/interface/de_identification_forms/find_code_popup.php +++ b/interface/de_identification_forms/find_code_popup.php @@ -107,7 +107,7 @@ function check_search_str() var search_str = document.getElementById('search_term').value; if(search_str.length < 3) { - alert(''); + alert(''); return false; } top.restoreSession(); @@ -226,13 +226,13 @@ else {


- ' onclick="chkbox_select_all(document.select_diagonsis.chkbox);"/> + ' onclick="chkbox_select_all(document.select_diagonsis.chkbox);"/> - ' onclick="chkbox_select_none(document.select_diagonsis.chkbox);"/> + ' onclick="chkbox_select_none(document.select_diagonsis.chkbox);"/> - ' onclick="window_submit(document.select_diagonsis.chkbox);"/> + ' onclick="window_submit(document.select_diagonsis.chkbox);"/> - ' onclick="window_close();"/> + ' onclick="window_close();"/>
diff --git a/interface/de_identification_forms/find_drug_popup.php b/interface/de_identification_forms/find_drug_popup.php index 70eed0d0c..1a2e27967 100644 --- a/interface/de_identification_forms/find_drug_popup.php +++ b/interface/de_identification_forms/find_drug_popup.php @@ -108,7 +108,7 @@ function check_search_str() var search_str = document.getElementById('search_term').value; if(search_str.length < 3) { - alert(''); + alert(''); return false; } top.restoreSession(); @@ -189,13 +189,13 @@ function check_search_str()
- ' onclick="chkbox_select_all(document.select_drug.chkbox);"/> + ' onclick="chkbox_select_all(document.select_drug.chkbox);"/> - ' onclick="chkbox_select_none(document.select_drug.chkbox);"/> + ' onclick="chkbox_select_none(document.select_drug.chkbox);"/> - ' onclick="window_submit(document.select_drug.chkbox);"/> + ' onclick="window_submit(document.select_drug.chkbox);"/> - ' onclick="window_close();"/> + ' onclick="window_close();"/>
diff --git a/interface/de_identification_forms/find_immunization_popup.php b/interface/de_identification_forms/find_immunization_popup.php index 323713393..8013ef236 100644 --- a/interface/de_identification_forms/find_immunization_popup.php +++ b/interface/de_identification_forms/find_immunization_popup.php @@ -105,7 +105,7 @@ function check_search_str() var search_str = document.getElementById('search_term').value; if(search_str.length < 3) { - alert(''); + alert(''); return false; } top.restoreSession(); @@ -182,13 +182,13 @@ function check_search_str()
- ' onclick="chkbox_select_all(document.select_immunization.chkbox);"/> + ' onclick="chkbox_select_all(document.select_immunization.chkbox);"/> - ' onclick="chkbox_select_none(document.select_immunization.chkbox);"/> + ' onclick="chkbox_select_none(document.select_immunization.chkbox);"/> - ' onclick="window_submit(document.select_immunization.chkbox);"/> + ' onclick="window_submit(document.select_immunization.chkbox);"/> - ' onclick="window_close();"/> + ' onclick="window_close();"/>
diff --git a/interface/de_identification_forms/re_identification_input_screen.php b/interface/de_identification_forms/re_identification_input_screen.php index bfb90d28c..a1ab15d53 100644 --- a/interface/de_identification_forms/re_identification_input_screen.php +++ b/interface/de_identification_forms/re_identification_input_screen.php @@ -79,8 +79,8 @@ function download_file()


- "; ?>
+ ";?>
  @@ -152,7 +152,7 @@ function download_file()
' />
+ title='' />

> - + () - + () diff --git a/interface/main/messages/messages.php b/interface/main/messages/messages.php index 926037fc0..7be5f8e91 100644 --- a/interface/main/messages/messages.php +++ b/interface/main/messages/messages.php @@ -216,7 +216,7 @@ $(document).ready(function(){ var NewNote = function () { top.restoreSession(); if (document.forms[0].reply_to.value.length == 0) { - alert(''); + alert(''); } else { diff --git a/library/globals.inc.php b/library/globals.inc.php index 5c6992843..832da22d9 100644 --- a/library/globals.inc.php +++ b/library/globals.inc.php @@ -604,7 +604,7 @@ $GLOBALS_METADATA = array( ), 'EMAIL_NOTIFICATION_HOUR' => array( - xl('EMAIL Notification Hours'), + xl('Email Notification Hours'), 'num', // data type '50', // default xl('Number of hours in advance to send email notifications.') -- 2.11.4.GIT