add missing translations and update toolbox

This commit is contained in:
Mario Pesch 2021-09-17 11:00:09 +02:00
parent f20766d489
commit 6fc640159b
2 changed files with 12 additions and 1 deletions

View File

@ -13,4 +13,11 @@ export const SD = {
"Open the file on the SD card to save files. At the end of the loop, the file will be closed again automatically.", "Open the file on the SD card to save files. At the end of the loop, the file will be closed again automatically.",
sensebox_sd_filename: "Data.csv", sensebox_sd_filename: "Data.csv",
senseBox_sd_decimals: "decimals", senseBox_sd_decimals: "decimals",
sensebox_sd_osem: "Create CSV-file for openSenseMap",
sensebox_sd_osem_tip: "Creates a CSV-file for openSenseMap upload",
sensebox_sd_save_for_osem: "Save measurement",
sensebox_sd_save_for_osem_tip:
"Adds a measurement witht the corresponding Sensor ID to the CSV-file",
sensebox_sd_save_for_osem_id: "Sensor ID:",
sensebox_sd_measurement: "measurements",
}; };

View File

@ -104,7 +104,11 @@ class Toolbox extends React.Component {
<Block type="sensebox_sd_write_file" /> <Block type="sensebox_sd_write_file" />
<Block type="sensebox_sd_open_file"> <Block type="sensebox_sd_open_file">
<Value name="SD"> <Value name="SD">
<Block type="sensebox_sd_osem"></Block> <Block type="sensebox_sd_osem">
<Value name="DO">
<Block type="sensebox_sd_save_for_osem"></Block>
</Value>
</Block>
</Value> </Value>
</Block> </Block>
<Block type="sensebox_sd_osem" /> <Block type="sensebox_sd_osem" />