Inserting a Translatable String into an Existing Jade Method
You can insert an existing translatable string into a Jade method displayed in the editor pane.
To insert an existing translatable string into the current method
-
Position the caret at the position in the method at which the string is to be inserted.
-
Press Shift+F6.
-
The Select String dialog, shown in the following image, is then displayed. The dialog lists all translatable strings that are available to the current schema.
This form is also displayed when you select a property in the Translatable Property Browser in the Jade Painter. (For details, see "Using the Translatable Property Browser", in Chapter 5.)
-
In the Available Strings list box, select the string that is to be inserted into the Jade method or specify the name of the string in the Find String text box. The value specified in the Find String text box acts as the starting key to locate an available string in the current schema.
-
If you want to perform a wildcard search, check the *.* check box at the upper right of the dialog and then press Enter. All translatable strings in the current schema that contain the text specified in the Find String text box in its name or its value are then displayed in the Available Strings list box. The search is case‑insensitive.
-
When you have selected the translatable string that you want to insert, click the OK button.
The name of the string (rather than the string definition itself) is then inserted at the current caret position into the Jade method displayed in the editor pane. For example, $The_Fixed_Row is inserted into the Jade method if you selected the The_Fixed_Row string.
When you use a translatable string in a Jade method, the string must be prefixed with a dollar sign ($); for example:
igfFrame.myOutln.IGOutln.addXLbl(time.userFormat($PlainTime));