String names, naming conventions

Mongoose uses these naming conventions for translatable string objects:

String names that begin with the letter: Are used for this purpose:
s Primarily for Static components and component captions (labels). When in doubt, use this prefix.
f Form captions. These strings appear in the title bar of forms in the Classic view and in the form tab in the Tabbed UI view.
m Message strings. These strings to form and display user messages, for errors, for successful operation, etc. These strings can contain substitution markers.
h Help strings. These strings do not apply to the online help, but rather to the popup help tips that you see when the mouse hovers over a component or toolbar icon.
p Property name strings. These string names are primarily intended for substitution in message strings via the %p syntax in the message. However, they can also be used as captions on form components.
o Object property name strings.  

We recommend using these same naming conventions when creating your own captions, message strings, etc.

Rubriques liées