minimal pO2 threshold: split max threshold into min and max

Nothing really special here. Just a split of the only p02 max threshold into
a min threshold and max threshold, and the adaptation of the UI. Change of
translatable strings included.

ref: https://github.com/Subsurface-divelog/subsurface/issues/259

Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
Jan Mulder 2017-03-24 19:11:31 +01:00 committed by Dirk Hohndel
parent 1d0281c923
commit bb31c77597
7 changed files with 204 additions and 163 deletions

View file

@ -20,7 +20,8 @@ struct preferences default_prefs = {
.po2 = false,
.pn2 = false,
.phe = false,
.po2_threshold = 1.6,
.po2_threshold_min = 0.16,
.po2_threshold_max = 1.6,
.pn2_threshold = 4.0,
.phe_threshold = 13.0,
},