From 9e2e5d8887bbd1279d69b88a02f003146def5e6c Mon Sep 17 00:00:00 2001 From: Ray-V Date: Tue, 2 Mar 2021 12:12:46 +0900 Subject: Added additional translation strings. Signed-off-by: Ray-V Signed-off-by: Michele Calgaro (cherry picked from commit 2c080a7a204d725e2e4852bb7c05d45c71a60cb2) --- src/MainWidget.cpp | 8 ++++---- translations/messages/kvkbd.pot | 14 +++++++++++++- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/src/MainWidget.cpp b/src/MainWidget.cpp index da0fd0b..26c0f8f 100644 --- a/src/MainWidget.cpp +++ b/src/MainWidget.cpp @@ -519,9 +519,9 @@ MainWidget::MainWidget ( TDEAboutData *about, bool tren, TQWidget *parent, const m->setCheckable ( true ); KHelpMenu *h = new KHelpMenu ( tray, about ); - m->insertItem ( "Font ...", this, TQT_SLOT ( chooseFont() ) ); + m->insertItem ( i18n("Font ..."), this, TQT_SLOT ( chooseFont() ) ); - mnu_autores = m->insertItem( "Auto resize font",this, TQT_SLOT ( toggleFontAutoRes() ) ); + mnu_autores = m->insertItem( i18n("Auto resize font"),this, TQT_SLOT ( toggleFontAutoRes() ) ); bool fnt_autores = cfg->readBoolEntry("autoresfont",true); m->setItemChecked(mnu_autores, fnt_autores); @@ -529,7 +529,7 @@ MainWidget::MainWidget ( TDEAboutData *about, bool tren, TQWidget *parent, const m->insertItem ( i18n ("Keys color"), this, TQT_SLOT ( chooseKeysColor() ) ); m->insertSeparator(); - mnu_dock = m->insertItem ( "Dock widget", this, TQT_SLOT ( showDock() ) ); + mnu_dock = m->insertItem ( i18n("Dock widget"), this, TQT_SLOT ( showDock() ) ); bool show_dock = cfg->readBoolEntry("showdock",false); m->setItemChecked(mnu_dock, show_dock); @@ -539,7 +539,7 @@ MainWidget::MainWidget ( TDEAboutData *about, bool tren, TQWidget *parent, const //m->insertItem("Configure", this, TQT_SLOT(config())); m->insertSeparator(); - m->insertItem ( "Help", h->menu() ); + m->insertItem ( i18n("Help"), h->menu() ); tray->show(); diff --git a/translations/messages/kvkbd.pot b/translations/messages/kvkbd.pot index 7c94c2e..dc1527c 100644 --- a/translations/messages/kvkbd.pot +++ b/translations/messages/kvkbd.pot @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2021-03-01 20:25+0000\n" +"POT-Creation-Date: 2021-03-02 12:10+0900\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -39,6 +39,14 @@ msgstr "" msgid "Show num pad" msgstr "" +#: MainWidget.cpp:522 +msgid "Font ..." +msgstr "" + +#: MainWidget.cpp:524 +msgid "Auto resize font" +msgstr "" + #: MainWidget.cpp:528 msgid "Background color" msgstr "" @@ -47,6 +55,10 @@ msgstr "" msgid "Keys color" msgstr "" +#: MainWidget.cpp:532 +msgid "Dock widget" +msgstr "" + #: MainWidget.cpp:536 msgid "Lock on screen" msgstr "" -- cgit v1.2.1