Added missing tr function calls around string literals.
This commit is contained in:
parent
ce0a8fdf63
commit
313bba68f9
|
@ -1,4 +1,4 @@
|
|||
// GameSoundConf.cpp
|
||||
// ConsoleSoundConf.cpp
|
||||
//
|
||||
#include "../../fceu.h"
|
||||
#include "../../driver.h"
|
||||
|
@ -19,15 +19,15 @@ ConsoleSndConfDialog_t::ConsoleSndConfDialog_t(QWidget *parent)
|
|||
QGroupBox *frame;
|
||||
QSlider *vslider;
|
||||
|
||||
setWindowTitle("Sound Config");
|
||||
setWindowTitle( tr("Sound Config") );
|
||||
|
||||
hbox1 = new QHBoxLayout();
|
||||
vbox1 = new QVBoxLayout();
|
||||
|
||||
// Enable Sound Select
|
||||
enaChkbox = new QCheckBox("Enable Sound");
|
||||
enaChkbox = new QCheckBox( tr("Enable Sound") );
|
||||
// Enable Low Pass Filter Select
|
||||
enaLowPass = new QCheckBox("Enable Low Pass Filter");
|
||||
enaLowPass = new QCheckBox( tr("Enable Low Pass Filter") );
|
||||
|
||||
setCheckBoxFromProperty( enaChkbox , "SDL.Sound" );
|
||||
setCheckBoxFromProperty( enaLowPass, "SDL.Sound.LowPass" );
|
||||
|
@ -86,7 +86,7 @@ ConsoleSndConfDialog_t::ConsoleSndConfDialog_t(QWidget *parent)
|
|||
//
|
||||
hbox2 = new QHBoxLayout();
|
||||
|
||||
lbl = new QLabel("Buffer Size (in ms):");
|
||||
lbl = new QLabel( tr("Buffer Size (in ms):") );
|
||||
|
||||
bufSizeLabel = new QLabel("128");
|
||||
bufSizeSlider = new QSlider( Qt::Horizontal );
|
||||
|
@ -105,7 +105,7 @@ ConsoleSndConfDialog_t::ConsoleSndConfDialog_t(QWidget *parent)
|
|||
connect(bufSizeSlider, SIGNAL(valueChanged(int)), this, SLOT(bufSizeChanged(int)) );
|
||||
|
||||
// Swap Duty Cycles
|
||||
swapDutyChkbox = new QCheckBox("Swap Duty Cycles");
|
||||
swapDutyChkbox = new QCheckBox( tr("Swap Duty Cycles") );
|
||||
vbox1->addWidget( swapDutyChkbox );
|
||||
|
||||
setCheckBoxFromProperty( swapDutyChkbox , "SDL.SwapDuty" );
|
||||
|
|
|
@ -13,7 +13,7 @@ ConsoleVideoConfDialog_t::ConsoleVideoConfDialog_t(QWidget *parent)
|
|||
QHBoxLayout *hbox1;
|
||||
QLabel *lbl;
|
||||
|
||||
setWindowTitle("Video Config");
|
||||
setWindowTitle( tr("Video Config") );
|
||||
|
||||
main_vbox = new QVBoxLayout();
|
||||
|
||||
|
|
|
@ -201,7 +201,7 @@ void consoleWin_t::openROMFile(void)
|
|||
{
|
||||
int ret;
|
||||
QString filename;
|
||||
QFileDialog dialog(this, "Open ROM File");
|
||||
QFileDialog dialog(this, tr("Open ROM File") );
|
||||
|
||||
dialog.setFileMode(QFileDialog::ExistingFile);
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ GamePadConfDialog_t::GamePadConfDialog_t(QWidget *parent)
|
|||
configNo = 0;
|
||||
buttonConfigStatus = 1;
|
||||
|
||||
setWindowTitle("GamePad Config");
|
||||
setWindowTitle( tr("GamePad Config") );
|
||||
|
||||
hbox1 = new QHBoxLayout();
|
||||
hbox2 = new QHBoxLayout();
|
||||
|
@ -39,8 +39,8 @@ GamePadConfDialog_t::GamePadConfDialog_t(QWidget *parent)
|
|||
portSel->addItem( tr("3"), 2 );
|
||||
portSel->addItem( tr("4"), 3 );
|
||||
|
||||
efs_chkbox = new QCheckBox("Enable Four Score");
|
||||
udlr_chkbox = new QCheckBox("Allow Up+Down/Left+Right");
|
||||
efs_chkbox = new QCheckBox( tr("Enable Four Score") );
|
||||
udlr_chkbox = new QCheckBox( tr("Allow Up+Down/Left+Right") );
|
||||
|
||||
int fourScore;
|
||||
g_config->getOption("SDL.FourScore", &fourScore);
|
||||
|
@ -72,7 +72,7 @@ GamePadConfDialog_t::GamePadConfDialog_t(QWidget *parent)
|
|||
buttonName = new QLabel(tr(text));
|
||||
keyName[i] = new QLabel();
|
||||
button[i] = new GamePadConfigButton_t(i);
|
||||
clearButton[i] = new QPushButton("Clear");
|
||||
clearButton[i] = new QPushButton( tr("Clear") );
|
||||
|
||||
grid->addWidget( buttonName , i, 0, Qt::AlignCenter );
|
||||
grid->addWidget( keyName[i] , i, 1, Qt::AlignCenter );
|
||||
|
|
Loading…
Reference in New Issue