Extracts selected text from a GSP file to message.properties.