Bug 190338 TVT33:TCT520: pl: Contribute Samples not localized
<response_by> Moravia IT at 2007.05.31.14.54.17 </response_by> Subject: pl - Contribute Samples not localized OS: Linux only Build date: 20070530 Component name: BIRT Blocking: no Tester Name: Kamil Ignacak (PL) Steps to recreate the problem: - open view Report And Chart Design -> Report Examples - select Contribute Samples Problem description: Contribute Samples is in English - user will not know why there is no report description and why he should "submit a bugzilla entry at... ". Changing a description (e.g. to "Please consider sharing your own examples. To do so submit a bugzilla entry at...") would also help a lot. Kamil <response_by> Cam-Thu Le at 2007.05.31.15.27.03 </response_by> Please check the attached screen shot for detail. Doshiro. <response_by> Cam-Thu Le at 2007.05.31.15.27.16 </response_by> This article was reassigned from Category:''TVT Testcases''.
UI/org.eclipse.birt.report.designer.ui.samplesview/src/org/eclipse/birt/report/designer/ui/samplesview/view/ReportExamples.java
ViewsTreeProvider provider = new SampleReportsExplorerProvider( );
		samplesTree.setContentProvider( provider );
		samplesTree.setLabelProvider( provider );
		samplesTree.getTree( ).addSelectionListener( new SelectionListener( ) {
			public void widgetSelected( SelectionEvent e )
			{
				TreeItem item = (TreeItem) e.item;
				if ( item != null )
				{
					if ( item.getData( ) instanceof ReportDesignHandle )
					{
						String reportname = item.getText( ).substring( 0,
								item.getText( ).lastIndexOf( "." ) );
						description.setText( DescriptionMessages.getDescription( reportname ) );
						previewSampleReport( reportname );
						setSelectedElement( item );
					}
					else if ( item.getText( ).equals( "Contribute Samples" ) )
					{
						description.setText( DescriptionMessages.getDescription( "Contribute_Samples" ) );
						setSelectedElement( item );
					}
					else
					{
						description.setText( Messages.getString( "SampleReportsView.defautDescription" ) );
						setSelectedElement( item );
					}
				}
			}
			public void widgetDefaultSelected( SelectionEvent e )