[anjuta] snippet-manager: Added context for insert strings
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] snippet-manager: Added context for insert strings
- Date: Wed, 8 Sep 2010 20:21:12 +0000 (UTC)
commit 49201b42d84ea857fea721fd6b0bf962ba8df00e
Author: Dragos Dena <dragos dena gmail com>
Date: Tue Sep 7 21:38:29 2010 +0300
snippet-manager: Added context for insert strings
plugins/snippets-manager/plugin.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/plugins/snippets-manager/plugin.c b/plugins/snippets-manager/plugin.c
index 2778c02..e26f06a 100644
--- a/plugins/snippets-manager/plugin.c
+++ b/plugins/snippets-manager/plugin.c
@@ -64,6 +64,10 @@ static GtkActionEntry actions_snippets[] = {
{
"ActionEditTriggerInsert",
NULL,
+/* Translator: Appears in Edit->Snippets menu. It is used mainly for providing a
+shortcut for the trigger-key based insertion of snippets. It's called like this
+because you type the trigger-key in the editor, followed by Trigger Insert and
+the snippet gets inserted. */
N_("_Trigger insert"),
"<control>e",
N_("Insert a snippet using the trigger-key"),
@@ -71,6 +75,12 @@ static GtkActionEntry actions_snippets[] = {
{
"ActionEditAutoCompleteInsert",
NULL,
+/* Translator: In a similar matter, it also appears in Edit->Snippets. It's another method
+for inserting snippets. In this case, you call Auto complete insert, start
+typing in the editor a string, the database is searched for that string and the
+most relevant snippets are returned in a pop-up like the auto-complete one
+(they are showed by their names). After selecting one of them, the snippet gets
+inserted. */
N_("_Auto complete insert"),
"<control>r",
N_("Insert a snippet using auto-completion"),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]