فهرست منبع

Ficed old numeric messages to match new function args.

Taddeus Kroes 14 سال پیش
والد
کامیت
4c081113d6
1فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 3 2
      src/rules/numerics.py

+ 3 - 2
src/rules/numerics.py

@@ -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):