summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorMaciej Bendkowski2012-08-22 05:22:02 (EDT)
committer Szymon Brandys2012-08-24 10:40:02 (EDT)
commit389f99c40ed4540708769d4f1e14c41be17749f5 (patch)
tree2e36578d2378ea6889124882cf20312f52a3e8d6
parent8d2e0e3207bc2597ad6ba0b1b57038b95fa3f556 (diff)
downloadorg.eclipse.orion.client-389f99c40ed4540708769d4f1e14c41be17749f5.zip
org.eclipse.orion.client-389f99c40ed4540708769d4f1e14c41be17749f5.tar.gz
org.eclipse.orion.client-389f99c40ed4540708769d4f1e14c41be17749f5.tar.bz2
Bug 381757 - Unexternalized strings for New File dialog
-rw-r--r--bundles/org.eclipse.orion.client.core/web/orion/fileCommands.js2
-rw-r--r--bundles/org.eclipse.orion.client.core/web/orion/navigate/nls/root/messages.js1
2 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.orion.client.core/web/orion/fileCommands.js b/bundles/org.eclipse.orion.client.core/web/orion/fileCommands.js
index d556e80..f7ee8b5 100644
--- a/bundles/org.eclipse.orion.client.core/web/orion/fileCommands.js
+++ b/bundles/org.eclipse.orion.client.core/web/orion/fileCommands.js
@@ -472,7 +472,7 @@ define(['i18n!orion/navigate/nls/messages', "require", "dojo", "orion/util", "or
}
}
- var newFileNameParameters = new mCommands.ParametersDescription([new mCommands.CommandParameter('name', 'text', 'Name:', 'New File')]); //$NON-NLS-3$ //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-0$
+ var newFileNameParameters = new mCommands.ParametersDescription([new mCommands.CommandParameter('name', 'text', messages['Name:'], messages['New File'])]); //$NON-NLS-3$ //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-0$
var newFileCommand = new mCommands.Command({
name: messages["New File"],
diff --git a/bundles/org.eclipse.orion.client.core/web/orion/navigate/nls/root/messages.js b/bundles/org.eclipse.orion.client.core/web/orion/navigate/nls/root/messages.js
index c4e6a21..3d00c51 100644
--- a/bundles/org.eclipse.orion.client.core/web/orion/navigate/nls/root/messages.js
+++ b/bundles/org.eclipse.orion.client.core/web/orion/navigate/nls/root/messages.js
@@ -39,6 +39,7 @@ define({
"Create a zip file of the folder contents and download it": "Create a zip file of the folder contents and download it",
"New File": "New File",
"Create a new file": "Create a new file",
+ "Name:" : "Name:",
"New Folder": "New Folder",
"Folder name:": "Folder name:",
"Create a new folder": "Create a new folder",