--- a/misc/migration/postcreate.py Mon Oct 19 14:28:30 2015 +0200
+++ b/misc/migration/postcreate.py Mon Oct 19 14:29:53 2015 +0200
@@ -20,6 +20,9 @@
from six import text_type
+from cubicweb import _
+
+
# insert versions
create_entity('CWProperty', pkey=u'system.version.cubicweb',
value=text_type(config.cubicweb_version()))
--- a/server/test/data-migractions/migratedapp/schema.py Mon Oct 19 14:28:30 2015 +0200
+++ b/server/test/data-migractions/migratedapp/schema.py Mon Oct 19 14:29:53 2015 +0200
@@ -21,6 +21,7 @@
SubjectRelation, Bytes,
RichString, String, Int, Boolean, Datetime, Date, Float)
from yams.constraints import SizeConstraint, UniqueConstraint
+from cubicweb import _
from cubicweb.schema import (WorkflowableEntityType, RQLConstraint,
RQLVocabularyConstraint,
ERQLExpression, RRQLExpression)
--- a/server/test/data-migractions/schema.py Mon Oct 19 14:28:30 2015 +0200
+++ b/server/test/data-migractions/schema.py Mon Oct 19 14:29:53 2015 +0200
@@ -24,6 +24,8 @@
RQLConstraint, RQLUniqueConstraint,
RQLVocabularyConstraint,
ERQLExpression, RRQLExpression)
+from cubicweb import _
+
class Affaire(WorkflowableEntityType):
__permissions__ = {
--- a/server/test/data/schema.py Mon Oct 19 14:28:30 2015 +0200
+++ b/server/test/data/schema.py Mon Oct 19 14:29:53 2015 +0200
@@ -24,6 +24,7 @@
RQLConstraint, RQLUniqueConstraint,
RQLVocabularyConstraint,
ERQLExpression, RRQLExpression)
+from cubicweb import _
class Affaire(WorkflowableEntityType):
__permissions__ = {
--- a/uilib.py Mon Oct 19 14:28:30 2015 +0200
+++ b/uilib.py Mon Oct 19 14:29:53 2015 +0200
@@ -34,6 +34,7 @@
from logilab.common.date import ustrftime
from logilab.common.deprecation import deprecated
+from cubicweb import _
from cubicweb.utils import js_dumps