X-Git-Url: https://svn.cri.ensmp.fr/git/photoprint.git/blobdiff_plain/62d7ffc1ecbda7e9c9b46f6419dc9d74c87f419d..a63105d74f1ef077783bbd63c51f487f708bd866:/skins/photoprint_templates_edit_form.py diff --git a/skins/photoprint_templates_edit_form.py b/skins/photoprint_templates_edit_form.py index 94851be..b70ce31 100755 --- a/skins/photoprint_templates_edit_form.py +++ b/skins/photoprint_templates_edit_form.py @@ -1,7 +1,6 @@ ##parameters=addTemplate='', edit='', deleteOptionContainer='', createOptionsContainer='' from Products.CMFCore.utils import getToolByName -from Products.photoprint.utils import translate -_ = lambda msg : translate(msg, context) +from Products.photoprint.utils import translate as _ utool = getToolByName(context, 'portal_url') pptool = getToolByName(context, 'portal_photo_print')