forked from qt-creator/qt-creator
EmacsKeys: Tr::tr()
Change-Id: I52ccb149237e01595a515c6bb380490276e343b7 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -13952,7 +13952,7 @@ Det hjælper måske at genbygge projektet.</translation>
|
|||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>EmacsKeys::Internal::EmacsKeysPlugin</name>
|
<name>::EmacsKeys</name>
|
||||||
<message>
|
<message>
|
||||||
<source>Delete Character</source>
|
<source>Delete Character</source>
|
||||||
<translation>Slet tegn</translation>
|
<translation>Slet tegn</translation>
|
||||||
|
@@ -30867,7 +30867,7 @@ Möchten Sie es beenden?</translation>
|
|||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>EmacsKeys::Internal::EmacsKeysPlugin</name>
|
<name>::EmacsKeys</name>
|
||||||
<message>
|
<message>
|
||||||
<source>Delete Character</source>
|
<source>Delete Character</source>
|
||||||
<translation>Zeichen entfernen</translation>
|
<translation>Zeichen entfernen</translation>
|
||||||
|
@@ -22097,7 +22097,7 @@ Možda će ponovna gradnja projekta pomoći.</translation>
|
|||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>EmacsKeys::Internal::EmacsKeysPlugin</name>
|
<name>::EmacsKeys</name>
|
||||||
<message>
|
<message>
|
||||||
<source>Delete Character</source>
|
<source>Delete Character</source>
|
||||||
<translation>Ukloni znak</translation>
|
<translation>Ukloni znak</translation>
|
||||||
|
@@ -32628,7 +32628,7 @@ API バージョンが %1 以上の SDK をインストールしてください
|
|||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>EmacsKeys::Internal::EmacsKeysPlugin</name>
|
<name>::EmacsKeys</name>
|
||||||
<message>
|
<message>
|
||||||
<source>Delete Character</source>
|
<source>Delete Character</source>
|
||||||
<translation>文字を削除する</translation>
|
<translation>文字を削除する</translation>
|
||||||
|
@@ -29895,7 +29895,7 @@ Use this only if you are prototyping. You cannot create a full application with
|
|||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>EmacsKeys::Internal::EmacsKeysPlugin</name>
|
<name>::EmacsKeys</name>
|
||||||
<message>
|
<message>
|
||||||
<source>Delete Character</source>
|
<source>Delete Character</source>
|
||||||
<translation>Usuń znak</translation>
|
<translation>Usuń znak</translation>
|
||||||
|
@@ -17465,7 +17465,7 @@ Rebuilding the project might help.</source>
|
|||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>EmacsKeys::Internal::EmacsKeysPlugin</name>
|
<name>::EmacsKeys</name>
|
||||||
<message>
|
<message>
|
||||||
<source>Delete Character</source>
|
<source>Delete Character</source>
|
||||||
<translation>Удалить символ</translation>
|
<translation>Удалить символ</translation>
|
||||||
|
@@ -35794,7 +35794,7 @@ Install an SDK of at least API version %1.</source>
|
|||||||
<name>::DiffEditor</name>
|
<name>::DiffEditor</name>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>EmacsKeys::Internal::EmacsKeysPlugin</name>
|
<name>::EmacsKeys</name>
|
||||||
<message>
|
<message>
|
||||||
<source>Delete Character</source>
|
<source>Delete Character</source>
|
||||||
<translation>Видалити символ</translation>
|
<translation>Видалити символ</translation>
|
||||||
|
@@ -18345,7 +18345,7 @@ Rebuilding the project might help.</source>
|
|||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>EmacsKeys::Internal::EmacsKeysPlugin</name>
|
<name>::EmacsKeys</name>
|
||||||
<message>
|
<message>
|
||||||
<source>Delete Character</source>
|
<source>Delete Character</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
|
@@ -23,8 +23,10 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "emacskeysplugin.h"
|
#include "emacskeysplugin.h"
|
||||||
|
|
||||||
#include "emacskeysconstants.h"
|
#include "emacskeysconstants.h"
|
||||||
#include "emacskeysstate.h"
|
#include "emacskeysstate.h"
|
||||||
|
#include "emacskeystr.h"
|
||||||
|
|
||||||
#include <coreplugin/icore.h>
|
#include <coreplugin/icore.h>
|
||||||
#include <coreplugin/editormanager/editormanager.h>
|
#include <coreplugin/editormanager/editormanager.h>
|
||||||
@@ -83,50 +85,50 @@ void EmacsKeysPlugin::initialize()
|
|||||||
this, &EmacsKeysPlugin::currentEditorChanged);
|
this, &EmacsKeysPlugin::currentEditorChanged);
|
||||||
|
|
||||||
registerAction(Constants::DELETE_CHARACTER,
|
registerAction(Constants::DELETE_CHARACTER,
|
||||||
&EmacsKeysPlugin::deleteCharacter, tr("Delete Character"));
|
&EmacsKeysPlugin::deleteCharacter, Tr::tr("Delete Character"));
|
||||||
registerAction(Constants::KILL_WORD,
|
registerAction(Constants::KILL_WORD,
|
||||||
&EmacsKeysPlugin::killWord, tr("Kill Word"));
|
&EmacsKeysPlugin::killWord, Tr::tr("Kill Word"));
|
||||||
registerAction(Constants::KILL_LINE,
|
registerAction(Constants::KILL_LINE,
|
||||||
&EmacsKeysPlugin::killLine, tr("Kill Line"));
|
&EmacsKeysPlugin::killLine, Tr::tr("Kill Line"));
|
||||||
registerAction(Constants::INSERT_LINE_AND_INDENT,
|
registerAction(Constants::INSERT_LINE_AND_INDENT,
|
||||||
&EmacsKeysPlugin::insertLineAndIndent, tr("Insert New Line and Indent"));
|
&EmacsKeysPlugin::insertLineAndIndent, Tr::tr("Insert New Line and Indent"));
|
||||||
|
|
||||||
registerAction(Constants::GOTO_FILE_START,
|
registerAction(Constants::GOTO_FILE_START,
|
||||||
&EmacsKeysPlugin::gotoFileStart, tr("Go to File Start"));
|
&EmacsKeysPlugin::gotoFileStart, Tr::tr("Go to File Start"));
|
||||||
registerAction(Constants::GOTO_FILE_END,
|
registerAction(Constants::GOTO_FILE_END,
|
||||||
&EmacsKeysPlugin::gotoFileEnd, tr("Go to File End"));
|
&EmacsKeysPlugin::gotoFileEnd, Tr::tr("Go to File End"));
|
||||||
registerAction(Constants::GOTO_LINE_START,
|
registerAction(Constants::GOTO_LINE_START,
|
||||||
&EmacsKeysPlugin::gotoLineStart, tr("Go to Line Start"));
|
&EmacsKeysPlugin::gotoLineStart, Tr::tr("Go to Line Start"));
|
||||||
registerAction(Constants::GOTO_LINE_END,
|
registerAction(Constants::GOTO_LINE_END,
|
||||||
&EmacsKeysPlugin::gotoLineEnd, tr("Go to Line End"));
|
&EmacsKeysPlugin::gotoLineEnd, Tr::tr("Go to Line End"));
|
||||||
registerAction(Constants::GOTO_NEXT_LINE,
|
registerAction(Constants::GOTO_NEXT_LINE,
|
||||||
&EmacsKeysPlugin::gotoNextLine, tr("Go to Next Line"));
|
&EmacsKeysPlugin::gotoNextLine, Tr::tr("Go to Next Line"));
|
||||||
registerAction(Constants::GOTO_PREVIOUS_LINE,
|
registerAction(Constants::GOTO_PREVIOUS_LINE,
|
||||||
&EmacsKeysPlugin::gotoPreviousLine, tr("Go to Previous Line"));
|
&EmacsKeysPlugin::gotoPreviousLine, Tr::tr("Go to Previous Line"));
|
||||||
registerAction(Constants::GOTO_NEXT_CHARACTER,
|
registerAction(Constants::GOTO_NEXT_CHARACTER,
|
||||||
&EmacsKeysPlugin::gotoNextCharacter, tr("Go to Next Character"));
|
&EmacsKeysPlugin::gotoNextCharacter, Tr::tr("Go to Next Character"));
|
||||||
registerAction(Constants::GOTO_PREVIOUS_CHARACTER,
|
registerAction(Constants::GOTO_PREVIOUS_CHARACTER,
|
||||||
&EmacsKeysPlugin::gotoPreviousCharacter, tr("Go to Previous Character"));
|
&EmacsKeysPlugin::gotoPreviousCharacter, Tr::tr("Go to Previous Character"));
|
||||||
registerAction(Constants::GOTO_NEXT_WORD,
|
registerAction(Constants::GOTO_NEXT_WORD,
|
||||||
&EmacsKeysPlugin::gotoNextWord, tr("Go to Next Word"));
|
&EmacsKeysPlugin::gotoNextWord, Tr::tr("Go to Next Word"));
|
||||||
registerAction(Constants::GOTO_PREVIOUS_WORD,
|
registerAction(Constants::GOTO_PREVIOUS_WORD,
|
||||||
&EmacsKeysPlugin::gotoPreviousWord, tr("Go to Previous Word"));
|
&EmacsKeysPlugin::gotoPreviousWord, Tr::tr("Go to Previous Word"));
|
||||||
|
|
||||||
registerAction(Constants::MARK,
|
registerAction(Constants::MARK,
|
||||||
&EmacsKeysPlugin::mark, tr("Mark"));
|
&EmacsKeysPlugin::mark, Tr::tr("Mark"));
|
||||||
registerAction(Constants::EXCHANGE_CURSOR_AND_MARK,
|
registerAction(Constants::EXCHANGE_CURSOR_AND_MARK,
|
||||||
&EmacsKeysPlugin::exchangeCursorAndMark, tr("Exchange Cursor and Mark"));
|
&EmacsKeysPlugin::exchangeCursorAndMark, Tr::tr("Exchange Cursor and Mark"));
|
||||||
registerAction(Constants::COPY,
|
registerAction(Constants::COPY,
|
||||||
&EmacsKeysPlugin::copy, tr("Copy"));
|
&EmacsKeysPlugin::copy, Tr::tr("Copy"));
|
||||||
registerAction(Constants::CUT,
|
registerAction(Constants::CUT,
|
||||||
&EmacsKeysPlugin::cut, tr("Cut"));
|
&EmacsKeysPlugin::cut, Tr::tr("Cut"));
|
||||||
registerAction(Constants::YANK,
|
registerAction(Constants::YANK,
|
||||||
&EmacsKeysPlugin::yank, tr("Yank"));
|
&EmacsKeysPlugin::yank, Tr::tr("Yank"));
|
||||||
|
|
||||||
registerAction(Constants::SCROLL_HALF_DOWN,
|
registerAction(Constants::SCROLL_HALF_DOWN,
|
||||||
&EmacsKeysPlugin::scrollHalfDown, tr("Scroll Half Screen Down"));
|
&EmacsKeysPlugin::scrollHalfDown, Tr::tr("Scroll Half Screen Down"));
|
||||||
registerAction(Constants::SCROLL_HALF_UP,
|
registerAction(Constants::SCROLL_HALF_UP,
|
||||||
&EmacsKeysPlugin::scrollHalfUp, tr("Scroll Half Screen Up"));
|
&EmacsKeysPlugin::scrollHalfUp, Tr::tr("Scroll Half Screen Up"));
|
||||||
}
|
}
|
||||||
|
|
||||||
void EmacsKeysPlugin::extensionsInitialized()
|
void EmacsKeysPlugin::extensionsInitialized()
|
||||||
|
Reference in New Issue
Block a user