QString(i18n()) -> i18n().

svn path=/trunk/kdegraphics/kdvi/; revision=21873
remotes/origin/kdvi-2.0
Hans Petter Bieker 27 years ago
parent affd2e9adf
commit 95fa67a9e1
  1. 4
      dviwin.cpp
  2. 7
      kdvi.cpp
  3. 2
      print.cpp

@ -421,7 +421,7 @@ void dviWindow::drawDVI()
dvi_time = 0; // force init_dvi_file
QApplication::restoreOverrideCursor();
QMessageBox::critical( this, i18n("HEY"),
QString(i18n("What's this? DVI problem!\n"))
i18n("What's this? DVI problem!\n")
+ dvi_oops_msg,
i18n("OK"));
return;
@ -455,7 +455,7 @@ void dviWindow::drawDVI()
QApplication::restoreOverrideCursor();
paint.end();
QMessageBox::critical( this, i18n("HEY"),
QString(i18n("What's this? DVI problem!\n"))
i18n("What's this? DVI problem!\n")
+ dvi_oops_msg,
i18n("OK"));
return;

@ -237,7 +237,7 @@ void kdvi::makeMenuBar()
menuBar->insertSeparator();
QPopupMenu *help = kapp->getHelpMenu(true, QString(i18n("DVI Viewer"))
QPopupMenu *help = kapp->getHelpMenu(true, i18n("DVI Viewer")
+ " " + KDVI_VERSION
+ i18n("\n\nby Markku Hihnala")
+ " (mah@ee.oulu.fi)");
@ -514,7 +514,7 @@ void kdvi::openFile( QString name)
if ( ! QFileInfo( name ).isReadable() )
{
QMessageBox::information( this, i18n("Notice"),
QString(i18n("Can't read file:\n")) +
i18n("Can't read file:\n") +
oname, i18n("OK"));
return;
}
@ -929,8 +929,7 @@ void kdvi::selectSmall()
void kdvi::shrinkChanged(int s)
{
QString t;
t.sprintf(i18n("Shrink: %d"), s );
QString t = i18n("Shrink: %1").arg( s );
statusBar->changeItem( t, ID_STAT_SHRINK);
}

@ -61,7 +61,7 @@ print::~print()
void print::setFile( QString _file )
{
ifile = ofile = _file.copy();
setCaption( QString(i18n(i18n("Print "))) + ifile );
setCaption( i18n("Print ") + ifile );
QString of( _file );
if ( of.right(4) == ".dvi" )
of = of.left( of.length()-4 );

Loading…
Cancel
Save