diff options
author | Reinier Heeres <rwh@rwh.(none)> | 2008-09-19 07:17:37 (GMT) |
---|---|---|
committer | Reinier Heeres <rwh@rwh.(none)> | 2008-09-19 07:17:37 (GMT) |
commit | 4f4c43bea31a5a9a9b85cc22f933eb1a2470d13d (patch) | |
tree | 042843883d0683a1a1209ed86ac58559366db821 /mathlib.py | |
parent | 9dfe255192a98b7b29dd0fc5433c54d4e4f6dbd3 (diff) |
Fix translations that had taken mul_sym litterally
Diffstat (limited to 'mathlib.py')
-rw-r--r-- | mathlib.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -72,12 +72,12 @@ class MathLib: # TRANS: multiplication symbol (default: '*') self.mul_sym = _('mul_sym') - if self.mul_sym == 'mul_sym': + if len(self.mul_sym) == 0 or len(self.mul_sym) > 3: self.mul_sym = '*' # TRANS: division symbol (default: '/') self.div_sym = _('div_sym') - if self.div_sym == 'div_sym': + if len(self.div_sym) == 0 or len(self.div_sym) > 3: self.div_sym = '/' def set_angle_type(self, type): |