One way is to save all these strings to a text file.
When the vi runs, all the commands loads to a string array (or you can default the array to all possible string commands). Then from a menu ring, you can associate an action with the corresponding element of the array by indexing.
Since the strings are constants, the operator should select rather than edit the string values.