Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Imported From: http://groups.google.com/group/in-portal-bugs/browse_thread/thread/a769df518e3a3dec#

Hi,

I think there is a minor bug in "function DateField($params)" (part of DB
tag processor).

Code Block
// prepare phrase replacements

...

 
$replacements = Array (

...

 
	'l' => 'la_WeekDay',

...

 
	'D' => 'la_WeekDay',

...

 
	'M' => 'la_Month',

...

 
	'F' => 'la_Month',

...

 
);

Should be: 

Code Block
// prepare phrase replacements

...

 
$replacements = Array (

...

 
	'l' => 'la_WeekDay_',

...

 
	'D' => 'la_WeekDay_',

...

 
	'M' => 'la_Month_',

...

 
	'F' => 'la_Month_',

...

 
);

so  so the Language phrases are "la_Month_December" instead of
of "la_MonthDecember" which would be hard to read and understand that it's
composed label.

--

Best regards,

Dmitry As composed label.