Fix capitalization of import and export dialog titles

This commit is contained in:
David Rowe 2016-06-09 16:12:11 +12:00
parent 3780b18cc0
commit 0fe93a1e89

View file

@ -1222,7 +1222,7 @@ function handeMenuEvent(menuItem) {
Window.alert("No entities have been selected."); Window.alert("No entities have been selected.");
} else { } else {
var filename = "entities__" + Window.location.hostname + ".svo.json"; var filename = "entities__" + Window.location.hostname + ".svo.json";
filename = Window.save("Select where to save", filename, "*.json") filename = Window.save("Select Where to Save", filename, "*.json")
if (filename) { if (filename) {
var success = Clipboard.exportEntities(filename, selectionManager.selections); var success = Clipboard.exportEntities(filename, selectionManager.selections);
if (!success) { if (!success) {
@ -1234,7 +1234,7 @@ function handeMenuEvent(menuItem) {
var importURL = null; var importURL = null;
if (menuItem == "Import Entities") { if (menuItem == "Import Entities") {
var fullPath = Window.browse("Select models to import", "", "*.json"); var fullPath = Window.browse("Select Model to Import", "", "*.json");
if (fullPath) { if (fullPath) {
importURL = "file:///" + fullPath; importURL = "file:///" + fullPath;
} }