Bug 148525 Display text is not found from library resource file
Steps to reproduce: 1.New a library, add a resource file "a.properties" 2.Add a label with text"abc", add a localization "k1=actuate" 3.New a report, extend the label 4.Preview the report Expected result: Report shows "actuate" in preview Actual result: Report shows "actuate" in layout, but "abc" in preview
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/presentation/LocalizedContentVisitor.java
* @param text
	 *            default text
	 * @return localized text.
	 */
	private String localize( String key, String text )
	{
		ReportDesignHandle reportDesign = getReportDesign( ); 
		if ( key != null && reportDesign != null )
		{
			String t = reportDesign.getMessage( key, locale );
			if ( t != null )
			{
				return t;
			}
		}
		return text;
	}
	public Object visitImage( IImageContent image, Object value )
	{
		ImageScriptExecutor.handleOnRender( image, context );
		processImage( image );
		return image;
	}
	protected void processImage( IImageContent image )
	{
		String altText = localize( image.getAltTextKey( ), image.getAltText( ) );
		image.setAltText( altText );
		String helpText = localize( image.getHelpKey( ), image.getHelpText( ) );
		image.setHelpText( helpText );
	}