From 142208050fd382c751d0d9e343558b963bd4449f Mon Sep 17 00:00:00 2001 From: Carlos Vargas Date: Mon, 12 Jan 2009 20:32:21 +0100 Subject: [PATCH] [svn r17661] new variable get_lang see FS#3443 --- main/calendar/agenda.inc.php | 8 ++++---- main/work/work.lib.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/main/calendar/agenda.inc.php b/main/calendar/agenda.inc.php index 6dce8d5d09..4d9aa7102c 100644 --- a/main/calendar/agenda.inc.php +++ b/main/calendar/agenda.inc.php @@ -1,4 +1,4 @@ - ends_date) { - msg_err1.style.display =\"block\"; - msg_err1.innerHTML=\"".get_lang('DateExpiredNotBeLessDeadLine')."\"; + msg_err1.style.display =\"block\"; + msg_err1.innerHTML=\"".get_lang('EndDateCannotBeBeforeTheStartDate')."\"; msg_err2.innerHTML=\"\";msg_err3.innerHTML=\"\"; } else if (checkDate(start_month,start_day,start_year) == false) { msg_err2.style.display =\"block\"; @@ -4819,7 +4819,7 @@ function get_global_agenda_items($agendaitems, $day = "", $month = "", $year = " $halfhour = $halfhour +1; } //$agendaitems[$halfhour] .= "
$hour:$minute ".get_lang('Evento Global'). ": ".$item['title']."
"; - $agendaitems[$halfhour] .= "
$hour:$minute ".get_lang('Evento Global'). ": ".$item['title']."
"; + $agendaitems[$halfhour] .= "
$hour:$minute ".get_lang('GlobalEvent'). ": ".$item['title']."
"; } } //print_r($agendaitems); diff --git a/main/work/work.lib.php b/main/work/work.lib.php index 861bf9a357..482b87b829 100644 --- a/main/work/work.lib.php +++ b/main/work/work.lib.php @@ -1206,7 +1206,7 @@ function to_javascript_work() { { msg_id2.style.display ="block"; - msg_id2.innerHTML="'.get_lang('DateExpiredNotBeLessDeadLine').'"; + msg_id2.innerHTML="'.get_lang('EndDateCannotBeBeforeTheExpireDate').'"; msg_id1.innerHTML="";msg_id3.innerHTML="";msg_id4.innerHTML="";msg_id5.innerHTML=""; } else if (checkDate(expires_month,expires_day,expires_year) == false)