Bug 294796 [Contributions] API request: LegacyActionTools#escapeMnemonics(String)
bundles/org.eclipse.jface/src/org/eclipse/jface/action/LegacyActionTools.java
.put(
						JFaceResources.getString("F10").toUpperCase(), new Integer(SWT.F10)); 
		localizedKeyCodes
				.put(
						JFaceResources.getString("F11").toUpperCase(), new Integer(SWT.F11)); 
		localizedKeyCodes
				.put(
						JFaceResources.getString("F12").toUpperCase(), new Integer(SWT.F12)); 
	}
	/**
	 * Initialize the list of localized modifiers
	 */
	private static void initLocalizedModifiers() {
		localizedCtrl = JFaceResources.getString("Ctrl").toUpperCase(); 
		localizedShift = JFaceResources.getString("Shift").toUpperCase(); 
		localizedAlt = JFaceResources.getString("Alt").toUpperCase(); 
		localizedCommand = JFaceResources.getString("Command").toUpperCase(); 	
	}
	/**
	 * Convenience method for removing any optional accelerator text from the
	 * given string. The accelerator text appears at the end of the text, and is
	 * separated from the main part by a single tab character <code>'\t'</code>.
	 * 
	 * @param text
	 *            the text
	 * @return the text sans accelerator
	 */
	public static final String removeAcceleratorText(final String text) {
		int index = text.lastIndexOf('\t');
		if (index == -1) {