From da7660eaa9cc578217d5f1a01284467bd52248e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 29 Oct 2008 14:01:16 +0100 Subject: [PATCH] Add missing gettext import for issue466 --- tryton/plugin.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tryton/plugin.py b/tryton/plugin.py index eb34a49727..10a4bca360 100644 --- a/tryton/plugin.py +++ b/tryton/plugin.py @@ -1,7 +1,11 @@ -#This file is part of Tryton. The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms. +#This file is part of Tryton. The COPYRIGHT file at the top level of +#this repository contains the full copyright notices and license terms. import common import os import imp +import gettext + +_ = gettext.gettext PLUGINS_PATH = os.path.join(os.path.dirname(__file__), 'plugins') MODULES = []