Skip to content
Browse files

Slightly better handling of plural forms

  • Loading branch information...
1 parent 2472481 commit 1f37572c5ac08ca2de5728058f689f6c4e198779 @prokoudine prokoudine committed Dec 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/typotek.cpp
View
4 src/typotek.cpp
@@ -417,8 +417,8 @@ void typotek::open ( QString path, bool recursive, bool announce, bool collect )
// I want it :) - pm
if ( /*( pathList.count() > 1 )
&&*/ ( QMessageBox::question ( this,
- QString ( "Fontmatrix - %1" ).arg ( tr ( "confirmation" ) ) ,
- tr ( "Do you confirm you want to import these %1 fonts?" ).arg ( pathList.count() ),
+ QString ( "Fontmatrix - %1" ).arg ( tr ( "Confirmation" ) ) ,
+ tr ( "Do you confirm you want to import %n font(s)?", "", pathList.count()),
QMessageBox::Yes | QMessageBox::No,
QMessageBox::No )
!= QMessageBox::Yes ) )

0 comments on commit 1f37572

Please sign in to comment.
Something went wrong with that request. Please try again.