Bug 333400 Externalize Strings in Perspective Switcher
Build Identifier: e4 M4a Strings in perspective switcher should be externalized for translation issues. Reproducible: Always
bundles/org.eclipse.e4.ui.workbench.addons.swt/src/org/eclipse/e4/ui/workbench/addons/perspectiveswitcher/PerspectiveSwitcher.java
if (page == null) {
			try {
				
				workbenchWindow.openPage(desc.getId(),
						((Workbench) workbenchWindow.getWorkbench()).getDefaultPageInput());
			} catch (WorkbenchException e) {
				IStatus errorStatus = new Status(
						IStatus.ERROR,
						WorkbenchPlugin.PI_WORKBENCH,
						NLS.bind(WorkbenchMessages.Workbench_showPerspectiveError, desc.getLabel()),
						e);
				StatusManager.getManager().handle(errorStatus, StatusManager.SHOW);
			}
		} else {
			page.setPerspective(desc);
		}
	}
	private void selectPerspective() {
		SelectPerspectiveDialog dialog = new SelectPerspectiveDialog(psTB.getShell(), PlatformUI
				.getWorkbench().getPerspectiveRegistry());
		dialog.open();
		if (dialog.getReturnCode() == Window.CANCEL) {
			return;
		}
		IPerspectiveDescriptor descriptor = dialog.getSelection();
		if (descriptor != null) {
			MPerspective persp = getPerspectiveFor(descriptor);
			if (persp != null) {
				if (!persp.isToBeRendered())
					persp.setToBeRendered(true);