pkit_gettext_message — Adds translated message to PKIT_MESSAGES tag


      # regular message
      $model->pkit_gettext_message("Your listing has been deleted.");
      # error message
      $model->pkit_gettext_message("You did not fill out the required fields.",
               is_error => 1);
      # pkit_gettext_message is a shortcut for
      $model->pkit_message($model->pkit_gettext('the message'), ...);


Adds a translated message to be displayed to the user. The message can displayed using the <PKIT_MESSAGES> tag.

To add an error message, set is_error to a true value.

Note that the message is passed along in the URI if you perform a redirect using the pkit_redirect method. See also pkit_gettext and pkit_message.