Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/mathlib.py
diff options
context:
space:
mode:
authorReinier Heeres <rwh@rwh.(none)>2008-09-19 07:17:37 (GMT)
committer Reinier Heeres <rwh@rwh.(none)>2008-09-19 07:17:37 (GMT)
commit4f4c43bea31a5a9a9b85cc22f933eb1a2470d13d (patch)
tree042843883d0683a1a1209ed86ac58559366db821 /mathlib.py
parent9dfe255192a98b7b29dd0fc5433c54d4e4f6dbd3 (diff)
Fix translations that had taken mul_sym litterally
Diffstat (limited to 'mathlib.py')
-rw-r--r--mathlib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mathlib.py b/mathlib.py
index c81c6f9..fadb516 100644
--- a/mathlib.py
+++ b/mathlib.py
@@ -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):