From 41b4b9c38bada39b0e5d53b481f132e85e796463 Mon Sep 17 00:00:00 2001 From: groucho Date: Mon, 27 Jan 2003 10:34:16 +0000 Subject: Added translation for aqpkg Fixed a bug where aqpkg would not close the window, when the close button had been translated ;-) --- 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 @@ -42,6 +42,23 @@ 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 @@ -157,7 +157,7 @@ void InstallDlgImpl :: installSelected() btnInstall->setText( tr( "Close" ) ); return; } - else if ( btnInstall->text() == "Close" ) + else if ( btnInstall->text() == tr( "Close" ) ) { done( 1 ); return; -- cgit v0.9.0.2