summaryrefslogtreecommitdiff
path: root/vcl/source/edit/textundo.src
diff options
context:
space:
mode:
authorUray M. János <uray.janos@gmail.com>2012-08-30 10:18:14 +0200
committerAndras Timar <atimar@suse.com>2012-08-30 12:50:52 +0000
commit1191f4e432d3cb49662e6133411af3a2faf10a7a (patch)
tree3ea66c29bac661a2755376f8df8991b44e8b50fe /vcl/source/edit/textundo.src
parent9ec0a3ec629a05809852728482fdb3f3d997edef (diff)
Undo/Redo description+shortcut in Basic IDE
This solves an issue about Edit > Redo in BasicIDE (Hungarian site): http://bug.openscope.org/browse/OOO-269 1. Redo should have a shortcut (Ctrl+Y), like in other parts of LibreOffice. (Undo has the usual Ctrl+Z.) 2. In the Edit menu, Undo and Redo should print something after the colon (what is to be undone, redone). This patch fixes both. Unfortunately the shortcut isn't shown in the menu (it's in vcl/source/window/keycod.cxx like Undo, and not in officecfg/registry/data/org/openoffice/Office/Accelerators.xcu). Change-Id: I2cfbfeb7d57309a27676e48943633cdb194288bc Reviewed-on: https://gerrit.libreoffice.org/514 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
Diffstat (limited to 'vcl/source/edit/textundo.src')
-rw-r--r--vcl/source/edit/textundo.src41
1 files changed, 41 insertions, 0 deletions
diff --git a/vcl/source/edit/textundo.src b/vcl/source/edit/textundo.src
new file mode 100644
index 000000000000..b48ed0bff478
--- /dev/null
+++ b/vcl/source/edit/textundo.src
@@ -0,0 +1,41 @@
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#include "textundo.hrc"
+
+String STR_TEXTUNDO_DELPARA
+{
+ Text [en-US] = "delete line";
+};
+String STR_TEXTUNDO_CONNECTPARAS
+{
+ Text [en-US] = "delete multiple lines";
+};
+String STR_TEXTUNDO_SPLITPARA
+{
+ Text [en-US] = "insert multiple lines";
+};
+String STR_TEXTUNDO_INSERTCHARS
+{
+ Text [en-US] = "insert '$1'";
+};
+String STR_TEXTUNDO_REMOVECHARS
+{
+ Text [en-US] = "delete '$1'";
+};
+