mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
Merge pull request #6159 from JosJuice/consistent-gui-strings
Make GUI strings more consistent
This commit is contained in:
commit
53f0974372
@ -56,11 +56,11 @@ AboutDialog::AboutDialog(QWidget* parent) : QDialog(parent)
|
|||||||
text_label->setOpenExternalLinks(true);
|
text_label->setOpenExternalLinks(true);
|
||||||
|
|
||||||
QLabel* copyright =
|
QLabel* copyright =
|
||||||
|
new QLabel(small +
|
||||||
// i18n: This message uses curly quotes in English. If you want to use curly quotes
|
// 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
|
// 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
|
// your language. If you aren't sure which type is appropriate, see
|
||||||
// https://en.wikipedia.org/wiki/Quotation_mark#Specific_language_features
|
// https://en.wikipedia.org/wiki/Quotation_mark#Specific_language_features
|
||||||
new QLabel(small +
|
|
||||||
tr("\u00A9 2003-2015+ Dolphin Team. \u201cGameCube\u201d and \u201cWii\u201d are "
|
tr("\u00A9 2003-2015+ Dolphin Team. \u201cGameCube\u201d and \u201cWii\u201d are "
|
||||||
"trademarks of Nintendo. Dolphin is not affiliated with Nintendo in any way.") +
|
"trademarks of Nintendo. Dolphin is not affiliated with Nintendo in any way.") +
|
||||||
QStringLiteral("</p>"));
|
QStringLiteral("</p>"));
|
||||||
|
@ -302,7 +302,7 @@ void FilesystemWidget::CheckIntegrity(const DiscIO::Partition& partition)
|
|||||||
|
|
||||||
if (is_valid.get())
|
if (is_valid.get())
|
||||||
QMessageBox::information(nullptr, tr("Success"),
|
QMessageBox::information(nullptr, tr("Success"),
|
||||||
tr("Integrity check completed. No errors have been found"));
|
tr("Integrity check completed. No errors have been found."));
|
||||||
else
|
else
|
||||||
QMessageBox::critical(nullptr, tr("Error"),
|
QMessageBox::critical(nullptr, tr("Error"),
|
||||||
tr("Integrity check for partition failed. The disc image is most "
|
tr("Integrity check for partition failed. The disc image is most "
|
||||||
|
@ -910,7 +910,7 @@ void MainWindow::OnImportNANDBackup()
|
|||||||
|
|
||||||
void MainWindow::OnPlayRecording()
|
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)"));
|
tr("Dolphin TAS Movies (*.dtm)"));
|
||||||
|
|
||||||
if (dtm_file.isEmpty())
|
if (dtm_file.isEmpty())
|
||||||
@ -980,7 +980,7 @@ void MainWindow::OnExportRecording()
|
|||||||
if (was_paused)
|
if (was_paused)
|
||||||
Core::SetState(Core::State::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)"));
|
tr("Dolphin TAS Movies (*.dtm)"));
|
||||||
|
|
||||||
if (was_paused)
|
if (was_paused)
|
||||||
|
@ -402,9 +402,9 @@ void MenuBar::AddMovieMenu()
|
|||||||
{
|
{
|
||||||
auto* movie_menu = addMenu(tr("&Movie"));
|
auto* movie_menu = addMenu(tr("&Movie"));
|
||||||
m_recording_start =
|
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 =
|
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,
|
m_recording_stop = AddAction(movie_menu, tr("Stop Playing/Recording Input"), this,
|
||||||
[this] { emit StopRecording(); });
|
[this] { emit StopRecording(); });
|
||||||
m_recording_export =
|
m_recording_export =
|
||||||
@ -415,7 +415,7 @@ void MenuBar::AddMovieMenu()
|
|||||||
m_recording_stop->setEnabled(false);
|
m_recording_stop->setEnabled(false);
|
||||||
m_recording_export->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->setCheckable(true);
|
||||||
m_recording_read_only->setChecked(Movie::IsReadOnly());
|
m_recording_read_only->setChecked(Movie::IsReadOnly());
|
||||||
connect(m_recording_read_only, &QAction::toggled, [](bool value) { Movie::SetReadOnly(value); });
|
connect(m_recording_read_only, &QAction::toggled, [](bool value) { Movie::SetReadOnly(value); });
|
||||||
|
@ -35,13 +35,13 @@ AudioPane::AudioPane()
|
|||||||
|
|
||||||
void AudioPane::CreateWidgets()
|
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;
|
auto* dsp_layout = new QVBoxLayout;
|
||||||
|
|
||||||
dsp_box->setLayout(dsp_layout);
|
dsp_box->setLayout(dsp_layout);
|
||||||
m_dsp_hle = new QRadioButton(tr("DSP HLE emulation (fast)"));
|
m_dsp_hle = new QRadioButton(tr("DSP HLE Emulation (fast)"));
|
||||||
m_dsp_lle = new QRadioButton(tr("DSP LLE recompiler"));
|
m_dsp_lle = new QRadioButton(tr("DSP LLE Recompiler"));
|
||||||
m_dsp_interpreter = new QRadioButton(tr("DSP LLE interpreter (slow)"));
|
m_dsp_interpreter = new QRadioButton(tr("DSP LLE Interpreter (slow)"));
|
||||||
|
|
||||||
dsp_layout->addStretch(1);
|
dsp_layout->addStretch(1);
|
||||||
dsp_layout->addWidget(m_dsp_hle);
|
dsp_layout->addWidget(m_dsp_hle);
|
||||||
@ -70,7 +70,7 @@ void AudioPane::CreateWidgets()
|
|||||||
m_backend_label = new QLabel(tr("Audio Backend:"));
|
m_backend_label = new QLabel(tr("Audio Backend:"));
|
||||||
m_backend_combo = new QComboBox();
|
m_backend_combo = new QComboBox();
|
||||||
m_latency_label = new QLabel(tr("Latency:"));
|
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 = new QSpinBox();
|
||||||
|
|
||||||
m_latency_spin->setMinimum(0);
|
m_latency_spin->setMinimum(0);
|
||||||
|
@ -36,7 +36,7 @@ void AudioConfigPane::InitializeGUI()
|
|||||||
m_dsp_engine_strings.Add(_("DSP LLE Interpreter (slow)"));
|
m_dsp_engine_strings.Add(_("DSP LLE Interpreter (slow)"));
|
||||||
|
|
||||||
m_dsp_engine_radiobox =
|
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_dsp_engine_strings, 0, wxRA_SPECIFY_ROWS);
|
||||||
m_dpl2_decoder_checkbox = new wxCheckBox(this, wxID_ANY, _("Dolby Pro Logic II Decoder"));
|
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,
|
m_volume_slider = new DolphinSlider(this, wxID_ANY, 0, 0, 100, wxDefaultPosition, wxDefaultSize,
|
||||||
|
@ -85,6 +85,7 @@ static wxString GetValueByRowCol(int row, int col)
|
|||||||
case 2:
|
case 2:
|
||||||
return _("Hexadecimal");
|
return _("Hexadecimal");
|
||||||
case 3:
|
case 3:
|
||||||
|
// i18n: The base 10 numeral system. Not related to non-integer numbers
|
||||||
return _("Decimal");
|
return _("Decimal");
|
||||||
case 4:
|
case 4:
|
||||||
// i18n: Data type used in computing
|
// i18n: Data type used in computing
|
||||||
|
@ -496,7 +496,7 @@ void CFrame::OnRecord(wxCommandEvent& WXUNUSED(event))
|
|||||||
void CFrame::OnPlayRecording(wxCommandEvent& WXUNUSED(event))
|
void CFrame::OnPlayRecording(wxCommandEvent& WXUNUSED(event))
|
||||||
{
|
{
|
||||||
wxString path =
|
wxString path =
|
||||||
wxFileSelector(_("Select The Recording File"), wxEmptyString, wxEmptyString, wxEmptyString,
|
wxFileSelector(_("Select the Recording File"), wxEmptyString, wxEmptyString, wxEmptyString,
|
||||||
_("Dolphin TAS Movies (*.dtm)") +
|
_("Dolphin TAS Movies (*.dtm)") +
|
||||||
wxString::Format("|*.dtm|%s", wxGetTranslation(wxALL_FILES)),
|
wxString::Format("|*.dtm|%s", wxGetTranslation(wxALL_FILES)),
|
||||||
wxFD_OPEN | wxFD_PREVIEW | wxFD_FILE_MUST_EXIST, this);
|
wxFD_OPEN | wxFD_PREVIEW | wxFD_FILE_MUST_EXIST, this);
|
||||||
@ -992,7 +992,7 @@ void CFrame::DoRecordingSave()
|
|||||||
DoPause();
|
DoPause();
|
||||||
|
|
||||||
wxString path =
|
wxString path =
|
||||||
wxFileSelector(_("Select The Recording File"), wxEmptyString, wxEmptyString, wxEmptyString,
|
wxFileSelector(_("Select the Recording File"), wxEmptyString, wxEmptyString, wxEmptyString,
|
||||||
_("Dolphin TAS Movies (*.dtm)") +
|
_("Dolphin TAS Movies (*.dtm)") +
|
||||||
wxString::Format("|*.dtm|%s", wxGetTranslation(wxALL_FILES)),
|
wxString::Format("|*.dtm|%s", wxGetTranslation(wxALL_FILES)),
|
||||||
wxFD_SAVE | wxFD_PREVIEW | wxFD_OVERWRITE_PROMPT, this);
|
wxFD_SAVE | wxFD_PREVIEW | wxFD_OVERWRITE_PROMPT, this);
|
||||||
|
@ -284,7 +284,7 @@ void CISOProperties::CreateGUIControls()
|
|||||||
m_fast_disc_speed->SetToolTip(
|
m_fast_disc_speed->SetToolTip(
|
||||||
_("Enable fast disc access. This can cause crashes and other problems "
|
_("Enable fast disc access. This can cause crashes and other problems "
|
||||||
"in some games. (ON = Fast, OFF = Compatible)"));
|
"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"));
|
wxDefaultPosition, wxDefaultSize, GetElementStyle("Core", "DSPHLE"));
|
||||||
|
|
||||||
wxBoxSizer* const gpu_determinism_sizer = new wxBoxSizer(wxHORIZONTAL);
|
wxBoxSizer* const gpu_determinism_sizer = new wxBoxSizer(wxHORIZONTAL);
|
||||||
|
Loading…
Reference in New Issue
Block a user