123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507 |
- /**
- * Visual Blocks Language
- *
- * Copyright 2012 Google Inc.
- * https://blockly.googlecode.com/
- *
- * 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 English strings.
- * @author fraser@google.com (Neil Fraser)
- */
- 'use strict';
- goog.provide('Blockly.Msg.en_us');
- goog.require('Blockly.Msg');
- /**
- * Due to the frequency of long strings, the 80-column wrap rule need not apply
- * to message files.
- */
- // Context menus.
- Blockly.Msg.DUPLICATE_BLOCK = 'Duplicate';
- Blockly.Msg.REMOVE_COMMENT = 'Remove Comment';
- Blockly.Msg.ADD_COMMENT = 'Add Comment';
- Blockly.Msg.EXTERNAL_INPUTS = 'External Inputs';
- Blockly.Msg.INLINE_INPUTS = 'Inline Inputs';
- Blockly.Msg.DELETE_BLOCK = 'Delete Block';
- Blockly.Msg.DELETE_X_BLOCKS = 'Delete %1 Blocks';
- Blockly.Msg.COLLAPSE_BLOCK = 'Collapse Block';
- Blockly.Msg.EXPAND_BLOCK = 'Expand Block';
- Blockly.Msg.DISABLE_BLOCK = 'Disable Block';
- Blockly.Msg.ENABLE_BLOCK = 'Enable Block';
- Blockly.Msg.HELP = 'Help';
- Blockly.Msg.COLLAPSE_ALL = 'Collapse Blocks';
- Blockly.Msg.EXPAND_ALL = 'Expand Blocks';
- // Variable renaming.
- Blockly.Msg.CHANGE_VALUE_TITLE = 'Change value:';
- Blockly.Msg.NEW_VARIABLE = 'New variable...';
- Blockly.Msg.NEW_VARIABLE_TITLE = 'New variable name:';
- Blockly.Msg.RENAME_VARIABLE = 'Rename variable...';
- Blockly.Msg.RENAME_VARIABLE_TITLE = 'Rename all "%1" variables to:';
- // Colour Blocks.
- Blockly.Msg.COLOUR_PICKER_HELPURL = 'http://en.wikipedia.org/wiki/Color';
- Blockly.Msg.COLOUR_PICKER_TOOLTIP = 'Choose a color from the palette.';
- Blockly.Msg.COLOUR_RANDOM_HELPURL = 'http://randomcolour.com';
- Blockly.Msg.COLOUR_RANDOM_TITLE = 'random color';
- Blockly.Msg.COLOUR_RANDOM_TOOLTIP = 'Choose a color at random.';
- Blockly.Msg.COLOUR_RGB_HELPURL = 'http://www.december.com/html/spec/colorper.html';
- Blockly.Msg.COLOUR_RGB_TITLE = 'color with';
- Blockly.Msg.COLOUR_RGB_RED = 'red';
- Blockly.Msg.COLOUR_RGB_GREEN = 'green';
- Blockly.Msg.COLOUR_RGB_BLUE = 'blue';
- Blockly.Msg.COLOUR_RGB_TOOLTIP = 'Create a color with the specified amount of red, green,\n' +
- 'and blue. All values must be between 0 and 100.';
- Blockly.Msg.COLOUR_BLEND_HELPURL = 'http://meyerweb.com/eric/tools/color-blend/';
- Blockly.Msg.COLOUR_BLEND_TITLE = 'blend';
- Blockly.Msg.COLOUR_BLEND_COLOUR1 = 'color 1';
- Blockly.Msg.COLOUR_BLEND_COLOUR2 = 'color 2';
- Blockly.Msg.COLOUR_BLEND_RATIO = 'ratio';
- Blockly.Msg.COLOUR_BLEND_TOOLTIP = 'Blends two colors together with a given ratio (0.0 - 1.0).';
- // Loop Blocks.
- Blockly.Msg.CONTROLS_REPEAT_HELPURL = 'http://en.wikipedia.org/wiki/For_loop';
- Blockly.Msg.CONTROLS_REPEAT_TITLE_REPEAT = 'repeat';
- Blockly.Msg.CONTROLS_REPEAT_TITLE_TIMES = 'times';
- Blockly.Msg.CONTROLS_REPEAT_INPUT_DO = 'do';
- Blockly.Msg.CONTROLS_REPEAT_TOOLTIP = 'Do some statements several times.';
- Blockly.Msg.CONTROLS_WHILEUNTIL_HELPURL = 'http://code.google.com/p/blockly/wiki/Repeat';
- Blockly.Msg.CONTROLS_WHILEUNTIL_INPUT_DO = 'do';
- Blockly.Msg.CONTROLS_WHILEUNTIL_OPERATOR_WHILE = 'repeat while';
- Blockly.Msg.CONTROLS_WHILEUNTIL_OPERATOR_UNTIL = 'repeat until';
- Blockly.Msg.CONTROLS_WHILEUNTIL_TOOLTIP_WHILE = 'While a value is true, then do some statements.';
- Blockly.Msg.CONTROLS_WHILEUNTIL_TOOLTIP_UNTIL = 'While a value is false, then do some statements.';
- Blockly.Msg.CONTROLS_FOR_HELPURL = 'http://en.wikipedia.org/wiki/For_loop';
- Blockly.Msg.CONTROLS_FOR_INPUT_WITH = 'count with';
- Blockly.Msg.CONTROLS_FOR_INPUT_VAR = 'x';
- Blockly.Msg.CONTROLS_FOR_INPUT_FROM_TO_BY = 'from %1 to %2 y %3';
- Blockly.Msg.CONTROLS_FOR_INPUT_DO = 'do';
- Blockly.Msg.CONTROLS_FOR_TAIL = '';
- Blockly.Msg.CONTROLS_FOR_TOOLTIP = 'Count from a start number to an end number by the specified interval.\n' +
- 'For each count, set the current count number to\n' +
- 'variable "%1", and then do some statements.';
- Blockly.Msg.CONTROLS_FOREACH_HELPURL = 'http://en.wikipedia.org/wiki/For_loop';
- Blockly.Msg.CONTROLS_FOREACH_INPUT_ITEM = 'for each item';
- Blockly.Msg.CONTROLS_FOREACH_INPUT_VAR = 'x';
- Blockly.Msg.CONTROLS_FOREACH_INPUT_INLIST = 'in list';
- Blockly.Msg.CONTROLS_FOREACH_INPUT_INLIST_TAIL = '';
- Blockly.Msg.CONTROLS_FOREACH_INPUT_DO = 'do';
- Blockly.Msg.CONTROLS_FOREACH_TOOLTIP = 'For each item in a list, set the item to\n' +
- 'variable "%1", and then do some statements.';
- Blockly.Msg.CONTROLS_FLOW_STATEMENTS_HELPURL = 'http://en.wikipedia.org/wiki/Control_flow';
- Blockly.Msg.CONTROLS_FLOW_STATEMENTS_OPERATOR_BREAK = 'break out of loop';
- Blockly.Msg.CONTROLS_FLOW_STATEMENTS_OPERATOR_CONTINUE = 'continue with next iteration of loop';
- Blockly.Msg.CONTROLS_FLOW_STATEMENTS_TOOLTIP_BREAK = 'Break out of the containing loop.';
- Blockly.Msg.CONTROLS_FLOW_STATEMENTS_TOOLTIP_CONTINUE = 'Skip the rest of this loop, and\n' +
- 'continue with the next iteration.';
- Blockly.Msg.CONTROLS_FLOW_STATEMENTS_WARNING = 'Warning:\n' +
- 'This block may only\n' +
- 'be used within a loop.';
- // Logic Blocks.
- Blockly.Msg.CONTROLS_IF_HELPURL = 'http://code.google.com/p/blockly/wiki/If_Then';
- Blockly.Msg.CONTROLS_IF_TOOLTIP_1 = 'If a value is true, then do some statements.';
- Blockly.Msg.CONTROLS_IF_TOOLTIP_2 = 'If a value is true, then do the first block of statements.\n' +
- 'Otherwise, do the second block of statements.';
- Blockly.Msg.CONTROLS_IF_TOOLTIP_3 = 'If the first value is true, then do the first block of statements.\n' +
- 'Otherwise, if the second value is true, do the second block of statements.';
- Blockly.Msg.CONTROLS_IF_TOOLTIP_4 = 'If the first value is true, then do the first block of statements.\n' +
- 'Otherwise, if the second value is true, do the second block of statements.\n' +
- 'If none of the values are true, do the last block of statements.';
- Blockly.Msg.CONTROLS_IF_MSG_IF = 'if';
- Blockly.Msg.CONTROLS_IF_MSG_ELSEIF = 'else if';
- Blockly.Msg.CONTROLS_IF_MSG_ELSE = 'else';
- Blockly.Msg.CONTROLS_IF_MSG_THEN = 'do';
- Blockly.Msg.CONTROLS_IF_IF_TITLE_IF = 'if';
- Blockly.Msg.CONTROLS_IF_IF_TOOLTIP = 'Add, remove, or reorder sections\n' +
- 'to reconfigure this if block.';
- Blockly.Msg.CONTROLS_IF_ELSEIF_TITLE_ELSEIF = 'else if';
- Blockly.Msg.CONTROLS_IF_ELSEIF_TOOLTIP = 'Add a condition to the if block.';
- Blockly.Msg.CONTROLS_IF_ELSE_TITLE_ELSE = 'else';
- Blockly.Msg.CONTROLS_IF_ELSE_TOOLTIP = 'Add a final, catch-all condition to the if block.';
- Blockly.Msg.LOGIC_COMPARE_HELPURL = 'http://en.wikipedia.org/wiki/Inequality_(mathematics)';
- Blockly.Msg.LOGIC_COMPARE_TOOLTIP_EQ = 'Return true if both inputs equal each other.';
- Blockly.Msg.LOGIC_COMPARE_TOOLTIP_NEQ = 'Return true if both inputs are not equal to each other.';
- Blockly.Msg.LOGIC_COMPARE_TOOLTIP_LT = 'Return true if the first input is smaller\n' +
- 'than the second input.';
- Blockly.Msg.LOGIC_COMPARE_TOOLTIP_LTE = 'Return true if the first input is smaller\n' +
- 'than or equal to the second input.';
- Blockly.Msg.LOGIC_COMPARE_TOOLTIP_GT = 'Return true if the first input is greater\n' +
- 'than the second input.';
- Blockly.Msg.LOGIC_COMPARE_TOOLTIP_GTE = 'Return true if the first input is greater\n' +
- 'than or equal to the second input.';
- Blockly.Msg.LOGIC_OPERATION_HELPURL = 'http://code.google.com/p/blockly/wiki/And_Or';
- Blockly.Msg.LOGIC_OPERATION_AND = 'and';
- Blockly.Msg.LOGIC_OPERATION_OR = 'or';
- Blockly.Msg.LOGIC_OPERATION_TOOLTIP_AND = 'Return true if both inputs are true.';
- Blockly.Msg.LOGIC_OPERATION_TOOLTIP_OR = 'Return true if either inputs are true.';
- Blockly.Msg.LOGIC_NEGATE_HELPURL = 'http://code.google.com/p/blockly/wiki/Not';
- Blockly.Msg.LOGIC_NEGATE_INPUT_NOT = 'not';
- Blockly.Msg.LOGIC_NEGATE_TOOLTIP = 'Returns true if the input is false.\n' +
- 'Returns false if the input is true.';
- Blockly.Msg.LOGIC_BOOLEAN_HELPURL = 'http://code.google.com/p/blockly/wiki/True_False';
- Blockly.Msg.LOGIC_BOOLEAN_TRUE = 'true';
- Blockly.Msg.LOGIC_BOOLEAN_FALSE = 'false';
- Blockly.Msg.LOGIC_BOOLEAN_TOOLTIP = 'Returns either true or false.';
- Blockly.Msg.LOGIC_NULL_HELPURL = 'http://en.wikipedia.org/wiki/Nullable_type';
- Blockly.Msg.LOGIC_NULL = 'null';
- Blockly.Msg.LOGIC_NULL_TOOLTIP = 'Returns null.';
- Blockly.Msg.LOGIC_TERNARY_HELPURL = 'http://en.wikipedia.org/wiki/%3F:';
- Blockly.Msg.LOGIC_TERNARY_CONDITION = 'test';
- Blockly.Msg.LOGIC_TERNARY_IF_TRUE = 'if true';
- Blockly.Msg.LOGIC_TERNARY_IF_FALSE = 'if false';
- Blockly.Msg.LOGIC_TERNARY_TOOLTIP = 'Check the condition in "test". If the condition is true\n' +
- 'returns the "if true" value, otherwise returns the "if false" value.';
- // Math Blocks.
- Blockly.Msg.MATH_NUMBER_HELPURL = 'http://en.wikipedia.org/wiki/Number';
- Blockly.Msg.MATH_NUMBER_TOOLTIP = 'A number.';
- Blockly.Msg.MATH_ARITHMETIC_HELPURL = 'http://en.wikipedia.org/wiki/Arithmetic';
- Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_ADD = 'Return the sum of the two numbers.';
- Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_MINUS = 'Return the difference of the two numbers.';
- Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_MULTIPLY = 'Return the product of the two numbers.';
- Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_DIVIDE = 'Return the quotient of the two numbers.';
- Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_POWER = 'Return the first number raised to\n' +
- 'the power of the second number.';
- Blockly.Msg.MATH_SINGLE_HELPURL = 'http://en.wikipedia.org/wiki/Square_root';
- Blockly.Msg.MATH_SINGLE_OP_ROOT = 'square root';
- Blockly.Msg.MATH_SINGLE_OP_ABSOLUTE = 'absolute';
- Blockly.Msg.MATH_SINGLE_TOOLTIP_ROOT = 'Return the square root of a number.';
- Blockly.Msg.MATH_SINGLE_TOOLTIP_ABS = 'Return the absolute value of a number.';
- Blockly.Msg.MATH_SINGLE_TOOLTIP_NEG = 'Return the negation of a number.';
- Blockly.Msg.MATH_SINGLE_TOOLTIP_LN = 'Return the natural logarithm of a number.';
- Blockly.Msg.MATH_SINGLE_TOOLTIP_LOG10 = 'Return the base 10 logarithm of a number.';
- Blockly.Msg.MATH_SINGLE_TOOLTIP_EXP = 'Return e to the power of a number.';
- Blockly.Msg.MATH_SINGLE_TOOLTIP_POW10 = 'Return 10 to the power of a number.';
- Blockly.Msg.MATH_TRIG_HELPURL = 'http://en.wikipedia.org/wiki/Trigonometric_functions';
- Blockly.Msg.MATH_TRIG_TOOLTIP_SIN = 'Return the sine of a degree (not radian).';
- Blockly.Msg.MATH_TRIG_TOOLTIP_COS = 'Return the cosine of a degree (not radian).';
- Blockly.Msg.MATH_TRIG_TOOLTIP_TAN = 'Return the tangent of a degree (not radian).';
- Blockly.Msg.MATH_TRIG_TOOLTIP_ASIN = 'Return the arcsine of a number.';
- Blockly.Msg.MATH_TRIG_TOOLTIP_ACOS = 'Return the arccosine of a number.';
- Blockly.Msg.MATH_TRIG_TOOLTIP_ATAN = 'Return the arctangent of a number.';
- Blockly.Msg.MATH_CONSTANT_HELPURL = 'http://en.wikipedia.org/wiki/Mathematical_constant';
- Blockly.Msg.MATH_CONSTANT_TOOLTIP = 'Return one of the common constants: \u03c0 (3.141\u2026), e (2.718\u2026), \u03c6 (1.618\u2026),\n' +
- 'sqrt(2) (1.414\u2026), sqrt(\u00bd) (0.707\u2026), or \u221e (infinity).';
- Blockly.Msg.MATH_IS_EVEN = 'is even';
- Blockly.Msg.MATH_IS_ODD = 'is odd';
- Blockly.Msg.MATH_IS_PRIME = 'is prime';
- Blockly.Msg.MATH_IS_WHOLE = 'is whole';
- Blockly.Msg.MATH_IS_POSITIVE = 'is positive';
- Blockly.Msg.MATH_IS_NEGATIVE = 'is negative';
- Blockly.Msg.MATH_IS_DIVISIBLE_BY = 'is divisible by';
- Blockly.Msg.MATH_IS_TOOLTIP = 'Check if a number is an even, odd, prime, whole, positive, negative,\n' +
- 'or if it is divisible by certain number. Returns true or false.';
- Blockly.Msg.MATH_CHANGE_HELPURL = 'http://en.wikipedia.org/wiki/Programming_idiom#Incrementing_a_counter';
- Blockly.Msg.MATH_CHANGE_TITLE_CHANGE = 'change';
- Blockly.Msg.MATH_CHANGE_TITLE_ITEM = 'item';
- Blockly.Msg.MATH_CHANGE_INPUT_BY = 'by';
- Blockly.Msg.MATH_CHANGE_TOOLTIP = 'Add a number to variable "%1".';
- Blockly.Msg.MATH_ROUND_HELPURL = 'http://en.wikipedia.org/wiki/Rounding';
- Blockly.Msg.MATH_ROUND_TOOLTIP = 'Round a number up or down.';
- Blockly.Msg.MATH_ROUND_OPERATOR_ROUND = 'round';
- Blockly.Msg.MATH_ROUND_OPERATOR_ROUNDUP = 'round up';
- Blockly.Msg.MATH_ROUND_OPERATOR_ROUNDDOWN = 'round down';
- Blockly.Msg.MATH_ONLIST_HELPURL = '';
- Blockly.Msg.MATH_ONLIST_OPERATOR_SUM = 'sum of list';
- Blockly.Msg.MATH_ONLIST_OPERATOR_MIN = 'min of list';
- Blockly.Msg.MATH_ONLIST_OPERATOR_MAX = 'max of list';
- Blockly.Msg.MATH_ONLIST_OPERATOR_AVERAGE = 'average of list';
- Blockly.Msg.MATH_ONLIST_OPERATOR_MEDIAN = 'median of list';
- Blockly.Msg.MATH_ONLIST_OPERATOR_MODE = 'modes of list';
- Blockly.Msg.MATH_ONLIST_OPERATOR_STD_DEV = 'standard deviation of list';
- Blockly.Msg.MATH_ONLIST_OPERATOR_RANDOM = 'random item of list';
- Blockly.Msg.MATH_ONLIST_TOOLTIP_SUM = 'Return the sum of all the numbers in the list.';
- Blockly.Msg.MATH_ONLIST_TOOLTIP_MIN = 'Return the smallest number in the list.';
- Blockly.Msg.MATH_ONLIST_TOOLTIP_MAX = 'Return the largest number in the list.';
- Blockly.Msg.MATH_ONLIST_TOOLTIP_AVERAGE = 'Return the arithmetic mean of the list.';
- Blockly.Msg.MATH_ONLIST_TOOLTIP_MEDIAN = 'Return the median number in the list.';
- Blockly.Msg.MATH_ONLIST_TOOLTIP_MODE = 'Return a list of the most common item(s) in the list.';
- Blockly.Msg.MATH_ONLIST_TOOLTIP_STD_DEV = 'Return the standard deviation of the list.';
- Blockly.Msg.MATH_ONLIST_TOOLTIP_RANDOM = 'Return a random element from the list.';
- Blockly.Msg.MATH_MODULO_HELPURL = 'http://en.wikipedia.org/wiki/Modulo_operation';
- Blockly.Msg.MATH_MODULO_INPUT_DIVIDEND = 'remainder of';
- Blockly.Msg.MATH_MODULO_TOOLTIP = 'Return the remainder from dividing the two numbers.';
- Blockly.Msg.MATH_CONSTRAIN_HELPURL = 'http://en.wikipedia.org/wiki/Clamping_%28graphics%29';
- Blockly.Msg.MATH_CONSTRAIN_INPUT_CONSTRAIN = 'constrain';
- Blockly.Msg.MATH_CONSTRAIN_INPUT_LOW = 'low';
- Blockly.Msg.MATH_CONSTRAIN_INPUT_HIGH = 'high';
- Blockly.Msg.MATH_CONSTRAIN_TOOLTIP = 'Constrain a number to be between the specified limits (inclusive).';
- Blockly.Msg.MATH_RANDOM_INT_HELPURL = 'http://en.wikipedia.org/wiki/Random_number_generation';
- Blockly.Msg.MATH_RANDOM_INT_TITLE = 'random integer from %1 to %2';
- Blockly.Msg.MATH_RANDOM_INT_TOOLTIP = 'Return a random integer between the two\n' +
- 'specified limits, inclusive.';
- Blockly.Msg.MATH_RANDOM_FLOAT_HELPURL = 'http://en.wikipedia.org/wiki/Random_number_generation';
- Blockly.Msg.MATH_RANDOM_FLOAT_TITLE_RANDOM = 'random fraction';
- Blockly.Msg.MATH_RANDOM_FLOAT_TOOLTIP = 'Return a random fraction between\n' +
- '0.0 (inclusive) and 1.0 (exclusive).';
- // Text Blocks.
- Blockly.Msg.TEXT_TEXT_HELPURL = 'http://en.wikipedia.org/wiki/String_(computer_science)';
- Blockly.Msg.TEXT_TEXT_TOOLTIP = 'A letter, word, or line of text.';
- Blockly.Msg.TEXT_JOIN_HELPURL = '';
- Blockly.Msg.TEXT_JOIN_TITLE_CREATEWITH = 'create text with';
- Blockly.Msg.TEXT_JOIN_TOOLTIP = 'Create a piece of text by joining\n' +
- 'together any number of items.';
- Blockly.Msg.TEXT_CREATE_JOIN_TITLE_JOIN = 'join';
- Blockly.Msg.TEXT_CREATE_JOIN_TOOLTIP = 'Add, remove, or reorder sections to reconfigure this text block.';
- Blockly.Msg.TEXT_CREATE_JOIN_ITEM_TITLE_ITEM = 'item';
- Blockly.Msg.TEXT_CREATE_JOIN_ITEM_TOOLTIP = 'Add an item to the text.';
- Blockly.Msg.TEXT_APPEND_HELPURL = 'http://www.liv.ac.uk/HPC/HTMLF90Course/HTMLF90CourseNotesnode91.html';
- Blockly.Msg.TEXT_APPEND_TO = 'to';
- Blockly.Msg.TEXT_APPEND_APPENDTEXT = 'append text';
- Blockly.Msg.TEXT_APPEND_VARIABLE = 'item';
- Blockly.Msg.TEXT_APPEND_TOOLTIP = 'Append some text to variable "%1".';
- Blockly.Msg.TEXT_LENGTH_HELPURL = 'http://www.liv.ac.uk/HPC/HTMLF90Course/HTMLF90CourseNotesnode91.html';
- Blockly.Msg.TEXT_LENGTH_INPUT_LENGTH = 'length of';
- Blockly.Msg.TEXT_LENGTH_TOOLTIP = 'Returns number of letters (including spaces)\n' +
- 'in the provided text.';
- Blockly.Msg.TEXT_ISEMPTY_HELPURL = 'http://www.liv.ac.uk/HPC/HTMLF90Course/HTMLF90CourseNotesnode91.html';
- Blockly.Msg.TEXT_ISEMPTY_INPUT_ISEMPTY = 'is empty';
- Blockly.Msg.TEXT_ISEMPTY_TOOLTIP = 'Returns true if the provided text is empty.';
- Blockly.Msg.TEXT_INDEXOF_HELPURL = 'http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic=%2Fcom.ibm.xlcpp8l.doc%2Flanguage%2Fref%2Farsubex.htm';
- Blockly.Msg.TEXT_INDEXOF_INPUT_INTEXT = 'in text';
- Blockly.Msg.TEXT_INDEXOF_OPERATOR_FIRST = 'find first occurrence of text';
- Blockly.Msg.TEXT_INDEXOF_OPERATOR_LAST = 'find last occurrence of text';
- Blockly.Msg.TEXT_INDEXOF_TOOLTIP = 'Returns the index of the first/last occurrence\n' +
- 'of first text in the second text.\n' +
- 'Returns 0 if text is not found.';
- Blockly.Msg.TEXT_CHARAT_HELPURL = 'http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic=%2Fcom.ibm.xlcpp8l.doc%2Flanguage%2Fref%2Farsubex.htm';
- Blockly.Msg.TEXT_CHARAT_INPUT_INTEXT = 'in text';
- Blockly.Msg.TEXT_CHARAT_FROM_START = 'get letter #';
- Blockly.Msg.TEXT_CHARAT_FROM_END = 'get letter # from end';
- Blockly.Msg.TEXT_CHARAT_FIRST = 'get first letter';
- Blockly.Msg.TEXT_CHARAT_LAST = 'get last letter';
- Blockly.Msg.TEXT_CHARAT_RANDOM = 'get random letter';
- Blockly.Msg.TEXT_CHARAT_TOOLTIP = 'Returns the letter at the specified position.';
- Blockly.Msg.TEXT_SUBSTRING_HELPURL = 'http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic=%2Fcom.ibm.xlcpp8l.doc%2Flanguage%2Fref%2Farsubex.htm';
- Blockly.Msg.TEXT_SUBSTRING_INPUT_IN_TEXT = 'in text';
- Blockly.Msg.TEXT_SUBSTRING_INPUT_AT1 = 'get substring from';
- Blockly.Msg.TEXT_SUBSTRING_INPUT_AT2 = 'to';
- Blockly.Msg.TEXT_SUBSTRING_FROM_START = 'letter #';
- Blockly.Msg.TEXT_SUBSTRING_FROM_END = 'letter # from end';
- Blockly.Msg.TEXT_SUBSTRING_FIRST = 'first letter';
- Blockly.Msg.TEXT_SUBSTRING_LAST = 'last letter';
- Blockly.Msg.TEXT_SUBSTRING_TOOLTIP = 'Returns a specified portion of the text.';
- Blockly.Msg.TEXT_CHANGECASE_HELPURL = 'http://www.liv.ac.uk/HPC/HTMLF90Course/HTMLF90CourseNotesnode91.html';
- Blockly.Msg.TEXT_CHANGECASE_OPERATOR_UPPERCASE = 'to UPPER CASE';
- Blockly.Msg.TEXT_CHANGECASE_OPERATOR_LOWERCASE = 'to lower case';
- Blockly.Msg.TEXT_CHANGECASE_OPERATOR_TITLECASE = 'to Title Case';
- Blockly.Msg.TEXT_CHANGECASE_TOOLTIP = 'Return a copy of the text in a different case.';
- Blockly.Msg.TEXT_TRIM_HELPURL = 'http://www.liv.ac.uk/HPC/HTMLF90Course/HTMLF90CourseNotesnode91.html';
- Blockly.Msg.TEXT_TRIM_OPERATOR_BOTH = 'trim spaces from both sides';
- Blockly.Msg.TEXT_TRIM_OPERATOR_LEFT = 'trim spaces from left side';
- Blockly.Msg.TEXT_TRIM_OPERATOR_RIGHT = 'trim spaces from right side';
- Blockly.Msg.TEXT_TRIM_TOOLTIP = 'Return a copy of the text with spaces\n' +
- 'removed from one or both ends.';
- Blockly.Msg.TEXT_PRINT_HELPURL = 'http://www.liv.ac.uk/HPC/HTMLF90Course/HTMLF90CourseNotesnode91.html';
- Blockly.Msg.TEXT_PRINT_TITLE_PRINT = 'print';
- Blockly.Msg.TEXT_PRINT_TOOLTIP = 'Print the specified text, number or other value.';
- Blockly.Msg.TEXT_PROMPT_HELPURL = 'http://www.liv.ac.uk/HPC/HTMLF90Course/HTMLF90CourseNotesnode92.html';
- Blockly.Msg.TEXT_PROMPT_TYPE_TEXT = 'prompt for text with message';
- Blockly.Msg.TEXT_PROMPT_TYPE_NUMBER = 'prompt for number with message';
- Blockly.Msg.TEXT_PROMPT_TOOLTIP_NUMBER = 'Prompt for user for a number.';
- Blockly.Msg.TEXT_PROMPT_TOOLTIP_TEXT = 'Prompt for user for some text.';
- // Lists Blocks.
- Blockly.Msg.LISTS_CREATE_EMPTY_HELPURL = 'http://en.wikipedia.org/wiki/Linked_list#Empty_lists';
- Blockly.Msg.LISTS_CREATE_EMPTY_TITLE = 'create empty list';
- Blockly.Msg.LISTS_CREATE_EMPTY_TOOLTIP = 'Returns a list, of length 0, containing no data records';
- Blockly.Msg.LISTS_CREATE_WITH_INPUT_WITH = 'create list with';
- Blockly.Msg.LISTS_CREATE_WITH_TOOLTIP = 'Create a list with any number of items.';
- Blockly.Msg.LISTS_CREATE_WITH_CONTAINER_TITLE_ADD = 'list';
- Blockly.Msg.LISTS_CREATE_WITH_CONTAINER_TOOLTIP = 'Add, remove, or reorder sections to reconfigure this list block.';
- Blockly.Msg.LISTS_CREATE_WITH_ITEM_TITLE = 'item';
- Blockly.Msg.LISTS_CREATE_WITH_ITEM_TOOLTIP = 'Add an item to the list.';
- Blockly.Msg.LISTS_REPEAT_HELPURL = 'http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic=%2Fcom.ibm.xlcpp8l.doc%2Flanguage%2Fref%2Farsubex.htm';
- Blockly.Msg.LISTS_REPEAT_INPUT_WITH = 'create list with item';
- Blockly.Msg.LISTS_REPEAT_INPUT_REPEATED = 'repeated';
- Blockly.Msg.LISTS_REPEAT_INPUT_TIMES = 'times';
- Blockly.Msg.LISTS_REPEAT_TOOLTIP = 'Creates a list consisting of the given value\n' +
- 'repeated the specified number of times.';
- Blockly.Msg.LISTS_LENGTH_HELPURL = 'http://www.liv.ac.uk/HPC/HTMLF90Course/HTMLF90CourseNotesnode91.html';
- Blockly.Msg.LISTS_LENGTH_INPUT_LENGTH = 'length of';
- Blockly.Msg.LISTS_LENGTH_TOOLTIP = 'Returns the length of a list.';
- Blockly.Msg.LISTS_IS_EMPTY_HELPURL = 'http://www.liv.ac.uk/HPC/HTMLF90Course/HTMLF90CourseNotesnode91.html';
- Blockly.Msg.LISTS_INPUT_IS_EMPTY = 'is empty';
- Blockly.Msg.LISTS_TOOLTIP = 'Returns true if the list is empty.';
- Blockly.Msg.LISTS_INDEX_OF_HELPURL = 'http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic=%2Fcom.ibm.xlcpp8l.doc%2Flanguage%2Fref%2Farsubex.htm';
- Blockly.Msg.LISTS_INDEX_OF_INPUT_IN_LIST = 'in list';
- Blockly.Msg.LISTS_INDEX_OF_FIRST = 'find first occurrence of item';
- Blockly.Msg.LISTS_INDEX_OF_LAST = 'find last occurrence of item';
- Blockly.Msg.LISTS_INDEX_OF_TOOLTIP = 'Returns the index of the first/last occurrence\n' +
- 'of the item in the list.\n' +
- 'Returns 0 if text is not found.';
- Blockly.Msg.LISTS_GET_INDEX_HELPURL = 'http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic=%2Fcom.ibm.xlcpp8l.doc%2Flanguage%2Fref%2Farsubex.htm';
- Blockly.Msg.LISTS_GET_INDEX_GET = 'get';
- Blockly.Msg.LISTS_GET_INDEX_GET_REMOVE = 'get and remove';
- Blockly.Msg.LISTS_GET_INDEX_REMOVE = 'remove';
- Blockly.Msg.LISTS_GET_INDEX_FROM_START = '#';
- Blockly.Msg.LISTS_GET_INDEX_FROM_END = '# from end';
- Blockly.Msg.LISTS_GET_INDEX_FIRST = 'first';
- Blockly.Msg.LISTS_GET_INDEX_LAST = 'last';
- Blockly.Msg.LISTS_GET_INDEX_RANDOM = 'random';
- Blockly.Msg.LISTS_GET_INDEX_INPUT_IN_LIST = 'in list';
- Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_FROM_START = 'Returns the item at the specified position in a list.\n' +
- '#1 is the first item.';
- Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_FROM_END = 'Returns the item at the specified position in a list.\n' +
- '#1 is the last item.';
- Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_FIRST = 'Returns the first item in a list.';
- Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_LAST = 'Returns the last item in a list.';
- Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_RANDOM = 'Returns a random item in a list.';
- Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FROM_START = 'Removes and returns the item at the specified position\n' +
- ' in a list. #1 is the first item.';
- Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FROM_END = 'Removes and returns the item at the specified position\n' +
- ' in a list. #1 is the last item.';
- Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FIRST = 'Removes and returns the first item in a list.';
- Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_LAST = 'Removes and returns the last item in a list.';
- Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_RANDOM = 'Removes and returns a random item in a list.';
- Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_FROM_START = 'Removes the item at the specified position\n' +
- ' in a list. #1 is the first item.';
- Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_FROM_END = 'Removes the item at the specified position\n' +
- ' in a list. #1 is the last item.';
- Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_FIRST = 'Removes the first item in a list.';
- Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_LAST = 'Removes the last item in a list.';
- Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_RANDOM = 'Removes a random item in a list.';
- Blockly.Msg.LISTS_SET_INDEX_HELPURL = 'http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic=%2Fcom.ibm.xlcpp8l.doc%2Flanguage%2Fref%2Farsubex.htm';
- Blockly.Msg.LISTS_SET_INDEX_INPUT_IN_LIST = 'in list';
- Blockly.Msg.LISTS_SET_INDEX_SET = 'set';
- Blockly.Msg.LISTS_SET_INDEX_INSERT = 'insert at';
- Blockly.Msg.LISTS_SET_INDEX_INPUT_TO = 'as';
- Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_FROM_START = 'Sets the item at the specified position in a list.\n' +
- '#1 is the first item.';
- Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_FROM_END = 'Sets the item at the specified position in a list.\n' +
- '#1 is the last item.';
- Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_FIRST = 'Sets the first item in a list.';
- Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_LAST = 'Sets the last item in a list.';
- Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_RANDOM = 'Sets a random item in a list.';
- Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_FROM_START = 'Inserts the item at the specified position in a list.\n' +
- '#1 is the first item.';
- Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_FROM_END = 'Inserts the item at the specified position in a list.\n' +
- '#1 is the last item.';
- Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_FIRST = 'Inserts the item at the start of a list.';
- Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_LAST = 'Append the item to the end of a list.';
- Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_RANDOM = 'Inserts the item randomly in a list.';
- Blockly.Msg.LISTS_GET_SUBLIST_HELPURL = 'http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic=%2Fcom.ibm.xlcpp8l.doc%2Flanguage%2Fref%2Farsubex.htm';
- Blockly.Msg.LISTS_GET_SUBLIST_INPUT_IN_LIST = 'in list';
- Blockly.Msg.LISTS_GET_SUBLIST_INPUT_AT1 = 'get sub-list from';
- Blockly.Msg.LISTS_GET_SUBLIST_INPUT_AT2 = 'to';
- Blockly.Msg.LISTS_GET_SUBLIST_TOOLTIP = 'Creates a copy of the specified portion of a list.';
- // Variables Blocks.
- Blockly.Msg.VARIABLES_GET_HELPURL = 'http://en.wikipedia.org/wiki/Variable_(computer_science)';
- Blockly.Msg.VARIABLES_GET_TITLE = '';
- Blockly.Msg.VARIABLES_GET_ITEM = 'item';
- Blockly.Msg.VARIABLES_GET_TAIL = '';
- Blockly.Msg.VARIABLES_GET_TOOLTIP = 'Returns the value of this variable.';
- Blockly.Msg.VARIABLES_GET_CREATE_SET = 'Create "set %1"';
- Blockly.Msg.VARIABLES_SET_HELPURL = 'http://en.wikipedia.org/wiki/Variable_(computer_science)';
- Blockly.Msg.VARIABLES_SET_TITLE = 'set';
- Blockly.Msg.VARIABLES_SET_ITEM = 'item';
- Blockly.Msg.VARIABLES_SET_TAIL = 'to';
- Blockly.Msg.VARIABLES_SET_TOOLTIP = 'Sets this variable to be equal to the input.';
- Blockly.Msg.VARIABLES_SET_CREATE_GET = 'Create "get %1"';
- // Procedures Blocks.
- Blockly.Msg.PROCEDURES_DEFNORETURN_HELPURL = 'http://en.wikipedia.org/wiki/Procedure_%28computer_science%29';
- Blockly.Msg.PROCEDURES_DEFNORETURN_TITLE = 'to';
- Blockly.Msg.PROCEDURES_DEFNORETURN_PROCEDURE = 'do something';
- Blockly.Msg.PROCEDURES_BEFORE_PARAMS = 'with:';
- Blockly.Msg.PROCEDURES_DEFNORETURN_DO = '';
- Blockly.Msg.PROCEDURES_DEFNORETURN_TOOLTIP = 'Creates a function with no output.';
- Blockly.Msg.PROCEDURES_DEFRETURN_HELPURL = 'http://en.wikipedia.org/wiki/Procedure_%28computer_science%29';
- Blockly.Msg.PROCEDURES_DEFRETURN_TITLE = Blockly.Msg.PROCEDURES_DEFNORETURN_TITLE;
- Blockly.Msg.PROCEDURES_DEFRETURN_PROCEDURE = Blockly.Msg.PROCEDURES_DEFNORETURN_PROCEDURE;
- Blockly.Msg.PROCEDURES_DEFRETURN_DO = Blockly.Msg.PROCEDURES_DEFNORETURN_DO;
- Blockly.Msg.PROCEDURES_DEFRETURN_RETURN = 'return';
- Blockly.Msg.PROCEDURES_DEFRETURN_TOOLTIP = 'Creates a function with an output.';
- Blockly.Msg.PROCEDURES_DEF_DUPLICATE_WARNING = 'Warning:\n' +
- 'This function has\n' +
- 'duplicate parameters.';
- Blockly.Msg.PROCEDURES_CALLNORETURN_HELPURL = 'http://en.wikipedia.org/wiki/Procedure_%28computer_science%29';
- Blockly.Msg.PROCEDURES_CALLNORETURN_CALL = '';
- Blockly.Msg.PROCEDURES_CALLNORETURN_TOOLTIP = 'Run the user-defined function "%1".';
- Blockly.Msg.PROCEDURES_CALLRETURN_HELPURL = 'http://en.wikipedia.org/wiki/Procedure_%28computer_science%29';
- Blockly.Msg.PROCEDURES_CALLRETURN_CALL = Blockly.Msg.PROCEDURES_CALLNORETURN_CALL;
- Blockly.Msg.PROCEDURES_CALLRETURN_TOOLTIP = 'Run the user-defined function "%1" and use its output.';
- Blockly.Msg.PROCEDURES_MUTATORCONTAINER_TITLE = 'inputs';
- Blockly.Msg.PROCEDURES_MUTATORARG_TITLE = 'input name:';
- Blockly.Msg.PROCEDURES_HIGHLIGHT_DEF = 'Highlight procedure definition';
- Blockly.Msg.PROCEDURES_CREATE_DO = 'Create "%1"';
- Blockly.Msg.PROCEDURES_IFRETURN_TOOLTIP = 'If a value is true, then return a value.';
- Blockly.Msg.PROCEDURES_IFRETURN_WARNING = 'Warning:\n' +
- 'This block may only be\n' +
- 'used within a function definition.';
|