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);

View File

@ -26,9 +26,9 @@ wxDEFINE_EVENT(DOLPHIN_EVT_GECKOCODE_TOGGLED, wxCommandEvent);
namespace Gecko
{
static const char str_name[] = wxTRANSLATE("Name: ");
static const char str_notes[] = wxTRANSLATE("Notes: ");
static const char str_creator[] = wxTRANSLATE("Creator: ");
static const char str_name[] = wxTRANSLATE("Name:");
static const char str_notes[] = wxTRANSLATE("Notes:");
static const char str_creator[] = wxTRANSLATE("Creator:");
CodeConfigPanel::CodeConfigPanel(wxWindow* const parent) : wxPanel(parent)
{

View File

@ -52,7 +52,7 @@ void AdvancedConfigPane::InitializeGUI()
"WARNING: Changing this from the default (100%) "
"can and will break games and cause glitches. "
"Do so at your own risk. Please do not report "
"bugs that occur with a non-default clock. "));
"bugs that occur with a non-default clock."));
wxStaticText* const custom_rtc_description = new wxStaticText(
this, wxID_ANY,

View File

@ -36,7 +36,7 @@ void AudioConfigPane::InitializeGUI()
m_dsp_engine_strings.Add(_("DSP LLE Interpreter (slow)"));
m_dsp_engine_radiobox =
new wxRadioBox(this, wxID_ANY, _("DSP Emulator Engine"), wxDefaultPosition, wxDefaultSize,
new wxRadioBox(this, wxID_ANY, _("DSP Emulation Engine"), wxDefaultPosition, wxDefaultSize,
m_dsp_engine_strings, 0, wxRA_SPECIFY_ROWS);
m_dpl2_decoder_checkbox = new wxCheckBox(this, wxID_ANY, _("Dolby Pro Logic II Decoder"));
m_volume_slider = new DolphinSlider(this, wxID_ANY, 0, 0, 100, wxDefaultPosition, wxDefaultSize,

View File

@ -85,6 +85,7 @@ static wxString GetValueByRowCol(int row, int col)
case 2:
return _("Hexadecimal");
case 3:
// i18n: The base 10 numeral system. Not related to non-integer numbers
return _("Decimal");
case 4:
// i18n: Data type used in computing

View File

@ -496,7 +496,7 @@ void CFrame::OnRecord(wxCommandEvent& WXUNUSED(event))
void CFrame::OnPlayRecording(wxCommandEvent& WXUNUSED(event))
{
wxString path =
wxFileSelector(_("Select The Recording File"), wxEmptyString, wxEmptyString, wxEmptyString,
wxFileSelector(_("Select the Recording File"), wxEmptyString, wxEmptyString, wxEmptyString,
_("Dolphin TAS Movies (*.dtm)") +
wxString::Format("|*.dtm|%s", wxGetTranslation(wxALL_FILES)),
wxFD_OPEN | wxFD_PREVIEW | wxFD_FILE_MUST_EXIST, this);
@ -992,7 +992,7 @@ void CFrame::DoRecordingSave()
DoPause();
wxString path =
wxFileSelector(_("Select The Recording File"), wxEmptyString, wxEmptyString, wxEmptyString,
wxFileSelector(_("Select the Recording File"), wxEmptyString, wxEmptyString, wxEmptyString,
_("Dolphin TAS Movies (*.dtm)") +
wxString::Format("|*.dtm|%s", wxGetTranslation(wxALL_FILES)),
wxFD_SAVE | wxFD_PREVIEW | wxFD_OVERWRITE_PROMPT, this);

View File

@ -284,7 +284,7 @@ void CISOProperties::CreateGUIControls()
m_fast_disc_speed->SetToolTip(
_("Enable fast disc access. This can cause crashes and other problems "
"in some games. (ON = Fast, OFF = Compatible)"));
m_dps_hle = new wxCheckBox(m_GameConfig, ID_AUDIO_DSP_HLE, _("DSP HLE emulation (fast)"),
m_dps_hle = new wxCheckBox(m_GameConfig, ID_AUDIO_DSP_HLE, _("DSP HLE Emulation (fast)"),
wxDefaultPosition, wxDefaultSize, GetElementStyle("Core", "DSPHLE"));
wxBoxSizer* const gpu_determinism_sizer = new wxBoxSizer(wxHORIZONTAL);