X-Git-Url: https://svn.cri.ensmp.fr/git/photoprint.git/blobdiff_plain/bddfc31eaf67003a04f79f7cf168b8d840920fd6..5c9828e1adc12051dd1297dc63727161d1b0bb41:/skins/photoprint_templates_edit_form.py?ds=sidebyside 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')