Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/mathlib.py
diff options
context:
space:
mode:
Diffstat (limited to 'mathlib.py')
-rw-r--r--mathlib.py13
1 files changed, 9 insertions, 4 deletions
diff --git a/mathlib.py b/mathlib.py
index b9bce1e..d0fabc8 100644
--- a/mathlib.py
+++ b/mathlib.py
@@ -78,15 +78,20 @@ class MathLib:
if self.fraction_sep == "" or self.fraction_sep == None:
self.fraction_sep = "."
- # TRANS: multiplication symbol (default: '*')
+ # TRANS: multiplication symbol (default: '×')
self.mul_sym = _('mul_sym')
if len(self.mul_sym) == 0 or len(self.mul_sym) > 3:
- self.mul_sym = '*'
+ self.mul_sym = '×'
- # TRANS: division symbol (default: '/')
+ # TRANS: division symbol (default: '÷')
self.div_sym = _('div_sym')
if len(self.div_sym) == 0 or len(self.div_sym) > 3:
- self.div_sym = '/'
+ self.div_sym = '÷'
+
+ # TRANS: equal symbol (default: '=')
+ self.equ_sym = _('equ_sym')
+ if len(self.equ_sym) == 0 or len(self.equ_sym) > 3:
+ self.equ_sym = '='
def set_format_type(self, fmt, digit_limit=9):
self.format_type = fmt