[Testbot] Plone 5.0 - Python 2.7 - Build # 2612 - Still failing! - 0 failure(s)
jenkins at plone.org
jenkins at plone.org
Fri Jun 20 19:06:34 UTC 2014
-------------------------------------------------------------------------------
Plone 5.0 - Python 2.7 - Build # 2612 - Still Failing!
-------------------------------------------------------------------------------
http://jenkins.plone.org/job/plone-5.0-python-2.7/2612/
-------------------------------------------------------------------------------
CHANGES
-------------------------------------------------------------------------------
Repository: plone.namedfile
Branch: refs/heads/master
Date: 2014-06-20T18:40:38+02:00
Author: Timo Stollenwerk (tisto) <tisto at plone.org>
Commit: https://github.com/plone/plone.namedfile/commit/87d37f9329464a1c1832aa243b6b4ee9f36234e8
Revert "Internationalize field factory label."
This reverts commit 570fe483c4b57ab4ba5641c37574705f6f858f60.
Files changed:
M docs/HISTORY.txt
M plone/namedfile/editor.py
diff --git a/docs/HISTORY.txt b/docs/HISTORY.txt
index 9217a35..1e68052 100644
--- a/docs/HISTORY.txt
+++ b/docs/HISTORY.txt
@@ -4,8 +4,7 @@ Changelog
3.0.1 (unreleased)
------------------
-- Internationalize field factory label.
- [thomasdesvenain]
+- Nothing changed yet.
3.0.0 (2014-04-13)
diff --git a/plone/namedfile/editor.py b/plone/namedfile/editor.py
index c13b42e..09cbab8 100644
--- a/plone/namedfile/editor.py
+++ b/plone/namedfile/editor.py
@@ -1,11 +1,7 @@
-from zope.i18nmessageid.message import MessageFactory
from plone.namedfile import interfaces
from plone.namedfile import field
from plone.schemaeditor.fields import FieldFactory
-_ = MessageFactory('plone')
-
-
class INamedFileField(interfaces.INamedFileField):
default = field.NamedFile(
@@ -33,8 +29,8 @@ class INamedImageField(interfaces.INamedImageField):
'missing_value'].description,
required=False)
-NamedFileFactory = FieldFactory(field.NamedFile, _(u'File Upload'))
-NamedImageFactory = FieldFactory(field.NamedImage, _(u'Image'))
+NamedFileFactory = FieldFactory(field.NamedFile, u'File Upload')
+NamedImageFactory = FieldFactory(field.NamedImage, u'Image')
class INamedBlobFileField(interfaces.INamedBlobFileField):
@@ -66,5 +62,5 @@ class INamedBlobImageField(interfaces.INamedBlobImageField):
'missing_value'].description,
required=False)
-NamedBlobFileFactory = FieldFactory(field.NamedBlobFile, _(u'File Upload'))
-NamedBlobImageFactory = FieldFactory(field.NamedBlobImage, _(u'Image'))
+NamedBlobFileFactory = FieldFactory(field.NamedBlobFile, u'File Upload')
+NamedBlobImageFactory = FieldFactory(field.NamedBlobImage, u'Image')
-------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CHANGES.log
Type: application/octet-stream
Size: 2105 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140620/ec282236/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 103977 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140620/ec282236/attachment-0003.obj>
More information about the Testbot
mailing list