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

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

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

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

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

Loading…
Cancel
Save