remove exclamation marks

svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=542187
This commit is contained in:
Chris Howells 2006-05-18 14:58:47 +00:00
parent 27d3fa2fad
commit 58af663a28
4 changed files with 9 additions and 9 deletions

View file

@ -179,8 +179,8 @@ void dviRenderer::drawPage(double resolution, RenderedDocumentPagePixmap* page)
page->isEmpty = false; page->isEmpty = false;
if (errorMsg.isEmpty() != true) { if (errorMsg.isEmpty() != true) {
KMessageBox::detailedError(parentWidget, KMessageBox::detailedError(parentWidget,
i18n("<qt><strong>File corruption!</strong> KDVI had trouble interpreting your DVI file. Most " i18n("<qt><strong>File corruption</strong> KDVI could not interprete your DVI file. This is "
"likely this means that the DVI file is broken.</qt>"), "most commonly caused by a corrupted file.</qt>"),
errorMsg, i18n("DVI File Error")); errorMsg, i18n("DVI File Error"));
errorMsg = QString::null; errorMsg = QString::null;
currentlyDrawnPage = 0; currentlyDrawnPage = 0;
@ -409,7 +409,7 @@ bool dviRenderer::setFile(const QString &fname, const KUrl &base)
KMessageBox::error( parentWidget, KMessageBox::error( parentWidget,
i18n("<qt><strong>File error.</strong> The specified file '%1' does not exist. " i18n("<qt><strong>File error.</strong> The specified file '%1' does not exist. "
"KDVI already tried to add the ending '.dvi'.</qt>", filename), "KDVI already tried to add the ending '.dvi'.</qt>", filename),
i18n("File Error!")); i18n("File Error"));
return false; return false;
} }
@ -439,8 +439,8 @@ bool dviRenderer::setFile(const QString &fname, const KUrl &base)
QApplication::restoreOverrideCursor(); QApplication::restoreOverrideCursor();
if (dviFile_new->errorMsg.isEmpty() != true) if (dviFile_new->errorMsg.isEmpty() != true)
KMessageBox::detailedError(parentWidget, KMessageBox::detailedError(parentWidget,
i18n("<qt>File corruption! KDVI had trouble interpreting your DVI file. Most " i18n("<qt>File corruption. KDVI could not interprete your DVI file. This is "
"likely this means that the DVI file is broken.</qt>"), "most commonly caused by a corrupted file.</qt>"),
dviFile_new->errorMsg, i18n("DVI File Error")); dviFile_new->errorMsg, i18n("DVI File Error"));
delete dviFile_new; delete dviFile_new;
return false; return false;

View file

@ -438,8 +438,8 @@ void dviRenderer::prescan_ParsePSFileSpecial(const QString& cp)
emit setStatusBarText( QString::null ); emit setStatusBarText( QString::null );
if (convErrorMsg.isEmpty() != true) { if (convErrorMsg.isEmpty() != true) {
KMessageBox::detailedError(parentWidget, KMessageBox::detailedError(parentWidget,
i18n("<qt><strong>File conversion error!</strong> KDVI was not able to convert the external " i18n("<qt><strong>File conversion error</strong> KDVI was not able to convert the external "
"PDF-file <strong>%1</strong> into PostScript. Expect missing graphics or graphic errors.</qt>", oEPSfilename), "PDF file <strong>%1</strong> into PostScript. Expect missing graphics or graphic errors.</qt>", oEPSfilename),
convErrorMsg, i18n("PDF/PS conversion error")); convErrorMsg, i18n("PDF/PS conversion error"));
return; return;
} }

View file

@ -151,7 +151,7 @@ TeXFontDefinition* fontPool::appendx(const QString& fontname, quint32 checksum,
fontp = new TeXFontDefinition(fontname, displayResolution*enlargement, checksum, scale, this, enlargement); fontp = new TeXFontDefinition(fontname, displayResolution*enlargement, checksum, scale, this, enlargement);
if (fontp == 0) { if (fontp == 0) {
kError(kvs::dvi) << i18n("Could not allocate memory for a font structure!") << endl; kError(kvs::dvi) << i18n("Could not allocate memory for a font structure") << endl;
exit(0); exit(0);
} }
fontList.append(fontp); fontList.append(fontp);

View file

@ -71,7 +71,7 @@
void oops(const QString& message) void oops(const QString& message)
{ {
kError(kvs::dvi) << i18n("Fatal Error! ") << message << endl; kError(kvs::dvi) << i18n("Fatal Error") << message << endl;
KMessageBox::error( NULL, KMessageBox::error( NULL,
i18n("Fatal error.\n\n") + i18n("Fatal error.\n\n") +