Task 5: Refining the vocabulary
You improve the verbalization of the subject of a phrase and a method with arguments.
About this task
If necessary, you can edit terms or phrases in the default verbalization to make them easier to understand. You edit a class verbalization of the BOM editor by using the Edit Term dialog. You edit member verbalization, or the navigation and action phrases, in the Template field by using text and Content Assist. To edit the subject that is used in a phrase, you use the Edit Term dialog.
In the rule UnderAge, you must make the following phrases clearer:
the customer age of the rental agreement
the session .displayMessage ( "...")
The phrase the customer age of the rental agreement
might be confusing because it seems to associate age
with rental agreement
. To make it less ambiguous, you
can edit the term customer age
, which is the subject of
the phrase.
Step 1: Editing the subject of a phrase
You edit the subject of the phrase the customer age of
the rental agreement
to make it less ambiguous.
Procedure
Step 2: Editing the verbalization of a method
You edit the verbalization of the method Session.displayMessage
to clarify the meaning.