i18n change: the plural forms are with %1, %2, etc now, %n is no more

svn path=/trunk/playground/graphics/okular/; revision=633277
remotes/origin/KDE/4.0
Pino Toscano 19 years ago
parent 065287322a
commit 1161debb9c
  1. 4
      ui/pageview.cpp

@ -640,7 +640,7 @@ void PageView::notifySetup( const QVector< Okular::Page * > & pageSet, bool docu
if ( documentChanged && pageSet.count() > 0 && Okular::Settings::showOSD() )
d->messageWindow->display(
i18np(" Loaded a one-page document.",
" Loaded a %n-page document.",
" Loaded a %1-page document.",
pageSet.count() ),
PageViewMessage::Info, 4000 );
@ -1672,7 +1672,7 @@ void PageView::contentsMouseReleaseEvent( QMouseEvent * e )
QAction *textToClipboard = 0, *speakText = 0, *imageToClipboard = 0, *imageToFile = 0;
if ( d->document->supportsSearching() && !selectedText.isEmpty() )
{
menu.addTitle( i18np( "Text (1 character)", "Text (%n characters)", selectedText.length() ) );
menu.addTitle( i18np( "Text (1 character)", "Text (%1 characters)", selectedText.length() ) );
textToClipboard = menu.addAction( KIcon("editcopy"), i18n( "Copy to Clipboard" ) );
if ( !d->document->isAllowed( Okular::AllowCopy ) )
{

Loading…
Cancel
Save