From d11f726b6b0ce97e71b1d154e75ee8e4d317fdda Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Mon, 30 May 2011 09:16:33 +0000 Subject: [PATCH] spelling and trad --- htdocs/core/class/html.form.class.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 31b4bc4bc29..f51517157f5 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -2817,9 +2817,9 @@ class Form /** - * Show a HTML widget to input a date or combo list for daye, month, years and optionnaly hours and minutes + * Show a HTML widget to input a date or combo list for day, month, years and optionnaly hours and minutes * Fields are preselected with : - * - set_time date (Local PHP server timestamps ou date au format YYYY-MM-DD ou YYYY-MM-DD HH:MM) + * - set_time date (Local PHP server timestamps or date format YYYY-MM-DD or YYYY-MM-DD HH:MM) * - local date of PHP server if set_time is '' * - Empty (fields empty) if set_time is -1 (in this case, parameter empty must also have value 1) * @param set_time Pre-selected date (must be a local PHP server timestamp) @@ -2848,10 +2848,10 @@ class Form if (! $set_time && $empty == 0) $set_time = dol_now('tzuser'); - // Analyse de la date de pre-selection + // Analysis of the pre-selection date if (preg_match('/^([0-9]+)\-([0-9]+)\-([0-9]+)\s?([0-9]+)?:?([0-9]+)?/',$set_time,$reg)) { - // Date au format 'YYYY-MM-DD' ou 'YYYY-MM-DD HH:MM:SS' + // Date format 'YYYY-MM-DD' or 'YYYY-MM-DD HH:MM:SS' $syear = $reg[1]; $smonth = $reg[2]; $sday = $reg[3]; @@ -2919,7 +2919,7 @@ class Form // Show date with combo selects if (empty($conf->use_javascript_ajax) || $conf->global->MAIN_POPUP_CALENDAR == "none") { - // Jour + // Day $retstring.=''; if ($empty || $set_time == -1)