eBookProjects / uChmViewer

A fork of Kchmviewer, the best software for viewing .chm (MS HTML help) and .epub eBooks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Translation of some strings is missing

u-235 opened this issue · comments

In the following cases, for strings that require translation, there is either no marking or Qt marking is used.

src/mainwindow.cpp

src/mainwindow.cpp:1040

			QMessageBox::warning( 0,
								  "Cannot start external editor", 
								  tr("Cannot start external editor %1.\nMake sure the path is absolute!") .arg( pConfig->m_advExternalEditorPath ) );
			delete m_tempFileKeeper.takeLast();

src/mainwindow.cpp:1098

#if QT_VERSION >= 0x050000
    QString info = QString( "<br>Built for %1 arch using %2 ABI<br>Running on %3, Qt version %4" )
            .arg( QSysInfo::buildCpuArchitecture() )
            .arg( QSysInfo::buildAbi() )
            .arg( QSysInfo::prettyProductName() )
            .arg( qVersion() );
#else
    QString info = QString( "<br>Using Qt version %1") .arg( qVersion() );
#endif

src/mainwindow.cpp:1287

	m_contextMenu->addAction ( "&Open this link in a new tab",
	                          this, 
	                          SLOT( onOpenPageInNewTab() ), 
	                          QKeySequence( "Shift+Enter" ) );
	
	m_contextMenu->addAction ( "&Open this link in a new background tab", 
	                          this, 
	                          SLOT( onOpenPageInNewBackgroundTab() ),
	                          QKeySequence( "Ctrl+Enter" ) );

src/mainwindow.cpp:1464

	statusBar()->showMessage( tr("Unable to check whether a new version is available"), 2000 );

src/mainwindow.cpp:1476

		if ( QMessageBox::question( 0,
				tr("New version available"),
				tr("<html>A new version <b>%1</b> of Kchmviewer is available!<br><br>"
				   "You are currently using version %3.<br>"
				   "Do you want to visit the application web site %2?")
						.arg( metadata["Version"] )
						.arg( metadata["URL"] )
						.arg( current ),
					QMessageBox::Yes | QMessageBox::No,
					QMessageBox::Yes ) == QMessageBox::No )

src/mainwindow.cpp:1491

		statusBar()->showMessage( tr("Checked for updates; you are using the latest version of kchmviewer"), 2000 );

src/tab_search.cpp

src/tab_search.cpp:243

	::mainWindow->statusBar()->showMessage( tr( "Generating search index..." ) );

src/tab_search.cpp:253

		QMessageBox::critical( 0, "Cannot save index", tr("The index cannot be saved into file %1") .arg( file.fileName() ) );

src/tab_search.cpp:293

		QMessageBox::information ( this, "No index present", "The index is not present" );

src/qtwebkit/viewwindow.cpp

src/qtwebkit/viewwindow.cpp:129

			m_contextMenuLink->addAction( "&Open this link in a new tab", ::mainWindow, SLOT(onOpenPageInNewTab()), QKeySequence("Shift+Enter") );
			
			m_contextMenuLink->addAction( "&Open this link in a new background tab", ::mainWindow, SLOT(onOpenPageInNewBackgroundTab()), QKeySequence("Ctrl+Enter") );

src/qtwebengine/viewwindow.cpp

src/qtwebengine/viewwindow.cpp:116

            m_contextMenuLink->addAction( "&Open this link in a new tab", ::mainWindow, SLOT(onOpenPageInNewTab()), QKeySequence("Shift+Enter") );
            m_contextMenuLink->addAction( "&Open this link in a new background tab", ::mainWindow, SLOT(onOpenPageInNewBackgroundTab()), QKeySequence("Ctrl+Enter") );