Menu View

 

The Menu view shows a single menu resource in a tree view display for both the source and target languages.  In this view it is possible to select and edit individual menu items.  If the source menu item has a shortcut (e.g., "Ctrl+C"), this can be modified using the Shortcut Key(s) command (Edit menu).

 

Related topics...

 

A menu preview (WYSIWYG display) of menu resources as an actual Windows menu can be viewed by clicking on the Menu Preview toolbar button ( ).

 

 

Figure 1:  The Menu view with two toolbars at the top and the split view displaying the source (right) and target (left) menus with a tree structure.  The lower part of the view has various tab views with other relevant information.  Note the symbols in  target menu indicating a missing hotkey for one item ("Nouveau") and a doubled hotkey ("E") for two other items "&Enregistrer" and "Enregistrer sous...").

 

 

Opening the Dialog Box View

The Dialog Box view can be opened from the Project window (primary window of a translation project) in one of three ways:

Clicking on the View Resource toolbar button.

Double-clicking on the appropriate entry in the Text Table view.

Clicking on the Dialog Box symbol in the Text Table view.

 

 

Figure 2:  Menu resources in the Project window's Text Table view.

 

 

Toolbars

The Menu view has two toolbars with commands for working with menus: the Menu View toolbar and the Navigation toolbar.

 

·

Menu View Toolbar

 

 

Close Button

Closes the Menu view.

 

Fixed View Button

Fixes, or designates, the view as the one view for displaying menu resources.  When this button is pressed, this view alone will be used to display menu resources.  Otherwise, a new, separate view will be opened for each menu that you want to display.

 

Tile Window Button

Tiles the window vertically with the primary Menu (tree) view on top and the tab views on the bottom.

 

Menu Preview Button

Opens a Menu Preview window.

 

Hotkey Suggestion Button

Opens the Hotkey Suggestion dialog box.

 

 

·

Navigation Toolbar

 

 

Source View Button

Limits the menu tree view display to the source menu only.  The target menu will be hidden.

Source and Target View Button

Displays the source and target menus side by side.

Target View Button

Limits the menu tree view display to the target menu only.  The source menu will be hidden.

Previous Menu Button

Displays the previous menu (sequentially) in the active translation project.

Next Menu Button

Displays the next menu (sequentially) in the active translation project.

 

 

 

Tab Views

There are four different tab views in the secondary window of the Menu view: Captions, Repetitions, Hotkey Check, and Right-to-Left (RTL).

 

·

Captions Tab View

The Captions tab view (Figure 1) lists the texts of all the menu items for the selected menu resources.  As with the Text Table view, an item can be selected and translated directly in the view (inline editing) as well as through the Translation Edit bar.

 

·

Repetitions Tab View

The Repetitions tab view (Figure 3) lists all of the repetitions for the item currently selected in the Menu view.  All translation units that have the exact same source text are considered repetitions.

 

 

Figure 3:  The Menu view with the tree view display on top and the Repetitions tab active at the bottom. The "New" (French translation: "Nouveau") item has been selected and the Repetitions tab shows a total of 2 items having this exact source text.

 

 

·

Hotkey Check Tab View

The Hotkey Check tab view lists those caption texts for which hotkey errors have been detected (missing/doubled hotkeys).  This check is performed automatically; manual execution is not necessary.  The tab will display one of two symbols (Figure 5) indicating the presence or absence of hotkey errors for the selected menu.

 

Two types of hotkey errors are reported:

1.

Missing hotkey.  The source text contains a hotkey specification (mnemonic key), but the target text (translation) does not.

2.

Doubled hotkey.  The same hotkey character is used more than once.

 

Hotkey errors can be resolved in one of two ways:

1.

Edit the target text (translation) in the Translation Edit bar or use direct inline editing to place the ampersand character (& – designates the next character as the hotkey) in front of the desired hotkey character.

2.

Use the Hotkey Suggestion dialog box to resolve the error.  Access by right mouse-clicking to open a local menu and selecting the Hotkey Suggestion command (Figure 4).  The same command is also available in the Edit menu.

3.

Use the hotkey suggestion page in the Extended View bar.  The Hotkey Suggestion command from the Checks menu activates the page.

 

 

Figure 4:  The Menu view with the tree view display of the target menu on active at the top and the Hotkey Check tab active below.  The symbols shown in the view indicate a missing  for one of the items ("File") and a doubled hotkey ("e") for two other items ("&Enregistrer" and "F&ermer").

 

 

 

Symbols:

Indicates a missing mnemonic key (hotkey).

Indicates a doubled hotkey (the same hotkey is used for more than one item).  The number shown next to the symbol designates the items with the same hotkey.

 

 

Figure 5:  The Hotkey Check tab view.

A green check mark on the Hotkey Check tab indicates that there are no hotkey conflicts for the selected dialog box.

A red exclamation point symbol on the Hotkey Check tab indicates that hotkey conflicts have been found for the selected dialog box.

.

 

 

Related topics...

 

 

·

Right-to-Left (RTL) Tab View

The Right-to-Left (RTL) tab is used to set the RTL (right-to-left) reading order for the currently selected menu resource or for all the menu resources in the translation project at once.

 

NOTE ON WIN32 DIALOG BOXES AND .NET WINDOWS FORMS: The "menu layout styles" vary accordingly for Win32 dialog boxes (Figure 6) and .NET Windows Forms (Figure 7).  The Apply to all menus command button only works for Win32 dialog boxes OR .NET Windows Forms, respectively.  This is noteworthy if the translation project contains both Win32 and .NET resource files.

 

 

Figure 6:  The Menu view showing a Win32  menu resource, with the tree view display on top and the Right-to-Left (RTL) tab active at the bottom.

 

 

Figure 7:  The Menu view showing a .NET Windows Form, with the tree view display on top and the Right to-Left (RTL) tab active at the bottom.

 

 

Menu-Relevant Check Functions

The hotkey check finds missing and doubled hotkeys in menu resources and reports these errors in the Check Results view, the Menu view, and the Hotkey Check tab view.

 

Please refer to the "Checks" help topic for information on running checks and viewing reported errors.

 

 

^ TOP ^