Bug 149783 Display text for extend elelment in master page is not found
Steps to reproduce: 1.New a library, add a properties file for the library, add pair"k1=actuate" to the properties file 2.Add a label "aaa" in master page header, set "k1" as the text key 3.Publish the library 4.New a report, extend lib.masterpage 5.Open extended master page in report Expected result: label shows display text "actuate" Actual result: label shows text "aaa"
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/ModelUtil.java
}
		} );
		return temp;
	}
	/**
	 * Inserts a default theme to the library slot.
	 * 
	 * @param library
	 *            the target library
	 * @param theme
	 *            the theme to insert
	 */
	public static void insertCompatibleThemeToLibrary( Library library,
			Theme theme )
	{
		assert library != null;
		assert theme != null;
		
		
		String name = theme.getName( );
		assert !StringUtil.isBlank( name )
				&& ModelMessages.getMessage( Theme.DEFAULT_THEME_NAME ).equals(
						name );
		NameSpace ns = library.getNameSpace( Library.THEME_NAME_SPACE );
		assert library.getModuleNameSpace( Library.THEME_NAME_SPACE )
				.canContain( name );
		ns.insert( theme );
		
		library.getSlot( Library.THEMES_SLOT ).add( theme );