Commit c58334d9 authored by Stephan Binner's avatar Stephan Binner

SVN_SILENT i18n style guide fixes

svn path=/branches/KDE/3.5/kdeedu/kmplot/; revision=441975
parent 7d47b247
......@@ -67,7 +67,7 @@ EditFunction::EditFunction( XParser* parser, QWidget* parent, const char* name )
editintegralpage = new EditIntegralPage( page2 );
for( int number = 0; number < SLIDER_COUNT; number++ )
{
editfunctionpage->listOfSliders->insertItem( i18n( "Slider no. %1" ).arg( number +1) );
editfunctionpage->listOfSliders->insertItem( i18n( "Slider No. %1" ).arg( number +1) );
}
connect( editfunctionpage->cmdParameter, SIGNAL ( clicked() ), this, SLOT( cmdParameter_clicked() ) );
connect( editfunctionpage->useNoParameter, SIGNAL ( toggled(bool) ), this, SLOT( noParameter_toggled(bool) ) );
......
......@@ -71,9 +71,9 @@ void KMinMax::init(char m)
lblMin->setText(i18n("Search between the x-value:"));
lblMax->setText(i18n("and:"));
cmdFind->setText(i18n("&Find"));
QToolTip::add(min,i18n("lower boundary of the plot range"));
QToolTip::add(min,i18n("Lower boundary of the plot range"));
QWhatsThis::add(min,i18n("Enter the lower boundary of the plot range. Expressions like 2*pi are allowed, too."));
QToolTip::add(max,i18n("upper boundary of the plot range"));
QToolTip::add(max,i18n("Upper boundary of the plot range"));
QWhatsThis::add(max,i18n("Enter the upper boundary of the plot range. Expressions like 2*pi are allowed, too."));
if ( m_mode == 1) //find maximum point
......@@ -97,7 +97,7 @@ void KMinMax::init(char m)
max->setReadOnly(true);
min->setText("");
max->setText("");
QToolTip::add(min,i18n("lower boundary of the plot range"));
QToolTip::add(min,i18n("Lower boundary of the plot range"));
QWhatsThis::add(min,i18n("Enter the lower boundary of the plot range. Expressions like 2*pi are allowed, too."));
QToolTip::add(max,i18n("No returned y-value yet"));
QWhatsThis::add(max,i18n("Here you will see the y-value which you got from the x-value in the textbox above. To calculate the y-value, press the Calculate button."));
......@@ -115,9 +115,9 @@ void KMinMax::init(char m)
min->setText( range);
range.setNum(View::xmax);
max->setText(range);
QToolTip::add(min,i18n("lower boundary of the plot range"));
QToolTip::add(min,i18n("Lower boundary of the plot range"));
QWhatsThis::add(min,i18n("Enter the lower boundary of the plot range. Expressions like 2*pi are allowed, too."));
QToolTip::add(max,i18n("upper boundary of the plot range"));
QToolTip::add(max,i18n("Upper boundary of the plot range"));
QWhatsThis::add(max,i18n("Enter the upper boundary of the plot range. Expressions like 2*pi are allowed, too."));
setCaption(i18n("Area Under Graph"));
......
......@@ -61,9 +61,9 @@ KSliderWindow::KSliderWindow(QWidget* parent, int num ) :
installEventFilter(this);
m_popupmenu = new KPopupMenu(this);
KAction *mnuMinValue = new KAction(i18n("&Change minimum value") ,0,this, SLOT( mnuMinValue_clicked() ),0);
KAction *mnuMinValue = new KAction(i18n("&Change Minimum Value") ,0,this, SLOT( mnuMinValue_clicked() ),0);
mnuMinValue->plug(m_popupmenu);
KAction *mnuMaxValue = new KAction(i18n("&Change maximum value") ,0,this, SLOT( mnuMaxValue_clicked() ),0 );
KAction *mnuMaxValue = new KAction(i18n("&Change Maximum Value") ,0,this, SLOT( mnuMaxValue_clicked() ),0 );
mnuMaxValue->plug(m_popupmenu);
}
......@@ -99,7 +99,7 @@ void KSliderWindow::closeEvent( QCloseEvent * e)
void KSliderWindow::mnuMinValue_clicked()
{
bool ok;
int const result = KInputDialog::getInteger(i18n("Change minimum value"), i18n("Type a new minimum value for the slider:"), slider->minValue(), INT_MIN, INT_MAX, 1, 10, &ok);
int const result = KInputDialog::getInteger(i18n("Change Minimum Value"), i18n("Type a new minimum value for the slider:"), slider->minValue(), INT_MIN, INT_MAX, 1, 10, &ok);
if (!ok)
return;
slider->setMinValue(result);
......@@ -110,7 +110,7 @@ void KSliderWindow::mnuMinValue_clicked()
void KSliderWindow::mnuMaxValue_clicked()
{
bool ok;
int const result = KInputDialog::getInteger(i18n("Change maximum value"), i18n("Type a new maximum value for the slider:"), slider->maxValue(), INT_MIN, INT_MAX, 1, 10, &ok);
int const result = KInputDialog::getInteger(i18n("Change Maximum Value"), i18n("Type a new maximum value for the slider:"), slider->maxValue(), INT_MIN, INT_MAX, 1, 10, &ok);
if (!ok)
return;
slider->setMaxValue(result);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment