summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorMaciej Bendkowski2012-07-05 10:49:53 (EDT)
committer Malgorzata Janczarska2012-07-05 10:49:53 (EDT)
commitffc070666873757b465ba3e9da56798ba85eb7f9 (patch)
tree93e99d96390e7356fe8ebe67bcef86920353f5eb
parent6a947df19c056edb6a8801f3e389bf3d4f375562 (diff)
downloadorg.eclipse.orion.client-ffc070666873757b465ba3e9da56798ba85eb7f9.zip
org.eclipse.orion.client-ffc070666873757b465ba3e9da56798ba85eb7f9.tar.gz
org.eclipse.orion.client-ffc070666873757b465ba3e9da56798ba85eb7f9.tar.bz2
Bug 381772 A few keyboard shortcut descriptions are not externalized
-rw-r--r--bundles/org.eclipse.orion.client.core/web/orion/edit/nls/root/messages.js3
-rw-r--r--bundles/org.eclipse.orion.client.core/web/orion/editorCommands.js4
2 files changed, 4 insertions, 3 deletions
diff --git a/bundles/org.eclipse.orion.client.core/web/orion/edit/nls/root/messages.js b/bundles/org.eclipse.orion.client.core/web/orion/edit/nls/root/messages.js
index 11c68ac..68078f3 100644
--- a/bundles/org.eclipse.orion.client.core/web/orion/edit/nls/root/messages.js
+++ b/bundles/org.eclipse.orion.client.core/web/orion/edit/nls/root/messages.js
@@ -27,5 +27,6 @@ define({
"Go to specified line number": "Go to specified line number",
"Go to line:": "Go to line:",
"Undo": "Undo",
- "Redo": "Redo"
+ "Redo": "Redo",
+ "Find": "Find"
}); \ No newline at end of file
diff --git a/bundles/org.eclipse.orion.client.core/web/orion/editorCommands.js b/bundles/org.eclipse.orion.client.core/web/orion/editorCommands.js
index e66eaf4..37e773b 100644
--- a/bundles/org.eclipse.orion.client.core/web/orion/editorCommands.js
+++ b/bundles/org.eclipse.orion.client.core/web/orion/editorCommands.js
@@ -182,8 +182,8 @@ exports.EditorCommandFactory = (function() {
});
var that = this;
var findCommand = new mCommands.Command({
- name: "Find",
- tooltip: "Find",
+ name: messages["Find"],
+ tooltip: messages["Find"],
id: "orion.editor.find", //$NON-NLS-0$
parameters: findParameter,
callback: function(data) {