Make GUI strings more consistent

Most of the changes I've made here were because of small
differences between DolphinWX and DolphinQt2.
This commit is contained in:
JosJuice
2017-11-02 14:32:16 +01:00
parent e29cd19f73
commit d454e041b0
11 changed files with 24 additions and 23 deletions

View File

@ -56,11 +56,11 @@ AboutDialog::AboutDialog(QWidget* parent) : QDialog(parent)
text_label->setOpenExternalLinks(true);
QLabel* copyright =
// i18n: This message uses curly quotes in English. If you want to use curly quotes
// in your translation, please use the type of curly quotes that's appropriate for
// your language. If you aren't sure which type is appropriate, see
// https://en.wikipedia.org/wiki/Quotation_mark#Specific_language_features
new QLabel(small +
// i18n: This message uses curly quotes in English. If you want to use curly quotes
// in your translation, please use the type of curly quotes that's appropriate for
// your language. If you aren't sure which type is appropriate, see
// https://en.wikipedia.org/wiki/Quotation_mark#Specific_language_features
tr("\u00A9 2003-2015+ Dolphin Team. \u201cGameCube\u201d and \u201cWii\u201d are "
"trademarks of Nintendo. Dolphin is not affiliated with Nintendo in any way.") +
QStringLiteral("</p>"));

View File

@ -302,7 +302,7 @@ void FilesystemWidget::CheckIntegrity(const DiscIO::Partition& partition)
if (is_valid.get())
QMessageBox::information(nullptr, tr("Success"),
tr("Integrity check completed. No errors have been found"));
tr("Integrity check completed. No errors have been found."));
else
QMessageBox::critical(nullptr, tr("Error"),
tr("Integrity check for partition failed. The disc image is most "

View File

@ -910,7 +910,7 @@ void MainWindow::OnImportNANDBackup()
void MainWindow::OnPlayRecording()
{
QString dtm_file = QFileDialog::getOpenFileName(this, tr("Select The Recording File"), QString(),
QString dtm_file = QFileDialog::getOpenFileName(this, tr("Select the Recording File"), QString(),
tr("Dolphin TAS Movies (*.dtm)"));
if (dtm_file.isEmpty())
@ -980,7 +980,7 @@ void MainWindow::OnExportRecording()
if (was_paused)
Core::SetState(Core::State::Paused);
QString dtm_file = QFileDialog::getSaveFileName(this, tr("Select The Recording File"), QString(),
QString dtm_file = QFileDialog::getSaveFileName(this, tr("Select the Recording File"), QString(),
tr("Dolphin TAS Movies (*.dtm)"));
if (was_paused)

View File

@ -399,9 +399,9 @@ void MenuBar::AddMovieMenu()
{
auto* movie_menu = addMenu(tr("&Movie"));
m_recording_start =
AddAction(movie_menu, tr("Start Recording Input"), this, [this] { emit StartRecording(); });
AddAction(movie_menu, tr("Start Re&cording Input"), this, [this] { emit StartRecording(); });
m_recording_play =
AddAction(movie_menu, tr("Play Input Recording..."), this, [this] { emit PlayRecording(); });
AddAction(movie_menu, tr("P&lay Input Recording..."), this, [this] { emit PlayRecording(); });
m_recording_stop = AddAction(movie_menu, tr("Stop Playing/Recording Input"), this,
[this] { emit StopRecording(); });
m_recording_export =
@ -412,7 +412,7 @@ void MenuBar::AddMovieMenu()
m_recording_stop->setEnabled(false);
m_recording_export->setEnabled(false);
m_recording_read_only = movie_menu->addAction(tr("Read-Only Mode"));
m_recording_read_only = movie_menu->addAction(tr("&Read-Only Mode"));
m_recording_read_only->setCheckable(true);
m_recording_read_only->setChecked(Movie::IsReadOnly());
connect(m_recording_read_only, &QAction::toggled, [](bool value) { Movie::SetReadOnly(value); });

View File

@ -35,13 +35,13 @@ AudioPane::AudioPane()
void AudioPane::CreateWidgets()
{
auto* dsp_box = new QGroupBox(tr("DSP Emulator Engine"));
auto* dsp_box = new QGroupBox(tr("DSP Emulation Engine"));
auto* dsp_layout = new QVBoxLayout;
dsp_box->setLayout(dsp_layout);
m_dsp_hle = new QRadioButton(tr("DSP HLE emulation (fast)"));
m_dsp_lle = new QRadioButton(tr("DSP LLE recompiler"));
m_dsp_interpreter = new QRadioButton(tr("DSP LLE interpreter (slow)"));
m_dsp_hle = new QRadioButton(tr("DSP HLE Emulation (fast)"));
m_dsp_lle = new QRadioButton(tr("DSP LLE Recompiler"));
m_dsp_interpreter = new QRadioButton(tr("DSP LLE Interpreter (slow)"));
dsp_layout->addStretch(1);
dsp_layout->addWidget(m_dsp_hle);
@ -70,7 +70,7 @@ void AudioPane::CreateWidgets()
m_backend_label = new QLabel(tr("Audio Backend:"));
m_backend_combo = new QComboBox();
m_latency_label = new QLabel(tr("Latency:"));
m_dolby_pro_logic = new QCheckBox(tr("Dolby Pro Logic II decoder"));
m_dolby_pro_logic = new QCheckBox(tr("Dolby Pro Logic II Decoder"));
m_latency_spin = new QSpinBox();
m_latency_spin->setMinimum(0);