smarti/src/components/Blockly/msg/en/translations.js
2021-01-13 14:08:36 +01:00

211 lines
11 KiB
JavaScript

export const TRANSLATIONS = {
ADD_COMMENT: "Add Comment",
AUTH: "Please authorize this app to enable your work to be saved and to allow it to be shared by you.",
CHANGE_VALUE_TITLE: "Change value:",
CHAT: "Chat with your collaborator by typing in this box!",
CLEAN_UP: "Clean up Blocks",
COLLAPSE_ALL: "Collapse Blocks",
COLLAPSE_BLOCK: "Collapse Block",
DELETE_ALL_BLOCKS: "Delete all %1 blocks?",
DELETE_BLOCK: "Delete Block",
DELETE_X_BLOCKS: "Delete %1 Blocks",
DISABLE_BLOCK: "Disable Block",
DUPLICATE_BLOCK: "Duplicate",
ENABLE_BLOCK: "Enable Block",
EXPAND_ALL: "Expand Blocks",
EXPAND_BLOCK: "Expand Block",
EXTERNAL_INPUTS: "External Inputs",
HELP: "Help",
INLINE_INPUTS: "Inline Inputs",
LISTS_CREATE_EMPTY_HELPURL: "https://github.com/google/blockly/wiki/Lists#create-empty-list",
LISTS_CREATE_EMPTY_TITLE: "create empty list",
LISTS_CREATE_EMPTY_TOOLTIP: "Returns a list, of length 0, containing no data records",
LISTS_CREATE_WITH_CONTAINER_TITLE_ADD: "list",
LISTS_CREATE_WITH_CONTAINER_TOOLTIP: "Add, remove, or reorder sections to reconfigure this list block.",
LISTS_CREATE_WITH_HELPURL: "https://github.com/google/blockly/wiki/Lists#create-list-with",
LISTS_CREATE_WITH_INPUT_WITH: "create list with",
LISTS_CREATE_WITH_ITEM_TOOLTIP: "Add an item to the list.",
LISTS_CREATE_WITH_TOOLTIP: "Create a list with any number of items.",
LISTS_GET_INDEX_FIRST: "first",
LISTS_GET_INDEX_FROM_END: "# from end",
LISTS_GET_INDEX_FROM_START: "#",
LISTS_GET_INDEX_GET: "get",
LISTS_GET_INDEX_GET_REMOVE: "get and remove",
LISTS_GET_INDEX_LAST: "last",
LISTS_GET_INDEX_RANDOM: "random",
LISTS_GET_INDEX_REMOVE: "remove",
LISTS_GET_INDEX_TAIL: "",
LISTS_GET_INDEX_TOOLTIP_GET_FIRST: "Returns the first item in a list.",
LISTS_GET_INDEX_TOOLTIP_GET_FROM_END: "Returns the item at the specified position in a list. #1 is the last item.",
LISTS_GET_INDEX_TOOLTIP_GET_FROM_START: "Returns the item at the specified position in a list. #1 is the first item.",
LISTS_GET_INDEX_TOOLTIP_GET_LAST: "Returns the last item in a list.",
LISTS_GET_INDEX_TOOLTIP_GET_RANDOM: "Returns a random item in a list.",
LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FIRST: "Removes and returns the first item in a list.",
LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FROM_END: "Removes and returns the item at the specified position in a list. #1 is the last item.",
LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FROM_START: "Removes and returns the item at the specified position in a list. #1 is the first item.",
LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_LAST: "Removes and returns the last item in a list.",
LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_RANDOM: "Removes and returns a random item in a list.",
LISTS_GET_INDEX_TOOLTIP_REMOVE_FIRST: "Removes the first item in a list.",
LISTS_GET_INDEX_TOOLTIP_REMOVE_FROM_END: "Removes the item at the specified position in a list. #1 is the last item.",
LISTS_GET_INDEX_TOOLTIP_REMOVE_FROM_START: "Removes the item at the specified position in a list. #1 is the first item.",
LISTS_GET_INDEX_TOOLTIP_REMOVE_LAST: "Removes the last item in a list.",
LISTS_GET_INDEX_TOOLTIP_REMOVE_RANDOM: "Removes a random item in a list.",
LISTS_GET_SUBLIST_END_FROM_END: "to # from end",
LISTS_GET_SUBLIST_END_FROM_START: "to #",
LISTS_GET_SUBLIST_END_LAST: "to last",
LISTS_GET_SUBLIST_HELPURL: "https://github.com/google/blockly/wiki/Lists#getting-a-sublist",
LISTS_GET_SUBLIST_START_FIRST: "get sub-list from first",
LISTS_GET_SUBLIST_START_FROM_END: "get sub-list from # from end",
LISTS_GET_SUBLIST_START_FROM_START: "get sub-list from #",
LISTS_GET_SUBLIST_TAIL: "",
LISTS_GET_SUBLIST_TOOLTIP: "Creates a copy of the specified portion of a list.",
LISTS_INDEX_OF_FIRST: "find first occurrence of item",
LISTS_INDEX_OF_HELPURL: "https://github.com/google/blockly/wiki/Lists#getting-items-from-a-list",
LISTS_INDEX_OF_LAST: "find last occurrence of item",
LISTS_INDEX_OF_TOOLTIP: "Returns the index of the first/last occurrence of the item in the list. Returns 0 if item is not found.",
LISTS_INLIST: "in list",
LISTS_ISEMPTY_HELPURL: "https://github.com/google/blockly/wiki/Lists#is-empty",
LISTS_ISEMPTY_TITLE: "%1 is empty",
LISTS_ISEMPTY_TOOLTIP: "Returns true if the list is empty.",
LISTS_LENGTH_HELPURL: "https://github.com/google/blockly/wiki/Lists#length-of",
LISTS_LENGTH_TITLE: "length of %1",
LISTS_LENGTH_TOOLTIP: "Returns the length of a list.",
LISTS_REPEAT_HELPURL: "https://github.com/google/blockly/wiki/Lists#create-list-with",
LISTS_REPEAT_TITLE: "create list with item %1 repeated %2 times",
LISTS_REPEAT_TOOLTIP: "Creates a list consisting of the given value repeated the specified number of times.",
LISTS_SET_INDEX_HELPURL: "https://github.com/google/blockly/wiki/Lists#in-list--set",
LISTS_SET_INDEX_INPUT_TO: "as",
LISTS_SET_INDEX_INSERT: "insert at",
LISTS_SET_INDEX_SET: "set",
LISTS_SET_INDEX_TOOLTIP_INSERT_FIRST: "Inserts the item at the start of a list.",
LISTS_SET_INDEX_TOOLTIP_INSERT_FROM_END: "Inserts the item at the specified position in a list. #1 is the last item.",
LISTS_SET_INDEX_TOOLTIP_INSERT_FROM_START: "Inserts the item at the specified position in a list. #1 is the first item.",
LISTS_SET_INDEX_TOOLTIP_INSERT_LAST: "Append the item to the end of a list.",
LISTS_SET_INDEX_TOOLTIP_INSERT_RANDOM: "Inserts the item randomly in a list.",
LISTS_SET_INDEX_TOOLTIP_SET_FIRST: "Sets the first item in a list.",
LISTS_SET_INDEX_TOOLTIP_SET_FROM_END: "Sets the item at the specified position in a list. #1 is the last item.",
LISTS_SET_INDEX_TOOLTIP_SET_FROM_START: "Sets the item at the specified position in a list. #1 is the first item.",
LISTS_SET_INDEX_TOOLTIP_SET_LAST: "Sets the last item in a list.",
LISTS_SET_INDEX_TOOLTIP_SET_RANDOM: "Sets a random item in a list.",
LISTS_SORT_HELPURL: "https://github.com/google/blockly/wiki/Lists#sorting-a-list",
LISTS_SORT_ORDER_ASCENDING: "ascending",
LISTS_SORT_ORDER_DESCENDING: "descending",
LISTS_SORT_TITLE: "sort %1 %2 %3",
LISTS_SORT_TOOLTIP: "Sort a copy of a list.",
LISTS_SORT_TYPE_IGNORECASE: "alphabetic, ignore case",
LISTS_SORT_TYPE_NUMERIC: "numeric",
LISTS_SORT_TYPE_TEXT: "alphabetic",
LISTS_SPLIT_HELPURL: "https://github.com/google/blockly/wiki/Lists#splitting-strings-and-joining-lists",
LISTS_SPLIT_LIST_FROM_TEXT: "make list from text",
LISTS_SPLIT_TEXT_FROM_LIST: "make text from list",
LISTS_SPLIT_TOOLTIP_JOIN: "Join a list of texts into one text, separated by a delimiter.",
LISTS_SPLIT_TOOLTIP_SPLIT: "Split text into a list of texts, breaking at each delimiter.",
LISTS_SPLIT_WITH_DELIMITER: "with delimiter",
ME: "Me",
NEW_VARIABLE: "New variable...",
NEW_VARIABLE_TITLE: "New variable name:",
ORDINAL_NUMBER_SUFFIX: "",
PROCEDURES_ALLOW_STATEMENTS: "allow statements",
PROCEDURES_BEFORE_PARAMS: "with inputs:",
PROCEDURES_CALLNORETURN_HELPURL: "https://en.wikipedia.org/wiki/Procedure_%28computer_science%29",
PROCEDURES_CALLNORETURN_TOOLTIP: "Run the user-defined function '%1'.",
PROCEDURES_CALLRETURN_HELPURL: "https://en.wikipedia.org/wiki/Procedure_%28computer_science%29",
PROCEDURES_CALLRETURN_TOOLTIP: "Run the user-defined function '%1' and use its output.",
PROCEDURES_CALL_BEFORE_PARAMS: "with Inputs:",
PROCEDURES_CALL: "Call",
PROCEDURES_CALL_END: '',
PROCEDURES_CREATE_DO: "Create '%1'",
PROCEDURES_DEFNORETURN_COMMENT: "Describe this function...",
PROCEDURES_DEFNORETURN: "Create Function",
PROCEDURES_DEFNORETURN_DO: "",
PROCEDURES_DEFNORETURN_HELPURL: "https://en.wikipedia.org/wiki/Procedure_%28computer_science%29",
PROCEDURES_DEFNORETURN_PROCEDURE: "do something",
PROCEDURES_DEFNORETURN_TITLE: "to",
PROCEDURES_DEFNORETURN_TOOLTIP: "Creates a function with no output.",
PROCEDURES_DEFRETURN_HELPURL: "https://en.wikipedia.org/wiki/Procedure_%28computer_science%29",
PROCEDURES_DEFRETURN_RETURN_TYPE: "return Type",
PROCEDURES_DEFRETURN_RETURN: "return",
PROCEDURES_DEFRETURN_TOOLTIP: "Creates a function with an output.",
PROCEDURES_DEF_DUPLICATE_WARNING: "Warning: This function has duplicate parameters.",
PROCEDURES_HIGHLIGHT_DEF: "Highlight function definition",
PROCEDURES_IFRETURN_HELPURL: "http://c2.com/cgi/wiki?GuardClause",
PROCEDURES_IFRETURN_TOOLTIP: "If a value is true, then return a second value.",
PROCEDURES_IFRETURN_WARNING: "Warning: This block may be used only within a function definition.",
PROCEDURES_MUTATORARG_TITLE: "input name:",
PROCEDURES_MUTATORARG_TOOLTIP: "Add an input to the function.",
PROCEDURES_MUTATORCONTAINER_TITLE: "inputs",
PROCEDURES_MUTATORCONTAINER_TOOLTIP: "Add, remove, or reorder inputs to this function.",
REDO: "Redo",
REMOVE_COMMENT: "Remove Comment",
RENAME_VARIABLE: "Rename variable...",
RENAME_VARIABLE_TITLE: "Rename all '%1' variables to:",
TODAY: "Today",
UNDO: "Undo",
PROCEDURES_DEFRETURN_TITLE: "zu",
CONTROLS_IF_IF_TITLE_IF: "if",
CONTROLS_WHILEUNTIL_INPUT_DO: "do",
CONTROLS_IF_MSG_THEN: "do",
CONTROLS_IF_ELSE_TITLE_ELSE: "else",
PROCEDURES_DEFRETURN_PROCEDURE: "do something",
LISTS_GET_SUBLIST_INPUT_IN_LIST: "in List",
LISTS_GET_INDEX_INPUT_IN_LIST: "in List",
PROCEDURES_DEFRETURN_DO: "",
CONTROLS_IF_ELSEIF_TITLE_ELSEIF: "else if",
LISTS_GET_INDEX_HELPURL: "https://github.com/google/blockly/wiki/Lists#getting-items-from-a-list",
CONTROLS_FOREACH_INPUT_DO: "do",
LISTS_SET_INDEX_INPUT_IN_LIST: "in List",
CONTROLS_FOR_INPUT_DO: "do",
LISTS_CREATE_WITH_ITEM_TITLE: "item",
TEXT_APPEND_VARIABLE: "item",
TEXT_CREATE_JOIN_ITEM_TITLE_ITEM: "item",
LISTS_INDEX_OF_INPUT_IN_LIST: "in List",
PROCEDURES_DEFRETURN_COMMENT: "describe this function…",
senseBox_basic_blue: "Blue",
senseBox_basic_green: "Gree",
senseBox_basic_red: "Red",
senseBox_basic_state: "Status",
senseBox_foto: "Light Dependent Resistor",
senseBox_foto_tip: "simple light depending resistor, gives values between 0 and 1023",
senseBox_gas: "Gas (VOC)",
senseBox_ir: "infrared distance sensor",
senseBox_ir_tip: "infrared distance sensor can measure the distance between 10 and 80 cm",
senseBox_lux: "lightsensor",
senseBox_lux_tip: "Light Sensor can measure the illuminance in lux",
senseBox_measurement: "Measurement",
senseBox_measurements: "Measurements",
senseBox_off: "off",
senseBox_on: "on",
senseBox_output_filename: "filename",
senseBox_output_format: "format:",
senseBox_output_linebreak: "linebreak",
senseBox_output_networkid: "networkID",
senseBox_output_password: "Password",
senseBox_output_safetosd: "safe to sd",
senseBox_output_safetosd_tip: "Save Measurment to SD-Card",
senseBox_output_serialprint: "Print on Serial Monitor",
senseBox_output_timestamp: "timestamp",
senseBox_piezo_tip: "simple piezo to make sound",
senseBox_poti: "Potentiometer",
senseBox_poti_tip: "Potentiometer",
senseBox_sensor: "Sensors",
senseBox_serial_tip: "prints the values to the serial monitor in the arduino IDE. Good way to have a fast and easy feedback for your programm",
senseBox_soil: "Soil Moisture",
}