Skip to content

Commit

Permalink
WiiPane: Adjust capitalization of conversion buttons and alert titles
Browse files Browse the repository at this point in the history
  • Loading branch information
OatmealDome committed Jul 16, 2022
1 parent 60aaa30 commit ed37afd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Source/Core/DolphinQt/Settings/WiiPane.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,11 +215,11 @@ void WiiPane::CreateSDCard()
++row;
}

QPushButton* pack_now = new NonDefaultQPushButton(tr("Convert Folder to File now"));
QPushButton* unpack_now = new NonDefaultQPushButton(tr("Convert File to Folder now"));
QPushButton* pack_now = new NonDefaultQPushButton(tr("Convert Folder to File Now"));
QPushButton* unpack_now = new NonDefaultQPushButton(tr("Convert File to Folder Now"));
connect(pack_now, &QPushButton::clicked, [this] {
auto result = ModalMessageBox::warning(
this, tr("Convert Folder to File now"),
this, tr("Convert Folder to File Now"),
tr("You are about to convert the content of the folder at %1 into the file at %2. All "
"current content of the file will be deleted. Are you sure you want to continue?")
.arg(QString::fromStdString(File::GetUserPath(D_WIISDCARDSYNCFOLDER_IDX)))
Expand All @@ -228,12 +228,12 @@ void WiiPane::CreateSDCard()
if (result == QMessageBox::Yes)
{
if (!Common::SyncSDFolderToSDImage(false))
ModalMessageBox::warning(this, tr("Convert Folder to File now"), tr("Conversion failed."));
ModalMessageBox::warning(this, tr("Convert Folder to File Now"), tr("Conversion failed."));
}
});
connect(unpack_now, &QPushButton::clicked, [this] {
auto result = ModalMessageBox::warning(
this, tr("Convert File to Folder now"),
this, tr("Convert File to Folder Now"),
tr("You are about to convert the content of the file at %2 into the folder at %1. All "
"current content of the folder will be deleted. Are you sure you want to continue?")
.arg(QString::fromStdString(File::GetUserPath(D_WIISDCARDSYNCFOLDER_IDX)))
Expand All @@ -242,7 +242,7 @@ void WiiPane::CreateSDCard()
if (result == QMessageBox::Yes)
{
if (!Common::SyncSDImageToSDFolder())
ModalMessageBox::warning(this, tr("Convert File to Folder now"), tr("Conversion failed."));
ModalMessageBox::warning(this, tr("Convert File to Folder Now"), tr("Conversion failed."));
}
});
sd_settings_group_layout->addWidget(pack_now, row, 0, 1, 1);
Expand Down

0 comments on commit ed37afd

Please sign in to comment.