summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/aqpkg.pro17
-rw-r--r--noncore/settings/aqpkg/installdlgimpl.cpp2
2 files changed, 18 insertions, 1 deletions
diff --git a/noncore/settings/aqpkg/aqpkg.pro b/noncore/settings/aqpkg/aqpkg.pro
index 98c358c..d8eee6a 100644
--- a/noncore/settings/aqpkg/aqpkg.pro
+++ b/noncore/settings/aqpkg/aqpkg.pro
@@ -29,19 +29,36 @@ SOURCES = mainwin.cpp \
server.cpp \
helpwindow.cpp \
letterpushbutton.cpp \
inputdlg.cpp \
version.cpp \
categoryfilterimpl.cpp
INTERFACES = settings.ui \
install.ui \
instoptions.ui \
categoryfilter.ui
TARGET = aqpkg
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe -lopie -lstdc++
DESTDIR = $(OPIEDIR)/bin
+TRANSLATIONS = ../../../i18n/de/aqpkg.ts \
+ ../../../i18n/xx/aqpkg.ts \
+ ../../../i18n/en/aqpkg.ts \
+ ../../../i18n/es/aqpkg.ts \
+ ../../../i18n/fr/aqpkg.ts \
+ ../../../i18n/hu/aqpkg.ts \
+ ../../../i18n/ja/aqpkg.ts \
+ ../../../i18n/ko/aqpkg.ts \
+ ../../../i18n/no/aqpkg.ts \
+ ../../../i18n/pl/aqpkg.ts \
+ ../../../i18n/pt/aqpkg.ts \
+ ../../../i18n/pt_BR/aqpkg.ts \
+ ../../../i18n/sl/aqpkg.ts \
+ ../../../i18n/zh_CN/aqpkg.ts \
+ ../../../i18n/zh_TW/aqpkg.ts \
+ ../../../i18n/it/aqpkg.ts \
+ ../../../i18n/da/aqpkg.ts
include ( $(OPIEDIR)/include.pro )
diff --git a/noncore/settings/aqpkg/installdlgimpl.cpp b/noncore/settings/aqpkg/installdlgimpl.cpp
index bf2c482..75ce1a1 100644
--- a/noncore/settings/aqpkg/installdlgimpl.cpp
+++ b/noncore/settings/aqpkg/installdlgimpl.cpp
@@ -144,33 +144,33 @@ void InstallDlgImpl :: optionsSelected()
}
void InstallDlgImpl :: installSelected()
{
if ( btnInstall->text() == "Abort" )
{
if ( pIpkg )
{
displayText( "\n**** User Clicked ABORT ***" );
pIpkg->abort();
displayText( "**** Process Aborted ****" );
}
btnInstall->setText( tr( "Close" ) );
return;
}
- else if ( btnInstall->text() == "Close" )
+ else if ( btnInstall->text() == tr( "Close" ) )
{
done( 1 );
return;
}
// Disable buttons
btnOptions->setEnabled( false );
// btnInstall->setEnabled( false );
btnInstall->setText( "Abort" );
if ( pIpkg )
{
output->setText( "" );
connect( pIpkg, SIGNAL(outputText(const QString &)), this, SLOT(displayText(const QString &)));