diff --git a/core/document.cpp b/core/document.cpp index 6349e01b3..16877d692 100644 --- a/core/document.cpp +++ b/core/document.cpp @@ -1289,7 +1289,7 @@ bool Document::openDocument( const QString & docFile, const KUrl& url, const KMi KService::List offers = KMimeTypeTrader::self()->query(mime->name(),"okular/Generator",constraint); if (offers.isEmpty()) { - emit error( i18n( "Can not find a plugin which is able to handle the passed document." ), -1 ); + emit error( i18n( "Can not find a plugin which is able to handle the document being passed." ), -1 ); kWarning(OkularDebug).nospace() << "No plugin for mimetype '" << mime->name() << "'."; return false; } @@ -2535,7 +2535,7 @@ void Document::processAction( const Action * action ) { // this case is a link pointing to an executable with a parameter // that also is an executable, possibly a hand-crafted pdf - KMessageBox::information( widget(), i18n("The document is trying to execute an external application and for your safety Okular does not allow that.") ); + KMessageBox::information( widget(), i18n("The document is trying to execute an external application and, for your safety, Okular does not allow that.") ); return; } } @@ -2543,7 +2543,7 @@ void Document::processAction( const Action * action ) { // this case is a link pointing to an executable with no parameters // core developers find unacceptable executing it even after asking the user - KMessageBox::information( widget(), i18n("The document is trying to execute an external application and for your safety Okular does not allow that.") ); + KMessageBox::information( widget(), i18n("The document is trying to execute an external application and, for your safety, Okular does not allow that.") ); return; } } diff --git a/generators/dvi/dviFile.cpp b/generators/dvi/dviFile.cpp index ccd4213c4..12ddf2efb 100644 --- a/generators/dvi/dviFile.cpp +++ b/generators/dvi/dviFile.cpp @@ -386,12 +386,12 @@ QString dvifile::convertPDFtoPS(const QString &PDFFilename, QString *converrorms *converrorms = i18n("

The external program pdf2ps could not be started. As a result, " "the PDF-file %1 could not be converted to PostScript. Some graphic elements in your " "document will therefore not be displayed.

" - "

Possible reason: The program pdf2ps is perhaps not installed " - "on your system, or it cannot be found in the current search path.

" - "

What you can do: The program pdf2ps program is normally " + "

Possible reason: The program pdf2ps may not be installed " + "on your system, or cannot be found in the current search path.

" + "

What you can do: The program pdf2ps is normally " "contained in distributions of the ghostscript PostScript interpreter system. If " "ghostscipt is not installed on your system, you could install it now. " - "If you are sure that ghostscript is installed, please try to use pdf2ps " + "If you are sure that ghostscript is installed, try to use pdf2ps " "from the command line to check if it really works.

PATH: %2

", PDFFilename, getenv("PATH")); have_complainedAboutMissingPDF2PS = true; } diff --git a/generators/dvi/dviRenderer.cpp b/generators/dvi/dviRenderer.cpp index 55a61a1e8..9cc3d2215 100644 --- a/generators/dvi/dviRenderer.cpp +++ b/generators/dvi/dviRenderer.cpp @@ -228,7 +228,7 @@ void dviRenderer::drawPage(RenderedDocumentPagePixmap* page) page->isEmpty = false; if (errorMsg.isEmpty() != true) { KMessageBox::detailedError(parentWidget, - i18n("File corruption Okular could not interprete your DVI file. This is " + i18n("File corruption Okular could not interpret your DVI file. This is " "most commonly caused by a corrupted file."), errorMsg, i18n("DVI File Error")); errorMsg.clear(); diff --git a/generators/dvi/dviexport.cpp b/generators/dvi/dviexport.cpp index 5d4933511..05024e11a 100644 --- a/generators/dvi/dviexport.cpp +++ b/generators/dvi/dviexport.cpp @@ -231,10 +231,10 @@ DVIExportToPDF::DVIExportToPDF(dviRenderer& parent, QWidget* parent_widget) if (!find_exe("dvipdfm")) { KMessageBox::sorry(parent_widget, - i18n("Okular could not locate the program 'dvipdfm' on your computer. That program is " + i18n("Okular could not locate the program 'dvipdfm' on your computer. This program is " "essential for the export function to work. You can, however, convert " "the DVI-file to PDF using the print function of Okular, but that will often " - "produce documents which print ok, but are of inferior quality if viewed in the " + "produce documents which print okay, but are of inferior quality if viewed in " "Acrobat Reader. It may be wise to upgrade to a more recent version of your " "TeX distribution which includes the 'dvipdfm' program.\n" "Hint to the perplexed system administrator: Okular uses the PATH environment variable " @@ -252,7 +252,7 @@ DVIExportToPDF::DVIExportToPDF(dviRenderer& parent, QWidget* parent_widget) if (!output.exists()) { const int result = KMessageBox::warningContinueCancel(parent_widget, - i18n("The file %1\nexists. Do you want to overwrite that file?", output_name), + i18n("The file %1\nexists. Do you want to overwrite it?", output_name), i18n("Overwrite File"), KGuiItem( i18n("Overwrite") )); if (result == KMessageBox::Cancel) @@ -339,7 +339,7 @@ DVIExportToPS::DVIExportToPS(dviRenderer& parent, if (!output.exists()) { const int result = KMessageBox::warningContinueCancel(parent_widget, - i18n("The file %1\nexists. Do you want to overwrite that file?", output_name_), + i18n("The file %1\nexists. Do you want to overwrite it?", output_name_), i18n("Overwrite File"), KGuiItem( i18n("Overwrite") )); if (result == KMessageBox::Cancel) diff --git a/generators/dvi/fontpool.cpp b/generators/dvi/fontpool.cpp index 407bc99a3..d8fb02e36 100644 --- a/generators/dvi/fontpool.cpp +++ b/generators/dvi/fontpool.cpp @@ -37,7 +37,7 @@ bool fontPoolTimerFlag; fontPool::fontPool() : progress("fontgen", // Chapter in the documentation for help. i18n("Okular is currently generating bitmap fonts..."), - i18n("Aborts the font generation. Don't do this."), + i18n("Aborts the font generation. Do not do this."), i18n("Okular is currently generating bitmap fonts which are needed to display your document. " "For this, Okular uses a number of external programs, such as MetaFont. You can find " "the output of these programs later in the document info dialog."), @@ -342,7 +342,7 @@ void fontPool::locateFonts(bool makePK, bool locateTFMonly, bool *virtualFontsFo const QString importanceOfKPSEWHICH = i18n("

Okular relies on the kpsewhich program to locate font files " - "on your hard disc and to generate PK fonts, if necessary.

"); + "on your hard disk and to generate PK fonts, if necessary.

"); kpsewhich_.start(kpsewhich_exe, kpsewhich_args, QIODevice::ReadOnly|QIODevice::Text); diff --git a/part.cpp b/part.cpp index 8637fbb62..39dc9c7dd 100644 --- a/part.cpp +++ b/part.cpp @@ -828,7 +828,7 @@ bool Part::openFile() bool goAheadWithPresentationMode = true; if ( !m_cliPresentation ) { - const QString text = i18n( "The document requested to be launched on presentation mode.\n" + const QString text = i18n( "The document requested to be launched in presentation mode.\n" "Do you want to allow it?" ); const QString caption = i18n( "Presentation Mode" ); const KGuiItem yesItem = KGuiItem( i18n( "Allow" ), "dialog-ok", i18n( "Allow the presentation mode" ) ); diff --git a/ui/findbar.cpp b/ui/findbar.cpp index 238b54f28..049ccb00d 100644 --- a/ui/findbar.cpp +++ b/ui/findbar.cpp @@ -59,7 +59,7 @@ FindBar::FindBar( Okular::Document * document, QWidget * parent ) QPushButton * optionsBtn = new QPushButton( this ); optionsBtn->setText( i18n( "Options" ) ); - optionsBtn->setToolTip( i18n( "Modify search behaviour" ) ); + optionsBtn->setToolTip( i18n( "Modify search behavior" ) ); QMenu * optionsMenu = new QMenu( optionsBtn ); m_caseSensitiveAct = optionsMenu->addAction( i18n( "Case sensitive" ) ); m_caseSensitiveAct->setCheckable( true ); diff --git a/ui/pageview.cpp b/ui/pageview.cpp index ab78550c6..dc715bfc2 100644 --- a/ui/pageview.cpp +++ b/ui/pageview.cpp @@ -3087,7 +3087,7 @@ void PageView::slotSetMouseTextSelect() { d->mouseMode = MouseTextSelect; // change the text in messageWindow (and show it if hidden) - d->messageWindow->display( i18n( "Select text." ), PageViewMessage::Info, -1 ); + d->messageWindow->display( i18n( "Select text" ), PageViewMessage::Info, -1 ); // force hiding of annotator toolbar if ( d->annotator ) d->annotator->setEnabled( false ); diff --git a/ui/sidebar.cpp b/ui/sidebar.cpp index 8a64c6eff..473416bb1 100644 --- a/ui/sidebar.cpp +++ b/ui/sidebar.cpp @@ -592,7 +592,7 @@ void Sidebar::listContextMenu( const QPoint &pos ) } ADD_SIZE_ACTION( i18n( "Small Icons" ), 22 ) ADD_SIZE_ACTION( i18n( "Normal Icons" ), 32 ) - ADD_SIZE_ACTION( i18n( "Big Icons" ), 48 ) + ADD_SIZE_ACTION( i18n( "Large Icons" ), 48 ) #undef ADD_SIZE_ACTION connect( sizeGroup, SIGNAL( triggered( QAction* ) ), this, SLOT( iconSizeChanged( QAction* ) ) ); menu.exec( mapToGlobal( pos ) );