fix the language selection

This commit is contained in:
Mario
2021-01-13 14:08:36 +01:00
parent 97e28b62f8
commit b25a4d602a
50 changed files with 4764 additions and 2437 deletions
+37 -35
View File
@@ -1,37 +1,39 @@
import Blockly from 'blockly'
/**
* Webserver
*/
export const WEBSERVER = {
/**
* Webserver
*/
Blockly.Msg.senseBox_ip_address = "IP-Address";
Blockly.Msg.senseBox_ip_address_tip = "Returns the IP address as a string.";
Blockly.Msg.senseBox_init_http_server_tip = "Initializes a http server on the specified port.";
Blockly.Msg.senseBox_init_http_server = "Initialize HTTP-Server";
Blockly.Msg.senseBox_http_on_client_connect = "If client is connected:";
Blockly.Msg.senseBox_http_on_client_connect_tip = "Checks if a client is connected and executes given statement in that case.";
Blockly.Msg.senseBox_http_method = "Method";
Blockly.Msg.senseBox_http_method_tip = "Method of the current HTTP request";
Blockly.Msg.senseBox_http_uri = "URI";
Blockly.Msg.senseBox_http_uri_tip = "URI of requested resource of the current HTTP request";
Blockly.Msg.senseBox_http_user_agent = "User-Agent";
Blockly.Msg.senseBox_http_user_agent_tip = "The User-Agent send along with the current HTTP request";
Blockly.Msg.senseBox_http_protocol_version = "HTTP Version";
Blockly.Msg.senseBox_http_protocol_version_tip = "The HTTP Version of the current HTTP request";
Blockly.Msg.senseBox_http_success_tip = "Send a successful HTTP response with content.";
Blockly.Msg.senseBox_http_not_found_tip = "Send a predefined 404 HTTP response.";
Blockly.Msg.senseBox_http_success = "Succesful";
Blockly.Msg.senseBox_http_success_l2 = "HTTP reponse";
Blockly.Msg.senseBox_http_success_buildhtml = "HTML:"
Blockly.Msg.senseBox_http_not_found = "404 Not found";
Blockly.Msg.senseBox_html_document = "HTML";
Blockly.Msg.senseBox_html_header = "<head>";
Blockly.Msg.senseBox_html_header_end = "</head>";
Blockly.Msg.senseBox_html_body = "<body>";
Blockly.Msg.senseBox_html_body_end = "</body>";
Blockly.Msg.senseBox_html_general_tag_tip = "A general HTML tag building block.";
Blockly.Msg.senseBox_html_document_tip = "A block for generating a HTML document.";
senseBox_ip_address: "IP-Address",
senseBox_ip_address_tip: "Returns the IP address as a string.",
senseBox_init_http_server_tip: "Initializes a http server on the specified port.",
senseBox_init_http_server: "Initialize HTTP-Server",
senseBox_http_on_client_connect: "If client is connected:",
senseBox_http_on_client_connect_tip: "Checks if a client is connected and executes given statement in that case.",
senseBox_http_method: "Method",
senseBox_http_method_tip: "Method of the current HTTP request",
senseBox_http_uri: "URI",
senseBox_http_uri_tip: "URI of requested resource of the current HTTP request",
senseBox_http_user_agent: "User-Agent",
senseBox_http_user_agent_tip: "The User-Agent send along with the current HTTP request",
senseBox_http_protocol_version: "HTTP Version",
senseBox_http_protocol_version_tip: "The HTTP Version of the current HTTP request",
senseBox_http_success_tip: "Send a successful HTTP response with content.",
senseBox_http_not_found_tip: "Send a predefined 404 HTTP response.",
senseBox_http_success: "Succesful",
senseBox_http_success_l2: "HTTP reponse",
senseBox_http_success_buildhtml: "HTML:",
senseBox_http_not_found: "404 Not found",
senseBox_html_document: "HTML",
senseBox_html_header: "<head>",
senseBox_html_header_end: "</head>",
senseBox_html_body: "<body>",
senseBox_html_body_end: "</body>",
senseBox_html_general_tag_tip: "A general HTML tag building block.",
senseBox_html_document_tip: "A block for generating a HTML document.",
Blockly.Msg.senseBox_tag_first_mutator_tip = "Mandatory children to this block.";
Blockly.Msg.senseBox_tag_optional_mutator_tip = "Add more children to the block.";
Blockly.Msg.sensebox_web_readHTML_filename = "File:";
Blockly.Msg.senseBox_sd_web_readHTML = "Read HTML from SD Card";
senseBox_tag_first_mutator_tip: "Mandatory children to this block.",
senseBox_tag_optional_mutator_tip: "Add more children to the block.",
sensebox_web_readHTML_filename: "File:",
senseBox_sd_web_readHTML: "Read HTML from SD Card",
}