<commit_before># -*- coding: utf-8 -*-
# Copyright (c) 2009 gocept gmbh & co. kg
# See also LICENSE.txt

import gocept.form.grouped
import zeit.cms.browser.interfaces
import zeit.cms.content.interfaces
import zeit.cms.workflow.interfaces
import zeit.content.cp.interfaces
import zeit.objectlog.interfaces
import zeit.workflow.browser.form
import zope.component
import zope.dublincore.interfaces
import zope.formlib.form
import zope.formlib.form
from zeit.content.cp.i18n import MessageFactory as _


class CenterPageWorkflowForm(zeit.workflow.browser.form.WorkflowForm):

    error_message = 'Could not publish ${id} since it has validation '\<commit_msg>docfix<commit_after># -*- coding: utf-8 -*-
# Copyright (c) 2009 gocept gmbh & co. kg
# See also LICENSE.txt

import gocept.form.grouped
import zeit.cms.browser.interfaces
import zeit.cms.content.interfaces
import zeit.cms.workflow.interfaces
import zeit.content.cp.interfaces
import zeit.objectlog.interfaces
import zeit.workflow.browser.form
import zope.component
import zope.dublincore.interfaces
import zope.formlib.form
import zope.formlib.form
from zeit.content.cp.i18n import MessageFactory as _


class CenterPageWorkflowForm(zeit.workflow.browser.form.WorkflowForm):
    # same as zeit.workflow.browser.form.ContentWorkflow, except for the fields:
    # we use only ICenterPageWorkflow (which doesn't add anything to
    # ITimeBasedPublishing) instead of zeit.workflow.interfaces.IContentWorkflow

    error_message = 'Could not publish ${id} since it has validation '\
{'fraction_non_alphanumeric': 0.09061277705345502, 'fraction_numerical': 0.009126466753585397, 'mean_word_length': 4.972762645914397, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6257496', 'n_tokens_mistral': 506, 'n_tokens_neox': 484, 'n_words': 122}