Bug 205709 Translation table is missed when report design is flattened
It happens when a report design with a localization property file and some library (otherwise it's not flattened!) is executed. Such report document has no transaltion table and then can not be localized. The problem is in org.eclipse.birt.report.model.util.ReportDesignSerializer#visitReportDesign which does not copy the translation table from ReportDesignSerializer#sourceDesign to ReportDesignSerializer#targetDesign.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/ReportDesignSerializer.java
{
			addExternalElement( elements, processedElements, originalContainer );
		}
		processedElements.add( originalElement );
		DesignElement tmpElement = (DesignElement) externalElements
				.get( originalElement );
		DesignElement tmpContainer = getTargetContainer( originalElement,
				tmpElement, processedElements );
		ContainerContext context = null;
		if ( tmpContainer != null )
			context = originalElement.getContainerInfo( ).createContext(
					tmpContainer );
		if ( context == null && originalContainer instanceof Theme )
		{
			int newId = IReportDesignModel.STYLE_SLOT;
			context = new ContainerContext( targetDesign, newId );
		}
		
		if ( context == null && originalContainer instanceof Library )
		{
			context = originalElement.getContainerInfo( );
			int newId = DesignElement.NO_SLOT;
			switch ( context.getSlotID( ) )
			{
				case ILibraryModel.THEMES_SLOT :
					newId = IDesignElementModel.NO_SLOT;
					assert false;
					break;
				case ILibraryModel.CUBE_SLOT :
					newId = IReportDesignModel.CUBE_SLOT;