update board definition and translations

This commit is contained in:
Mario Pesch 2022-09-28 10:17:56 +02:00
parent 562a7b53e2
commit 3aa9e715d2
4 changed files with 11 additions and 10 deletions

View File

@ -146,9 +146,9 @@ const sensebox_mini = {
["IO2", "2"],
],
digitalPinsRGB: [
["on Board", "7"],
["IO1", "8"],
["IO2", "1"],
["on Board", "6"],
["IO1", "1"],
["IO2", "2"],
],
digitalPinsButton: [
["on Board", "0"],
@ -228,10 +228,6 @@ const sensebox_mini = {
interrupt: [
["interrupt1", "1"],
["interrupt2", "2"],
["interrupt3", "3"],
["interrupt4", "4"],
["interrupt5", "5"],
["interrupt6", "6"],
],
analogPins: [
["A1", "A1"],

View File

@ -308,5 +308,7 @@ export const UI = {
* Device Selction
* */
deviceselection_head: "Welches Board benutzt du?",
deviceselection_keep_selection: "Speichere meine Auswahl fürs nächste Mal"
deviceselection_keep_selection: "Speichere meine Auswahl fürs nächste Mal (Du kannst das Board später in den Einstellungen wechseln)",
deviceselection_footnote: "Hier kommst du zur alten Blockly Version für den ",
deviceselection_footnote_02: "oder die"
};

View File

@ -303,6 +303,9 @@ export const UI = {
* Device Selction
* */
deviceselection_head: "Which board are you using?",
deviceselection_keep_selection: "Save my choice",
deviceselection_keep_selection: "Save my choice (You can change the board later in the settings)",
deviceselection_footnote: "Here you can access the old blockly Version for the",
deviceselection_footnote_02: "or the",
};

View File

@ -140,7 +140,7 @@ class DeviceSeclection extends Component {
label={Blockly.Msg.deviceselection_keep_selection}
/>
<Typography variant="body1" >
Hier kommst du zur alten Blockly Version für den <a href="https://sensebox.github.io/blockly/">Arduino UNO</a> oder die <a href="/">senseBox MCU</a>
{Blockly.Msg.deviceselection_footnote} <a href="https://sensebox.github.io/blockly/">Arduino UNO</a> {Blockly.Msg.deviceselection_footnote_02} <a href="/">senseBox MCU</a>
</Typography>
</Dialog>
);