[PATCH 1/3] Rename list column from O2% to Gas

Dirk Hohndel dirk at hohndel.org
Wed Jul 23 08:18:29 PDT 2014


Let's do this after 4.2 - it changes screen shots and descriptions in the
manual

/D

On Sun, Jul 20, 2014 at 03:07:55PM +0200, Anton Lundin wrote:
> In the dive list, calling the column O2% is kinda wrong, because in
> at least my dive list there are both air and trimix showing up, so this
> renames that column to Gas.
> 
> Signed-off-by: Anton Lundin <glance at acc.umu.se>
> ---
>  qt-ui/models.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp
> index 9d43da6..59f97e8 100644
> --- a/qt-ui/models.cpp
> +++ b/qt-ui/models.cpp
> @@ -1320,7 +1320,7 @@ QVariant DiveTripModel::headerData(int section, Qt::Orientation orientation, int
>  			ret = tr("Cyl");
>  			break;
>  		case NITROX:
> -			ret = QString("O%1%").arg(UTF8_SUBSCRIPT_2);
> +			ret = tr("Gas");
>  			break;
>  		case SAC:
>  			ret = tr("SAC");
> -- 
> 1.9.1
> 
> _______________________________________________
> subsurface mailing list
> subsurface at hohndel.org
> http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface


More information about the subsurface mailing list