Skip to content
Snippets Groups Projects
Commit 4c081113 authored by Taddeus Kroes's avatar Taddeus Kroes
Browse files

Ficed old numeric messages to match new function args.

parent 158c31f9
No related branches found
No related tags found
No related merge requests found
......@@ -152,7 +152,7 @@ def divide_numerics(root, args):
return Leaf(n.value / d.value).negate(root.negated)
MESSAGES[divide_numerics] = _('Divide constant {1} by constant {2}.')
MESSAGES[divide_numerics] = _('Constant division {0} reduces to a number.')
def reduce_fraction_constants(root, args):
......@@ -169,7 +169,8 @@ def reduce_fraction_constants(root, args):
return Leaf(a.value / gcd) / Leaf(b.value / gcd)
MESSAGES[reduce_fraction_constants] = _('Simplify fraction {0}.')
MESSAGES[reduce_fraction_constants] = \
_('Divide the nominator and denominator of fraction {0} by {1}.')
def match_multiply_zero(node):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment