From d5614bb2e741e23c6afdc8da23aa33d2531f22a5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= Date: Tue, 4 Mar 2014 16:09:01 +0100 Subject: [PATCH] =?utf8?q?Le=20dico=20=C2=AB=C2=A0methods=C2=A0=C2=BB=20qu?= =?utf8?q?'on=20pouvait=20mettre=20dans=20le=20=5F=5Finit=5F=5F.py=20d'un?= =?utf8?q?=20produit=20n'est=20plus=20support=C3=A9=20(en=20m=C3=AAme=20te?= =?utf8?q?mps,=20=C3=A7a=20fait=20des=20ann=C3=A9es=20qu'ils=20pr=C3=A9ven?= =?utf8?q?aient=E2=80=A6).=20=C3=87a=20rendait=20inop=C3=A9rant=20les=20fo?= =?utf8?q?nctions=20de=20copier=20/=20coller.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- __init__.py | 10 ------ locales/en/LC_MESSAGES/plinn.mo | Bin 2348 -> 2348 bytes locales/en/LC_MESSAGES/plinn.po | 42 ++++++++++++++------------ locales/fr/LC_MESSAGES/plinn.mo | Bin 41715 -> 41743 bytes locales/fr/LC_MESSAGES/plinn.po | 52 ++++++++++++++++++-------------- locales/plinn-manual.pot | 3 -- locales/plinn.pot | 42 ++++++++++++++------------ patch.py | 7 +++++ skins/generic/widgets.pt | 12 +++++--- 9 files changed, 90 insertions(+), 78 deletions(-) diff --git a/__init__.py b/__init__.py index df0ca9b..c7ca0e6 100755 --- a/__init__.py +++ b/__init__.py @@ -38,7 +38,6 @@ import GroupDataTool import RegistrationTool import CalendarTool import AttachmentTool -#from shutdown_dispatcher import ZopeShutdownDispatcher from PloneMisc import IndexIterator, Batch from utils import getCPInfo, popCP @@ -61,13 +60,6 @@ tools = ( MembershipTool.MembershipTool , AttachmentTool.AttachmentTool ) -methods = { -'getCPInfo': getCPInfo, -'getCPInfo__roles__': None, -'popCP' : popCP, -'popCP__roles__' : None -} - # register font extensions registerFileExtension('ttf', FSFile) registerFileExtension('eot', FSFile) @@ -78,8 +70,6 @@ def initialize(registrar) : allow_module('Products.Plinn.PloneMisc') allow_class(IndexIterator) allow_class(Batch) - app = registrar._ProductContext__app - #ZopeShutdownDispatcher(registrar._ProductContext__app) core_cmf_utils.ContentInit( 'Plinn', diff --git a/locales/en/LC_MESSAGES/plinn.mo b/locales/en/LC_MESSAGES/plinn.mo index 1dd78a1639100546fb358d4e6092ba86186bc007..59a351341043088595848289e2adcdf2f1b65cad 100644 GIT binary patch delta 32 ncmZ1@v_@!yGn;ToX{v&6Vv&M^iGrc2m7%efiRI=nwrflPob?GE delta 32 ncmZ1@v_@!yGn;U5X`X^tVxEGbrGlY>m5HU5snO;zwrflPo^J^< diff --git a/locales/en/LC_MESSAGES/plinn.po b/locales/en/LC_MESSAGES/plinn.po index df0b49d..a54f656 100644 --- a/locales/en/LC_MESSAGES/plinn.po +++ b/locales/en/LC_MESSAGES/plinn.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: Plinn 2.0\n" -"POT-Creation-Date: Sun Jan 19 10:49:52 2014\n" +"POT-Creation-Date: Tue Mar 4 15:13:49 2014\n" "PO-Revision-Date: 2013-11-28 13:12+0100\n" "Last-Translator: Benoît PIN\n" "Language-Team: CRI http://cri.ensmp.fr\n" @@ -262,7 +262,7 @@ msgstr "" #: n/skins/custom_content/event_edit_template.pt:78 #: n/skins/custom_content/event_edit_template.pt:103 -#: n/skins/generic/widgets.pt:94 +#: n/skins/generic/widgets.pt:96 msgid "" "${month} / ${day} / ${year}  ${hour} :" " ${minute}" @@ -586,11 +586,6 @@ msgstr "" msgid "Request made by IP ${ip} at ${time}" msgstr "" -#: n/skins/custom_generic/main_template_standard.pt:96 -#: n/skins/photo_theme/main_template_standard.pt:97 -msgid "Skip to content" -msgstr "" - #: n/skins/custom_generic/main_template_standard.pt:111 #: n/skins/custom_generic/talkback_tree.pt:63 #: n/skins/generic/main_template_ajax.pt:12 @@ -1071,21 +1066,21 @@ msgstr "" msgid "locale_date_fmt" msgstr "" -#: n/skins/generic/main_template_macros.pt:78 +#: n/skins/generic/main_template_macros.pt:80 #: n/skins/photo_theme/main_template_macros.pt:91 msgid "You are here:" msgstr "" -#: n/skins/generic/main_template_macros.pt:91 -#: n/skins/generic/main_template_macros.pt:94 -#: n/skins/generic/main_template_macros.pt:112 -#: n/skins/generic/main_template_macros.pt:113 +#: n/skins/generic/main_template_macros.pt:93 +#: n/skins/generic/main_template_macros.pt:96 +#: n/skins/generic/main_template_macros.pt:114 +#: n/skins/generic/main_template_macros.pt:115 #: n/skins/photo_theme/main_template_macros.pt:100 #: n/skins/photo_theme/main_template_macros.pt:113 msgid "Paste" msgstr "" -#: n/skins/generic/main_template_macros.pt:109 +#: n/skins/generic/main_template_macros.pt:111 #: n/skins/photo_theme/main_template_macros.pt:110 msgid "Exit boxes editing" msgstr "" @@ -1146,7 +1141,7 @@ msgstr "" msgid "Register" msgstr "" -#: n/skins/generic/recent_news.pt:21 n/skins/generic/widgets.pt:123 +#: n/skins/generic/recent_news.pt:21 n/skins/generic/widgets.pt:125 msgid "News" msgstr "" @@ -1341,11 +1336,19 @@ msgstr "" msgid "Edit metadata" msgstr "" -#: n/skins/generic/widgets.pt:53 +#: n/skins/generic/widgets.pt:57 msgid "Clipboard" msgstr "" -#: n/skins/generic/widgets.pt:128 +#: n/skins/generic/widgets.pt:63 +msgid "Delete" +msgstr "" + +#: n/skins/generic/widgets.pt:64 +msgid "Empty" +msgstr "" + +#: n/skins/generic/widgets.pt:130 msgid "News Item" msgstr "" @@ -1357,6 +1360,10 @@ msgstr "" msgid "Loading progress..." msgstr "" +#: n/skins/photo_theme/main_template_standard.pt:97 +msgid "Skip to content" +msgstr "" + #: n/skins/photo_theme/realis_main_macros.pt:28 msgid "Join" msgstr "" @@ -1626,9 +1633,6 @@ msgstr "" msgid "December_abbr" msgstr "Dec" -msgid "Delete" -msgstr "" - msgid "depublish" msgstr "" diff --git a/locales/fr/LC_MESSAGES/plinn.mo b/locales/fr/LC_MESSAG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I1a z$*)3vMsK37{iN^7KOZP@O3C-JdkxIN<`vpBCw)#i3xj4QHMZwYJsN)kH|vu=u^UZj z)ZX&jaRBK9Qcmi1Ep`Nc2J_rYq(4aqNG)j7f;-2pO)2WukWa!VxTnweU*vT?ul>J4 zraVc%v2Jr?HZCXqKpIEVHP9YV{zcN)lnanvA+@8Nn^cZ`2Yj1Uh=ESxtJFP%v#>iU zntJ_4T|s^jsj}i}<>H~WdkIT5RmvoqX6>eN5{{-n% zlCJ9u@|KS(`XRaDq$oYgm5BPKr0d3l`sJhi0hEfm3a>SH@7dibtWGLMdYu$Qo6)2M z@{t&CJ?ha1)cr^rNd5yXhIw^^Yd)#1wdG#`p1xmk*dA5%2J`bK=`t1hNgGMSC~t5L zymI#NaLPldKSI)#lXCUPCZW2zl;5}KRIWt6tTJ4iNuBLpbMxq<*CmAqd(fa7R<@h9 z$e*-)2zmZU_BK;)ZFLm?|5`)c1WNzIrdFHAGjEa~OWg^KrL3!|Jzs|M(+bBrt0<25 zU7Ntq9+ZEzd(YrRyEoP>NL^R*4@srT|4f=o>Py;2T_sX(2FXQP*Ev!!X9uX_cJdK>e;H?+fJ%P;V_2b8S1;}CRYdQ>XNdP55+ElTKD6c<*!h$ z>kIvbID*V^tB9eKW|Rw2o{RZNy6QT-RXD@)dohmoPhc&pyNw-5-AFq~E$Qb4d~}VV z9AOjvi2T8zHhc}OLXFa?yn`Q+vXFmYm0T&L6@eUIOtt6UyRe(ofK-$6PZ+TvJvG`- zqD4bWkFEz~dePzx=?n5tkrK(LV^^Gtx_%~IB<0WucGWgV)9#k#OJM@(Jn3K3tEBzh zUyWsg_}lpu1zq24tX;7{&W+t_caM+iFnVZgi#|hRQ`2HoQ)*OBt5K!m#(jM+\n" "Language-Team: Zope 3 Developers \n" @@ -274,7 +274,7 @@ msgstr "" #: n/skins/custom_content/event_edit_template.pt:78 #: n/skins/custom_content/event_edit_template.pt:103 -#: n/skins/generic/widgets.pt:94 +#: n/skins/generic/widgets.pt:96 msgid "${month} / ${day} / ${year}  ${hour} : ${minute}" msgstr "" @@ -585,11 +585,6 @@ msgstr "" msgid "Request made by IP ${ip} at ${time}" msgstr "" -#: n/skins/custom_generic/main_template_standard.pt:96 -#: n/skins/photo_theme/main_template_standard.pt:97 -msgid "Skip to content" -msgstr "" - #: n/skins/custom_generic/main_template_standard.pt:111 #: n/skins/custom_generic/talkback_tree.pt:63 #: n/skins/generic/main_template_ajax.pt:12 @@ -1081,15 +1076,15 @@ msgstr "" msgid "locale_date_fmt" msgstr "" -#: n/skins/generic/main_template_macros.pt:78 +#: n/skins/generic/main_template_macros.pt:80 #: n/skins/photo_theme/main_template_macros.pt:91 msgid "You are here:" msgstr "" -#: n/skins/generic/main_template_macros.pt:91 -#: n/skins/generic/main_template_macros.pt:94 -#: n/skins/generic/main_template_macros.pt:112 -#: n/skins/generic/main_template_macros.pt:113 +#: n/skins/generic/main_template_macros.pt:93 +#: n/skins/generic/main_template_macros.pt:96 +#: n/skins/generic/main_template_macros.pt:114 +#: n/skins/generic/main_template_macros.pt:115 #: n/skins/photo_theme/main_template_macros.pt:100 #: n/skins/photo_theme/main_template_macros.pt:100 #: n/skins/photo_theme/main_template_macros.pt:113 @@ -1097,7 +1092,7 @@ msgstr "" msgid "Paste" msgstr "" -#: n/skins/generic/main_template_macros.pt:109 +#: n/skins/generic/main_template_macros.pt:111 #: n/skins/photo_theme/main_template_macros.pt:110 msgid "Exit boxes editing" msgstr "" @@ -1155,7 +1150,7 @@ msgid "Register" msgstr "" #: n/skins/generic/recent_news.pt:21 -#: n/skins/generic/widgets.pt:123 +#: n/skins/generic/widgets.pt:125 msgid "News" msgstr "" @@ -1345,11 +1340,19 @@ msgstr "" msgid "Edit metadata" msgstr "" -#: n/skins/generic/widgets.pt:53 +#: n/skins/generic/widgets.pt:57 msgid "Clipboard" msgstr "" -#: n/skins/generic/widgets.pt:128 +#: n/skins/generic/widgets.pt:63 +msgid "Delete" +msgstr "" + +#: n/skins/generic/widgets.pt:64 +msgid "Empty" +msgstr "" + +#: n/skins/generic/widgets.pt:130 msgid "News Item" msgstr "" @@ -1361,6 +1364,10 @@ msgstr "" msgid "Loading progress..." msgstr "" +#: n/skins/photo_theme/main_template_standard.pt:97 +msgid "Skip to content" +msgstr "" + #: n/skins/photo_theme/realis_main_macros.pt:28 msgid "Join" msgstr "" @@ -1631,9 +1638,6 @@ msgstr "" msgid "December_abbr" msgstr "" -msgid "Delete" -msgstr "" - msgid "depublish" msgstr "" diff --git a/patch.py b/patch.py index 5f99887..ebc324f 100644 --- a/patch.py +++ b/patch.py @@ -10,6 +10,7 @@ from Products.CMFCore.permissions import ListFolderContents, View, ViewManagemen from Products.CMFCore.PortalFolder import PortalFolder as CMFPortalFolder from Folder import PlinnFolder +from utils import getCPInfo, popCP cmfPortalFolderSecurity = ClassSecurityInfo() @@ -25,6 +26,12 @@ CMFPortalFolder.listCatalogedContents = PlinnFolder.listCatalogedContents.im_fun cmfPortalFolderSecurity.declareProtected(AddPortalContent, 'put_upload') CMFPortalFolder.put_upload = PlinnFolder.put_upload.im_func +cmfPortalFolderSecurity.declarePublic('getCPInfo') +CMFPortalFolder.getCPInfo = getCPInfo + +cmfPortalFolderSecurity.declarePublic('getCP') +CMFPortalFolder.popCP = popCP + cmfPortalFolderSecurity.apply(CMFPortalFolder) diff --git a/skins/generic/widgets.pt b/skins/generic/widgets.pt index d87ea31..83eb628 100644 --- a/skins/generic/widgets.pt +++ b/skins/generic/widgets.pt @@ -48,7 +48,11 @@ -
+
Clipboard
@@ -56,10 +60,8 @@ - + +
-- 2.20.1