[PATCH 1/5] Consistent representation of O₂

Dirk Hohndel dirk at hohndel.org
Tue Nov 25 07:34:49 PST 2014


Not sure what happened here, but look at the patch included below.
Unsurprisingly, git didn't like that very much.

Can you check if there's something odd going on with your encoding
settings? I have never had problems like this with patches from you
before, so something must have changed. Different mail program maybe? Can
you use git send-email ?

/D

On Mon, Nov 24, 2014 at 11:42:30PM +0000, Tim Wootton wrote:
> Signed-off-by: Tim Wootton <tim at tee-jay.demon.co.uk>
> ---
>  qt-ui/configuredivecomputerdialog.ui | 18 +++++++++---------
>  qt-ui/divelogimportdialog.ui         |  2 +-
>  qt-ui/models.cpp                     |  2 +-
>  5 files changed, 14 insertions(+), 14 deletions(-)
> 
> diff --git a/qt-ui/configuredivecomputerdialog.ui b/qt-ui/configuredivecomputerdialog.ui
> index dd6bce3..134c435 100644
> --- a/qt-ui/configuredivecomputerdialog.ui
> +++ b/qt-ui/configuredivecomputerdialog.ui
> @@ -913,7 +913,7 @@
>                </column>
>                <column>
>                 <property name="text">
> -                <string>%O2</string>
> +                <string>%O₂</string>
>                 </property>
>                </column>
>                <column>
> @@ -998,7 +998,7 @@
>                </column>
>                <column>
>                 <property name="text">
> -                <string>%O2</string>
> +                <string>%O₂</string>
>                 </property>
>                </column>
>                <column>
> @@ -1121,7 +1121,7 @@
>              <item row="2" column="2">
>               <widget class="QLabel" name="label_35">
>                <property name="text">
> -               <string>O2 in calibration gas</string>
> +               <string>O₂ in calibration gas</string>
>                </property>
>               </widget>
>              </item>
> @@ -1213,14 +1213,14 @@
>              <item row="4" column="2">
>               <widget class="QLabel" name="label_29">
>                <property name="text">
> -               <string>ppO₂ max</string>
> +               <string>pO₂ max</string>
>                </property>
>               </widget>
>              </item>
>              <item row="5" column="2">
>               <widget class="QLabel" name="label_30">
>                <property name="text">
> -               <string>ppO₂ min</string>
> +               <string>pO₂ min</string>
>                </property>
>               </widget>
>              </item>
> @@ -2119,7 +2119,7 @@
>                </column>
>                <column>
>                 <property name="text">
> -                <string>%O2</string>
> +                <string>%O₂</string>
>                 </property>
>                </column>
>                <column>
> @@ -2204,7 +2204,7 @@
>                </column>
>                <column>
>                 <property name="text">
> -                <string>%O2</string>
> +                <string>%O₂</string>
>                 </property>
>                </column>
>                <column>
> @@ -2352,14 +2352,14 @@
>              <item row="3" column="2">
>               <widget class="QLabel" name="label_60">
>                <property name="text">
> -               <string>ppO₂ max</string>
> +               <string>pO₂ max</string>
>                </property>
>               </widget>
>              </item>
>              <item row="4" column="2">
>               <widget class="QLabel" name="label_61">
>                <property name="text">
> -               <string>ppO₂ min</string>
> +               <string>pO₂ min</string>
>                </property>
>               </widget>
>              </item>
> diff --git a/qt-ui/divelogimportdialog.ui b/qt-ui/divelogimportdialog.ui
> index 9fd5e44..47a0e54 100644
> --- a/qt-ui/divelogimportdialog.ui
> +++ b/qt-ui/divelogimportdialog.ui
> @@ -118,7 +118,7 @@
>            <item row="3" column="0">
>             <widget class="QCheckBox" name="po2CheckBox">
>              <property name="text">
> -             <string>PO2</string>
> +             <string>pO₂</string>
>              </property>
>             </widget>
>            </item>
> diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp
> index f22a1f6..2bb40ef 100644
> --- a/qt-ui/models.cpp
> +++ b/qt-ui/models.cpp
> @@ -75,7 +75,7 @@ CylindersModel::CylindersModel(QObject *parent) : changed(false),
>  	rows(0)
>  {
>  	//	enum {REMOVE, TYPE, SIZE, WORKINGPRESS, START, END, O2, HE, DEPTH};
> -	setHeaderDataStrings(QStringList() << "" << tr("Type") << tr("Size") << tr("Work press.") << tr("Start press.") << tr("End press.") << trUtf8("O" UTF8_SUBSCRIPT_2 "%") << tr("He%")
> +	setHeaderDataStrings(QStringList() << "" << tr("Type") << tr("Size") << tr("Work press.") << tr("Start press.") << tr("End press.") << tr("O₂%") << tr("He%")
>  					   << tr("Switch at") << tr("Use"));
>  
>  	initTrashIcon();
> -- 
> 2.1.1
> 
> _______________________________________________
> subsurface mailing list
> subsurface at subsurface-divelog.org
> http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


More information about the subsurface mailing list