mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
...
This commit is contained in:
parent
3a1fecc7a1
commit
05a536ed28
@ -87,7 +87,7 @@ class BadNamespace(BaseError):
|
|||||||
def __init__(self, name, namespace):
|
def __init__(self, name, namespace):
|
||||||
BaseError.__init__(self, _('Invalid or missing namespace'), name)
|
BaseError.__init__(self, _('Invalid or missing namespace'), name)
|
||||||
self.HELP = prepare_string_for_xml(_(
|
self.HELP = prepare_string_for_xml(_(
|
||||||
'This file has {0}. Its namespace must be {1}. Se the namespace by defining the xmlns'
|
'This file has {0}. Its namespace must be {1}. Set the namespace by defining the xmlns'
|
||||||
' attribute on the <html> element, like this <html xmlns="{1}">').format(
|
' attribute on the <html> element, like this <html xmlns="{1}">').format(
|
||||||
(_('incorrect namespace %s') % namespace) if namespace else _('no namespace'),
|
(_('incorrect namespace %s') % namespace) if namespace else _('no namespace'),
|
||||||
XHTML_NS))
|
XHTML_NS))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user