From d6ba50f38617151a43dacf7b630c48f51938b6e8 Mon Sep 17 00:00:00 2001 From: "rpa (Open ERP)" Date: Wed, 27 Oct 2010 19:05:24 +0530 Subject: [FIX]: Fixed translation of warning messages lp bug: https://launchpad.net/bugs/660494 fixed bzr revid: rpa@tinyerp.com-20101027133524-2mijip7zskzwevnh --- addons/document_webdav/webdav.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'addons/document_webdav/webdav.py') diff --git a/addons/document_webdav/webdav.py b/addons/document_webdav/webdav.py index bb2b8caf470..302d8c2a8a7 100644 --- a/addons/document_webdav/webdav.py +++ b/addons/document_webdav/webdav.py @@ -27,14 +27,14 @@ from xml.dom.minicompat import StringTypes import urlparse import urllib from osv import osv +from tools.translate import _ try: from DAV import utils from DAV.propfind import PROPFIND from DAV.report import REPORT except ImportError: - raise osv.except_osv('PyWebDAV Import Error!','Please install PyWebDAV \ -from http://code.google.com/p/pywebdav/downloads/detail?name=PyWebDAV-0.9.4.tar.gz&can=2&q=/') + raise osv.except_osv(_('PyWebDAV Import Error!'), _('Please install PyWebDAV from http://code.google.com/p/pywebdav/downloads/detail?name=PyWebDAV-0.9.4.tar.gz&can=2&q=/')) import tools -- cgit v1.2.3