svn path=/trunk/KDE/kdegraphics/okular/; revision=795906
remotes/origin/KDE/4.1
Malcolm Hunter 18 years ago
parent f655fbbb56
commit b6124a900b
  1. 6
      core/document.cpp
  2. 8
      generators/dvi/dviFile.cpp
  3. 2
      generators/dvi/dviRenderer.cpp
  4. 8
      generators/dvi/dviexport.cpp
  5. 4
      generators/dvi/fontpool.cpp
  6. 2
      part.cpp
  7. 2
      ui/findbar.cpp
  8. 2
      ui/pageview.cpp
  9. 2
      ui/sidebar.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;
}
}

@ -386,12 +386,12 @@ QString dvifile::convertPDFtoPS(const QString &PDFFilename, QString *converrorms
*converrorms = i18n("<qt><p>The external program <strong>pdf2ps</strong> 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.</p>"
"<p><b>Possible reason:</b> The program <strong>pdf2ps</strong> is perhaps not installed "
"on your system, or it cannot be found in the current search path.</p>"
"<p><b>What you can do:</b> The program <strong>pdf2ps</strong> program is normally "
"<p><b>Possible reason:</b> The program <strong>pdf2ps</strong> may not be installed "
"on your system, or cannot be found in the current search path.</p>"
"<p><b>What you can do:</b> The program <strong>pdf2ps</strong> 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 <strong>pdf2ps</strong> "
"If you are sure that ghostscript is installed, try to use <strong>pdf2ps</strong> "
"from the command line to check if it really works.</p><p><b>PATH:</b> %2</p></qt>", PDFFilename, getenv("PATH"));
have_complainedAboutMissingPDF2PS = true;
}

@ -228,7 +228,7 @@ void dviRenderer::drawPage(RenderedDocumentPagePixmap* page)
page->isEmpty = false;
if (errorMsg.isEmpty() != true) {
KMessageBox::detailedError(parentWidget,
i18n("<qt><strong>File corruption</strong> Okular could not interprete your DVI file. This is "
i18n("<qt><strong>File corruption</strong> Okular could not interpret your DVI file. This is "
"most commonly caused by a corrupted file.</qt>"),
errorMsg, i18n("DVI File Error"));
errorMsg.clear();

@ -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)

@ -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("<p>Okular relies on the <b>kpsewhich</b> program to locate font files "
"on your hard disc and to generate PK fonts, if necessary.</p>");
"on your hard disk and to generate PK fonts, if necessary.</p>");
kpsewhich_.start(kpsewhich_exe, kpsewhich_args,
QIODevice::ReadOnly|QIODevice::Text);

@ -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" ) );

@ -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 );

@ -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 );

@ -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 ) );

Loading…
Cancel
Save