Changeset 9b8fc9f in subsurface


Ignore:
Timestamp:
Apr 20, 2017, 10:57:11 AM (3 days ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
89b914e
Parents:
0bce84b
git-author:
Jan Mulder <jlmulder@…> (04/16/17 09:57:26)
git-committer:
Dirk Hohndel <dirk@…> (04/20/17 10:57:11)
Message:

Show % after Büllmanns GFs

2 strings in the planner output showed based on "Bühlmann ZHL-16B with GFLow = "
gradient factors without % after the factor. While this is fine for an
abbreviated form like GF 40/80, this looks strange for a verbose sentence like
the 2 corrected ones.

Signed-off-by: Jan Mulder <jlmulder@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/planner.c

    ra5d54b0 r9b8fc9f  
    828828        /* Print the settings for the diveplan next. */
    829829        if (decoMode() == BUEHLMANN){
    830                 snprintf(temp, sz_temp, translate("gettextFromC", "Deco model: Bühlmann ZHL-16C with GFLow = %d and GFHigh = %d"),
     830                snprintf(temp, sz_temp, translate("gettextFromC", "Deco model: Bühlmann ZHL-16C with GFLow = %d%% and GFHigh = %d%%"),
    831831                        diveplan->gflow, diveplan->gfhigh);
    832832        } else if (decoMode() == VPMB){
     
    841841
    842842        } else if (decoMode() == RECREATIONAL){
    843                 snprintf(temp, sz_temp, translate("gettextFromC", "Deco model: Recreational mode based on Bühlmann ZHL-16B with GFLow = %d and GFHigh = %d"),
     843                snprintf(temp, sz_temp, translate("gettextFromC", "Deco model: Recreational mode based on Bühlmann ZHL-16B with GFLow = %d%% and GFHigh = %d%%"),
    844844                        diveplan->gflow, diveplan->gfhigh);
    845845        }
Note: See TracChangeset for help on using the changeset viewer.