summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authormbkma <[email protected]>2025-08-14 21:25:45 +0200
committerVictor Kareh <[email protected]>2026-02-11 14:44:54 -0500
commit09780d3edd546967c36d3fc76f571bffc59d1a20 (patch)
tree94581a62377704bef55cfd20d45b215ae284b5c5 /data
parentaeaa5450f8fa4e70aeea00eed02191106fe26705 (diff)
downloadmate-calc-fix/#34.tar.bz2
mate-calc-fix/#34.tar.xz
Configurable decimal separator support. Now mate-calc supports both period (.) and comma (,) as decimal separators.fix/#34
Diffstat (limited to 'data')
-rw-r--r--data/org.mate.calc.gschema.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/data/org.mate.calc.gschema.xml b/data/org.mate.calc.gschema.xml
index 34b17c3..c5efe61 100644
--- a/data/org.mate.calc.gschema.xml
+++ b/data/org.mate.calc.gschema.xml
@@ -17,6 +17,10 @@
<value value="1" nick="degrees"/>
<value value="2" nick="gradians"/>
</enum>
+ <enum id="org.mate.calc.RadixChar">
+ <value value="0" nick="dot"/>
+ <value value="1" nick="comma"/>
+ </enum>
<schema path="/org/mate/calc/" id="org.mate.calc" gettext-domain="mate-calc">
<key type="i" name="accuracy">
@@ -67,6 +71,11 @@
<summary>Button mode</summary>
<description>The button mode</description>
</key>
+ <key name="radix-char" enum="org.mate.calc.RadixChar">
+ <default>'dot'</default>
+ <summary>Radix character</summary>
+ <description>The character to use as the decimal separator (radix point)</description>
+ </key>
<key type="s" name="source-currency">
<default>''</default>
<summary>Source currency</summary>