Change "Profile" to "Content List" in user visible strings in Launcher. (Fixes #810)

openmw-35
dteviot 9 years ago
parent 64cd1396ac
commit 063388e0eb

@ -30,7 +30,7 @@ Launcher::DataFilesPage::DataFilesPage(Files::ConfigurationManager &cfg, Config:
setObjectName ("DataFilesPage");
mSelector = new ContentSelectorView::ContentSelector (ui.contentSelectorWidget);
mProfileDialog = new TextInputDialog(tr("New Profile"), tr("Profile name:"), this);
mProfileDialog = new TextInputDialog(tr("New Content List"), tr("Content List name:"), this);
connect(mProfileDialog->lineEdit(), SIGNAL(textChanged(QString)),
this, SLOT(updateOkButton(QString)));
@ -44,12 +44,12 @@ void Launcher::DataFilesPage::buildView()
ui.verticalLayout->insertWidget (0, mSelector->uiWidget());
//tool buttons
ui.newProfileButton->setToolTip ("Create a new profile");
ui.deleteProfileButton->setToolTip ("Delete an existing profile");
ui.newProfileButton->setToolTip ("Create a new Content List");
ui.deleteProfileButton->setToolTip ("Delete an existing Content List");
//combo box
ui.profilesComboBox->addItem ("Default");
ui.profilesComboBox->setPlaceholderText (QString("Select a profile..."));
ui.profilesComboBox->setPlaceholderText (QString("Select a Content List..."));
ui.profilesComboBox->setCurrentIndex(ui.profilesComboBox->findText(QLatin1String("Default")));
// Add the actions to the toolbuttons
@ -306,7 +306,7 @@ void Launcher::DataFilesPage::checkForDefaultProfile()
bool Launcher::DataFilesPage::showDeleteMessageBox (const QString &text)
{
QMessageBox msgBox(this);
msgBox.setWindowTitle(tr("Delete Profile"));
msgBox.setWindowTitle(tr("Delete Content List"));
msgBox.setIcon(QMessageBox::Warning);
msgBox.setStandardButtons(QMessageBox::Cancel);
msgBox.setText(tr("Are you sure you want to delete <b>%0</b>?").arg(text));

@ -51,7 +51,7 @@ Launcher::SettingsPage::SettingsPage(Files::ConfigurationManager &cfg,
connect(mImporterInvoker->getProcess(), SIGNAL(finished(int,QProcess::ExitStatus)),
this, SLOT(importerFinished(int,QProcess::ExitStatus)));
mProfileDialog = new TextInputDialog(tr("New Profile"), tr("Profile name:"), this);
mProfileDialog = new TextInputDialog(tr("New Content List"), tr("Content List name:"), this);
connect(mProfileDialog->lineEdit(), SIGNAL(textChanged(QString)),
this, SLOT(updateOkButton(QString)));

@ -29,7 +29,7 @@
<enum>Qt::NoFocus</enum>
</property>
<property name="title">
<string>Profile</string>
<string>Content List</string>
</property>
<property name="flat">
<bool>false</bool>
@ -69,10 +69,10 @@
<item>
<widget class="QToolButton" name="newProfileButton">
<property name="toolTip">
<string>New Profile</string>
<string>New Content List</string>
</property>
<property name="text">
<string>&amp;New Profile</string>
<string>&amp;New Content List</string>
</property>
<property name="autoRaise">
<bool>true</bool>
@ -82,10 +82,10 @@
<item>
<widget class="QToolButton" name="deleteProfileButton">
<property name="toolTip">
<string>Delete Profile</string>
<string>Delete Content List</string>
</property>
<property name="text">
<string>Delete Profile</string>
<string>Delete Content List</string>
</property>
<property name="shortcut">
<string>Ctrl+D</string>
@ -106,10 +106,10 @@
</iconset>
</property>
<property name="text">
<string>New Profile</string>
<string>New Content List</string>
</property>
<property name="toolTip">
<string>New Profile</string>
<string>New Content List</string>
</property>
<property name="shortcut">
<string>Ctrl+N</string>
@ -125,10 +125,10 @@
</iconset>
</property>
<property name="text">
<string>Delete Profile</string>
<string>Delete Content List</string>
</property>
<property name="toolTip">
<string>Delete Profile</string>
<string>Delete Content List</string>
</property>
</action>
<action name="checkAction">

@ -101,7 +101,7 @@
</string>
</property>
<property name="text">
<string>Current Profile:</string>
<string>Current Content List:</string>
</property>
</widget>
</item>

Loading…
Cancel
Save