mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: replace dive master by dive guide
In general, replace "dive master" by "dive guide". However, do not change written dive logs for now. On reading, accept both versions. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
889827aadb
commit
9e0712d5dc
38 changed files with 141 additions and 133 deletions
|
@ -305,7 +305,7 @@ DiveComponentSelection::DiveComponentSelection(QWidget *parent, struct dive *tar
|
|||
ui.setupUi(this);
|
||||
what = _what;
|
||||
UI_FROM_COMPONENT(divesite);
|
||||
UI_FROM_COMPONENT(divemaster);
|
||||
UI_FROM_COMPONENT(diveguide);
|
||||
UI_FROM_COMPONENT(buddy);
|
||||
UI_FROM_COMPONENT(rating);
|
||||
UI_FROM_COMPONENT(visibility);
|
||||
|
@ -327,7 +327,7 @@ void DiveComponentSelection::buttonClicked(QAbstractButton *button)
|
|||
{
|
||||
if (current_dive && ui.buttonBox->buttonRole(button) == QDialogButtonBox::AcceptRole) {
|
||||
COMPONENT_FROM_UI(divesite);
|
||||
COMPONENT_FROM_UI(divemaster);
|
||||
COMPONENT_FROM_UI(diveguide);
|
||||
COMPONENT_FROM_UI(buddy);
|
||||
COMPONENT_FROM_UI(rating);
|
||||
COMPONENT_FROM_UI(visibility);
|
||||
|
@ -345,8 +345,8 @@ void DiveComponentSelection::buttonClicked(QAbstractButton *button)
|
|||
text.setString(&cliptext);
|
||||
if (what->divesite && current_dive->dive_site)
|
||||
text << tr("Dive site: ") << current_dive->dive_site->name << "\n";
|
||||
if (what->divemaster)
|
||||
text << tr("Dive master: ") << current_dive->divemaster << "\n";
|
||||
if (what->diveguide)
|
||||
text << tr("Dive guide: ") << current_dive->diveguide << "\n";
|
||||
if (what->buddy)
|
||||
text << tr("Buddy: ") << current_dive->buddy << "\n";
|
||||
if (what->rating)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue