messages.js 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /**
  2. * @license
  3. * Visual Blocks Language
  4. *
  5. * Copyright 2016 Google Inc.
  6. * https://developers.google.com/blockly/
  7. *
  8. * Licensed under the Apache License, Version 2.0 (the "License");
  9. * you may not use this file except in compliance with the License.
  10. * You may obtain a copy of the License at
  11. *
  12. * http://www.apache.org/licenses/LICENSE-2.0
  13. *
  14. * Unless required by applicable law or agreed to in writing, software
  15. * distributed under the License is distributed on an "AS IS" BASIS,
  16. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  17. * See the License for the specific language governing permissions and
  18. * limitations under the License.
  19. */
  20. /**
  21. * @fileoverview Accessible strings.
  22. * @author madeeha@google.com (Madeeha Ghori)
  23. */
  24. 'use strict';
  25. // The following are all Accessible Blockly strings.
  26. // None of the alert messages have periods on them. This is because the user
  27. // will have their punctuation setting set to 'all', which will result in any
  28. // punctuation being read out to them.
  29. Blockly.Msg.RUN_CODE = 'Run Code';
  30. Blockly.Msg.CLEAR_WORKSPACE = 'Clear Workspace';
  31. Blockly.Msg.BLOCK_ACTION_LIST = 'block action list';
  32. Blockly.Msg.CUT_BLOCK = 'cut block';
  33. Blockly.Msg.COPY_BLOCK = 'copy block';
  34. Blockly.Msg.PASTE_BELOW = 'paste below';
  35. Blockly.Msg.PASTE_ABOVE = 'paste above';
  36. Blockly.Msg.MARK_SPOT_BELOW = 'mark spot below';
  37. Blockly.Msg.MARK_SPOT_ABOVE = 'mark spot above';
  38. Blockly.Msg.MOVE_TO_MARKED_SPOT = 'move to marked spot';
  39. Blockly.Msg.DELETE = 'delete';
  40. Blockly.Msg.MARK_THIS_SPOT = 'mark this spot';
  41. Blockly.Msg.PASTE = 'paste';
  42. Blockly.Msg.TOOLBOX_LOAD_MSG = 'Loading Toolbox…';
  43. Blockly.Msg.WORKSPACE_LOAD_MSG = 'Loading Workspace…';
  44. Blockly.Msg.BLOCK_SUMMARY = 'block summary';
  45. Blockly.Msg.OPTION_LIST = 'option list';
  46. Blockly.Msg.ARGUMENT_OPTIONS_LIST = 'argument options list';
  47. Blockly.Msg.ARGUMENT_INPUT = 'argument input';
  48. Blockly.Msg.ARGUMENT_BLOCK_ACTION_LIST = 'argument block action list';
  49. Blockly.Msg.TEXT = 'text';
  50. Blockly.Msg.BUTTON = 'button';
  51. Blockly.Msg.UNAVAILABLE = 'unavailable';
  52. Blockly.Msg.CURRENT_ARGUMENT_VALUE = 'current argument value:';
  53. Blockly.Msg.COPY_TO_WORKSPACE = 'copy to workspace';
  54. Blockly.Msg.COPY_TO_CLIPBOARD = 'copy to clipboard';
  55. Blockly.Msg.COPY_TO_MARKED_SPOT = 'copy to marked spot';
  56. Blockly.Msg.TOOLBOX = 'Toolbox';
  57. Blockly.Msg.WORKSPACE = 'Workspace';
  58. Blockly.Msg.ANY = 'any';
  59. Blockly.Msg.STATEMENT = 'statement';
  60. Blockly.Msg.VALUE = 'value';
  61. Blockly.Msg.CUT_BLOCK_MSG = 'Cut block: ';
  62. Blockly.Msg.COPIED_BLOCK_MSG = 'Copied block to clipboard: ';
  63. Blockly.Msg.PASTED_BLOCK_FROM_CLIPBOARD_MSG = 'Pasted block from clipboard: ';
  64. Blockly.Msg.PASTED_BLOCK_TO_MARKED_SPOT_MSG = 'Pasted block to marked spot: ';
  65. Blockly.Msg.MARKED_SPOT_MSG = 'Marked spot';
  66. Blockly.Msg.BLOCK_MOVED_TO_MARKED_SPOT_MSB = 'Block moved to marked spot: ';