Piki is a minimal wiki
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

messages.py 554B

123456789101112
  1. from django.contrib import messages
  2. from django.utils.translation import gettext as _
  3. def permission_denied_msg_page(request, rel_path):
  4. # TODO: Add translation for this message
  5. messages.error(request, _("Permission denied: You don't have sufficient acces to the Page '%s'. Please contact the adminstrator.") % rel_path)
  6. def unavailable_msg_page(request, rel_path):
  7. # TODO: Add translation for this message
  8. messages.info(request, _("Unavailable: The Page '%s' is not available. Create it or follow a valid link, please.") % rel_path)