Commit 72d04c49 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fix typos.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31237 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f2951e9f
......@@ -77,7 +77,7 @@ class CategoryMembershipDivergenceTester(Predicate, DivergenceTesterMixin):
if sorted(decision_value) != sorted(prevision_value):
return (
prevision_value, decision_value,
'The values of ${prperty_name} category are different between decision and prevision.',
'The values of ${property_name} category are different between decision and prevision.',
dict(property_name=tested_property))
return None
......
......@@ -82,7 +82,7 @@ class DateTimeDivergenceTester(Predicate, DivergenceTesterMixin):
delta < absolute_tolerance_min:
return (
prevision_value, decision_value,
'The difference of ${prperty_name} between decision and prevision is less than ${value}.',
'The difference of ${property_name} between decision and prevision is less than ${value}.',
dict(property_name=tested_property,
value=absolute_tolerance_min))
absolute_tolerance_max = self.getProperty('quantity_range_max') or \
......@@ -91,7 +91,7 @@ class DateTimeDivergenceTester(Predicate, DivergenceTesterMixin):
delta > absolute_tolerance_max:
return (
prevision_value, decision_value,
'The difference of ${prperty_name} between decision and prevision is larger than ${value}.',
'The difference of ${property_name} between decision and prevision is larger than ${value}.',
dict(property_name=tested_property,
value=absolute_tolerance_max))
......
......@@ -93,7 +93,7 @@ class FloatDivergenceTester(Predicate, DivergenceTesterMixin):
delta < absolute_tolerance_min:
return (
prevision_value, decision_value,
'The difference of ${prperty_name} between decision and prevision is less than ${value}.',
'The difference of ${property_name} between decision and prevision is less than ${value}.',
dict(property_name=tested_property,
value=absolute_tolerance_min))
absolute_tolerance_max = self.getProperty('quantity_range_max') or \
......@@ -102,7 +102,7 @@ class FloatDivergenceTester(Predicate, DivergenceTesterMixin):
delta > absolute_tolerance_max:
return (
prevision_value, decision_value,
'The difference of ${prperty_name} between decision and prevision is larger than ${value}.',
'The difference of ${property_name} between decision and prevision is larger than ${value}.',
dict(property_name=tested_property,
value=absolute_tolerance_max))
......@@ -124,13 +124,13 @@ class FloatDivergenceTester(Predicate, DivergenceTesterMixin):
if tolerance_base == 'price_currency':
return (
prevision_value, decision_value,
'The difference of ${prperty_name} between decision and prevision is less than ${value} times of the currency precision.',
'The difference of ${property_name} between decision and prevision is less than ${value} times of the currency precision.',
dict(property_name=tested_property,
value=relative_tolerance_min))
else:
return (
prevision_value, decision_value,
'The difference of ${prperty_name} between decision and prevision is less than ${value} times of the prevision value.',
'The difference of ${property_name} between decision and prevision is less than ${value} times of the prevision value.',
dict(property_name=tested_property,
value=relative_tolerance_min))
relative_tolerance_max = self.getProperty('tolerance_range_max') or \
......@@ -140,13 +140,13 @@ class FloatDivergenceTester(Predicate, DivergenceTesterMixin):
if tolerance_base == 'price_currency':
return (
prevision_value, decision_value,
'The difference of ${prperty_name} between decision and prevision is less than ${value} times of the currency precision.',
'The difference of ${property_name} between decision and prevision is less than ${value} times of the currency precision.',
dict(property_name=tested_property,
value=relative_tolerance_max))
else:
return (
prevision_value, decision_value,
'The difference of ${prperty_name} between decision and prevision is less than ${value} times of the prevision value.',
'The difference of ${property_name} between decision and prevision is less than ${value} times of the prevision value.',
dict(property_name=tested_property,
value=relative_tolerance_max))
return None
......
......@@ -80,7 +80,7 @@ class StringDivergenceTester(Predicate, DivergenceTesterMixin):
if decision_value != prevision_value:
return (
prevision_value, decision_value,
'The value of ${prperty_name} is different between decision and prevision.',
'The value of ${property_name} is different between decision and prevision.',
dict(property_name=tested_property))
return None
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment