old_contents: # Copyright (c) 2007-2011 gocept gmbh & co. kg
  # See also LICENSE.txt
  
  from zeit.cms.i18n import MessageFactory as _
  import zeit.cms.browser.menu
  
  
  class EditContentsMenuItem(zeit.cms.browser.menu.ContextViewsMenu):
  
      sort = -1
      viewURL = "@@edit.html"
      activeCSS = 'edit_contents selected'
      inActiveCSS = 'edit_contents'
  
      @property
      def title(self):
          return _("Edit contents")
  
      @property
      def selected(self):
          selected = self.request.getURL().endswith('@@edit.html')
          return selected
  
new_contents: # Copyright (c) 2007-2011 gocept gmbh & co. kg
  # See also LICENSE.txt
  
  from zeit.cms.i18n import MessageFactory as _
  import zeit.cms.browser.menu
  
  
  class EditContentsMenuItem(zeit.cms.browser.menu.ContextViewsMenu):
  
      sort = -1
      viewURL = "@@edit.html"
      title = _("Edit contents")
      activeCSS = 'edit_contents selected'
      inActiveCSS = 'edit_contents'
  
      @property
      def selected(self):
          selected = self.request.getURL().endswith('@@edit.html')
          return selected
  
subject: Simplify spelling