X-Git-Url: https://scm.cri.mines-paristech.fr/git/photoprint.git/blobdiff_plain/bddfc31eaf67003a04f79f7cf168b8d840920fd6..4108abadea5456a9d832614c32b93925425f6904:/skins/photoprint_templates_edit_form.py?ds=inline 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')