author | groucho <groucho> | 2003-01-27 10:34:16 (UTC) |
---|---|---|
committer | groucho <groucho> | 2003-01-27 10:34:16 (UTC) |
commit | 41b4b9c38bada39b0e5d53b481f132e85e796463 (patch) (unidiff) | |
tree | 8498fab432e1c4895be182f29fc944f6e33581f1 | |
parent | b20483d184a2c32ade729f117e1fcd380f29649f (diff) | |
download | opie-41b4b9c38bada39b0e5d53b481f132e85e796463.zip opie-41b4b9c38bada39b0e5d53b481f132e85e796463.tar.gz opie-41b4b9c38bada39b0e5d53b481f132e85e796463.tar.bz2 |
Added translation for aqpkg
Fixed a bug where aqpkg would not close the window, when the close button had been translated ;-)
-rw-r--r-- | noncore/settings/aqpkg/aqpkg.pro | 17 | ||||
-rw-r--r-- | noncore/settings/aqpkg/installdlgimpl.cpp | 2 |
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 | |||
@@ -41,7 +41,24 @@ INCLUDEPATH += $(OPIEDIR)/include | |||
41 | DEPENDPATH += $(OPIEDIR)/include | 41 | DEPENDPATH += $(OPIEDIR)/include |
42 | LIBS += -lqpe -lopie -lstdc++ | 42 | LIBS += -lqpe -lopie -lstdc++ |
43 | DESTDIR = $(OPIEDIR)/bin | 43 | DESTDIR = $(OPIEDIR)/bin |
44 | 44 | ||
45 | TRANSLATIONS = ../../../i18n/de/aqpkg.ts \ | ||
46 | ../../../i18n/xx/aqpkg.ts \ | ||
47 | ../../../i18n/en/aqpkg.ts \ | ||
48 | ../../../i18n/es/aqpkg.ts \ | ||
49 | ../../../i18n/fr/aqpkg.ts \ | ||
50 | ../../../i18n/hu/aqpkg.ts \ | ||
51 | ../../../i18n/ja/aqpkg.ts \ | ||
52 | ../../../i18n/ko/aqpkg.ts \ | ||
53 | ../../../i18n/no/aqpkg.ts \ | ||
54 | ../../../i18n/pl/aqpkg.ts \ | ||
55 | ../../../i18n/pt/aqpkg.ts \ | ||
56 | ../../../i18n/pt_BR/aqpkg.ts \ | ||
57 | ../../../i18n/sl/aqpkg.ts \ | ||
58 | ../../../i18n/zh_CN/aqpkg.ts \ | ||
59 | ../../../i18n/zh_TW/aqpkg.ts \ | ||
60 | ../../../i18n/it/aqpkg.ts \ | ||
61 | ../../../i18n/da/aqpkg.ts | ||
45 | 62 | ||
46 | 63 | ||
47 | include ( $(OPIEDIR)/include.pro ) | 64 | 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 | |||
@@ -156,9 +156,9 @@ void InstallDlgImpl :: installSelected() | |||
156 | 156 | ||
157 | btnInstall->setText( tr( "Close" ) ); | 157 | btnInstall->setText( tr( "Close" ) ); |
158 | return; | 158 | return; |
159 | } | 159 | } |
160 | else if ( btnInstall->text() == "Close" ) | 160 | else if ( btnInstall->text() == tr( "Close" ) ) |
161 | { | 161 | { |
162 | done( 1 ); | 162 | done( 1 ); |
163 | return; | 163 | return; |
164 | } | 164 | } |