summaryrefslogtreecommitdiff
path: root/blockly/accessible/messages.js
diff options
context:
space:
mode:
Diffstat (limited to 'blockly/accessible/messages.js')
-rw-r--r--blockly/accessible/messages.js73
1 files changed, 73 insertions, 0 deletions
diff --git a/blockly/accessible/messages.js b/blockly/accessible/messages.js
new file mode 100644
index 0000000..681b5d5
--- /dev/null
+++ b/blockly/accessible/messages.js
@@ -0,0 +1,73 @@
+/**
+ * @license
+ * Visual Blocks Language
+ *
+ * Copyright 2016 Google Inc.
+ * https://developers.google.com/blockly/
+ *
+ * Licensed 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
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * @fileoverview Accessible strings.
+ * @author madeeha@google.com (Madeeha Ghori)
+ */
+'use strict';
+
+// The following are all Accessible Blockly strings.
+// None of the alert messages have periods on them. This is because the user
+// will have their punctuation setting set to 'all', which will result in any
+// punctuation being read out to them.
+Blockly.Msg.RUN_CODE = 'Run Code';
+Blockly.Msg.CLEAR_WORKSPACE = 'Clear Workspace';
+Blockly.Msg.BLOCK_ACTION_LIST = 'block action list';
+Blockly.Msg.CUT_BLOCK = 'cut block';
+Blockly.Msg.COPY_BLOCK = 'copy block';
+Blockly.Msg.PASTE_BEFORE = 'paste before';
+Blockly.Msg.PASTE_AFTER = 'paste after';
+Blockly.Msg.MARK_SPOT_BEFORE = 'mark spot before';
+Blockly.Msg.MARK_SPOT_AFTER = 'mark spot after';
+Blockly.Msg.MOVE_TO_MARKED_SPOT = 'move to marked spot';
+Blockly.Msg.DELETE = 'delete';
+Blockly.Msg.MARK_THIS_SPOT = 'mark this spot';
+Blockly.Msg.PASTE = 'paste';
+Blockly.Msg.TOOLBOX_LOAD_MSG = 'Loading Toolbox…';
+Blockly.Msg.WORKSPACE_LOAD_MSG = 'Loading Workspace…';
+Blockly.Msg.BLOCK_SUMMARY = 'block summary';
+Blockly.Msg.OPTION_LIST = 'option list';
+Blockly.Msg.ARGUMENT_OPTIONS_LIST = 'argument options list';
+Blockly.Msg.ARGUMENT_INPUT = 'argument input';
+Blockly.Msg.ARGUMENT_BLOCK_ACTION_LIST = 'argument block action list';
+Blockly.Msg.TEXT = 'text';
+Blockly.Msg.BUTTON = 'button';
+Blockly.Msg.DISABLED = 'disabled';
+Blockly.Msg.CURRENT_ARGUMENT_VALUE = 'current argument value:';
+Blockly.Msg.COPY_TO_WORKSPACE = 'create new group with this block';
+Blockly.Msg.COPY_TO_CLIPBOARD = 'copy to clipboard';
+Blockly.Msg.COPY_TO_MARKED_SPOT = 'copy to marked spot';
+Blockly.Msg.TOOLBOX = 'Toolbox';
+Blockly.Msg.WORKSPACE = 'Workspace';
+Blockly.Msg.ANY = 'any';
+Blockly.Msg.FOR = 'for';
+Blockly.Msg.STATEMENT = 'statement';
+Blockly.Msg.VALUE = 'value';
+Blockly.Msg.CUT_BLOCK_MSG = 'Cut block: ';
+Blockly.Msg.COPIED_BLOCK_MSG = 'copied';
+Blockly.Msg.PASTED_BLOCK_FROM_CLIPBOARD_MSG = 'pasted';
+Blockly.Msg.PASTED_BLOCK_TO_MARKED_SPOT_MSG = 'moved to marked spot';
+Blockly.Msg.MARKED_SPOT_MSG = 'Marked spot';
+Blockly.Msg.BLOCK_MOVED_TO_MARKED_SPOT_MSB = 'Block moved to marked spot: ';
+Blockly.Msg.TOOLBOX_BLOCK = 'toolbox block';
+Blockly.Msg.WORKSPACE_BLOCK = 'workspace block';
+Blockly.Msg.SUBMENU_INDICATOR = 'move right to view submenu';
+Blockly.Msg.MORE_OPTIONS = 'More options';