diff options
author | David Boddie <dboddie@trolltech.com> | 2009-11-03 15:06:05 (GMT) |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2009-11-03 15:06:05 (GMT) |
commit | c95a0e6e8eb8ba5fd2a4412b318ad998b3ccb4fc (patch) | |
tree | ab7635127756dbe55859aeda249dffd3ac0042d0 /src/xmlpatterns/schema/qxsdvalidatinginstancereader.cpp | |
parent | 86e074f47848955cd0ffbc78112493af46c2ed12 (diff) | |
download | Qt-c95a0e6e8eb8ba5fd2a4412b318ad998b3ccb4fc.zip Qt-c95a0e6e8eb8ba5fd2a4412b318ad998b3ccb4fc.tar.gz Qt-c95a0e6e8eb8ba5fd2a4412b318ad998b3ccb4fc.tar.bz2 |
Doc/i18n: Fixed source strings for translation.
Reviewed-by: Oswald Buddenhagen
Diffstat (limited to 'src/xmlpatterns/schema/qxsdvalidatinginstancereader.cpp')
-rw-r--r-- | src/xmlpatterns/schema/qxsdvalidatinginstancereader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmlpatterns/schema/qxsdvalidatinginstancereader.cpp b/src/xmlpatterns/schema/qxsdvalidatinginstancereader.cpp index fda3548..622a39f 100644 --- a/src/xmlpatterns/schema/qxsdvalidatinginstancereader.cpp +++ b/src/xmlpatterns/schema/qxsdvalidatinginstancereader.cpp @@ -469,7 +469,7 @@ bool XsdValidatingInstanceReader::validateElement(const XsdElement::Ptr &declara // 3.2.3.2 if (declaration->valueConstraint() && declaration->valueConstraint()->variety() == XsdElement::ValueConstraint::Fixed) { - error(QtXmlPatterns::tr("Fixed value constrained not allowed if element is nillable.")); + error(QtXmlPatterns::tr("Fixed value constraint not allowed if element is nillable.")); return false; } } @@ -699,7 +699,7 @@ bool XsdValidatingInstanceReader::validateElementComplexType(const XsdElement::P if (complexType->contentType()->variety() == XsdComplexType::ContentType::Mixed) { if (declaration->valueConstraint() && declaration->valueConstraint()->variety() == XsdElement::ValueConstraint::Fixed) { if (hasChildElement()) { - error(QtXmlPatterns::tr("Element %1 can not contain other elements, as it has a fixed content.").arg(formatKeyword(declaration->displayName(m_namePool)))); + error(QtXmlPatterns::tr("Element %1 cannot contain other elements, as it has a fixed content.").arg(formatKeyword(declaration->displayName(m_namePool)))); return false; } |