-rw-r--r-- | core/applets/screenshotapplet/screenshot.cpp | 2 | ||||
-rw-r--r-- | core/applets/screenshotapplet/screenshotapplet.pro | 13 |
2 files changed, 13 insertions, 2 deletions
diff --git a/core/applets/screenshotapplet/screenshot.cpp b/core/applets/screenshotapplet/screenshot.cpp index d95396b..8a2a956 100644 --- a/core/applets/screenshotapplet/screenshot.cpp +++ b/core/applets/screenshotapplet/screenshot.cpp @@ -71,33 +71,33 @@ static char * snapshot_xpm[] = { " "}; ScreenshotControl::ScreenshotControl( QWidget *parent, const char *name ) : QFrame( parent, name, WDestructiveClose | WStyle_StaysOnTop | WType_Popup ) { setFrameStyle( QFrame::PopupPanel | QFrame::Raised ); // qDebug("screenshot control"); QVBoxLayout *vbox = new QVBoxLayout( this ); // qDebug("new layout"); delaySpin = new QSpinBox( 0,60,1, this, "Spinner" ); // qDebug("new spinbox"); delaySpin->setFocusPolicy( QWidget::NoFocus ); grabItButton= new QPushButton( this, "GrabButton" ); // qDebug("new pushbutton"); grabItButton ->setFocusPolicy( QWidget::TabFocus ); - grabItButton->setText("Snapshot"); + grabItButton->setText(tr("Snapshot")); vbox->setMargin( 6 ); vbox->setSpacing( 3 ); vbox->addWidget( delaySpin); vbox->setMargin( 6 ); vbox->setSpacing( 3 ); vbox->addWidget( grabItButton); setFixedHeight( 100 ); setFixedWidth( sizeHint().width() ); setFocusPolicy(QWidget::NoFocus); grabTimer= new QTimer(this,"grab timer"); // qDebug("newTimer"); connect( grabTimer, SIGNAL( timeout() ), this, SLOT( grabTimerDone() ) ); // Config cfg("Snapshot"); diff --git a/core/applets/screenshotapplet/screenshotapplet.pro b/core/applets/screenshotapplet/screenshotapplet.pro index e38074d..e3c5440 100644 --- a/core/applets/screenshotapplet/screenshotapplet.pro +++ b/core/applets/screenshotapplet/screenshotapplet.pro @@ -1,16 +1,27 @@ TEMPLATE = lib CONFIG += qt warn_on release HEADERS = screenshot.h screenshotappletimpl.h SOURCES = screenshot.cpp screenshotappletimpl.cpp TARGET = screenshotapplet DESTDIR = ../../plugins/applets INCLUDEPATH += $(OPIEDIR)/include DEPENDPATH += ../$(OPIEDIR)/include LIBS += -lqpe VERSION = 1.0.0 MOC_DIR=opieobj OBJECTS_DIR=opieobj TRANSLATIONS = ../../i18n/pt_BR/libscreenshotapplet.ts -TRANSLATIONS += ../../i18n/es/libscreenshotapplet.ts TRANSLATIONS += ../../i18n/pt/libscreenshotapplet.ts +TRANSLATIONS += ../../i18n/de/libscreenshotapplet.ts +TRANSLATIONS += ../../i18n/en/libscreenshotapplet.ts +TRANSLATIONS += ../../i18n/es/libscreenshotapplet.ts +TRANSLATIONS += ../../i18n/fr/libscreenshotapplet.ts +TRANSLATIONS += ../../i18n/hu/libscreenshotapplet.ts +TRANSLATIONS += ../../i18n/ja/libscreenshotapplet.ts +TRANSLATIONS += ../../i18n/ko/libscreenshotapplet.ts +TRANSLATIONS += ../../i18n/no/libscreenshotapplet.ts +TRANSLATIONS += ../../i18n/pl/libscreenshotapplet.ts +TRANSLATIONS += ../../i18n/sl/libscreenshotapplet.ts +TRANSLATIONS += ../../i18n/zh_CN/libscreenshotapplet.ts +TRANSLATIONS += ../../i18n/zh_TW/libscreenshotapplet.ts |