mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Distinguish between user and internal divemode names
The former should be translated but not those that go to xml/git. ... and fix capitalization of pSCR. Suggested-by: Stefan Fuchs <sfuchs@gmx.de> Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
parent
424efb7720
commit
7c6e5ed5db
7 changed files with 27 additions and 12 deletions
|
@ -447,7 +447,8 @@ PlannerSettingsWidget::PlannerSettingsWidget(QWidget *parent, Qt::WindowFlags f)
|
|||
disableDecoElements((int) prefs.planner_deco_mode);
|
||||
|
||||
// should be the same order as in dive_comp_type!
|
||||
rebreather_modes << tr("Open circuit") << tr("CCR") << tr("pSCR");
|
||||
for (int i=0; i < FREEDIVE; i++)
|
||||
rebreather_modes.append(QString(divemode_text_ui[i]));
|
||||
ui.rebreathermode->insertItems(0, rebreather_modes);
|
||||
|
||||
modeMapper = new QSignalMapper(this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue