Skip to content

Commit

Permalink
Aktualisiere grove_lcd.ts, _locales/de/grove-lcd-strings.json
Browse files Browse the repository at this point in the history
  • Loading branch information
MKleinSB committed Jun 2, 2023
1 parent f875e4a commit 6b51a98
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions _locales/de/grove-lcd-strings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"grove_lcd.writeString|block":"write | %str| to row |%row || with geschw | %speed| ms",
"grove_lcd.bargraph|block":"Zeichne Balkendiagramm von | %wert| bis | %max || in Zeile |%row"
"grove_lcd.writeString|block" : "schreibe | %str | in Zeile |%row || mit Geschwindigkeit | %speed | ms",
"grove_lcd.bargraph|block" : "zeichne Balkendiagramm von | %value | bis | %max || in Zeile | %row"
}
8 changes: 4 additions & 4 deletions grove_lcd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ namespace grove_lcd {
* @param speed speed of the scrolling text
*/
//% weight=87 blockGap=8
//% block="write | %str to row %row || with speed | %speed ms"
//% block="write | %str | to row | %row || with speed | %speed |nms"
//% blockId=write_String
//% row.min=0 row.max=1
//% speed.shadow=timePicker speed.defl=100
Expand All @@ -140,12 +140,12 @@ namespace grove_lcd {

/**
* plots a bar graph on the LCD display
* @param wert value to display
* @param value value to display
* @param max maximum value
* @param row row to be written to
*/
//% block="plot bar graph of | %wert up to %max || in row %row"
//% blockId=lcd_plotBarGraph
//% block="plot bar graph of | %value | up to | %max || in row | %row"
//% blockId=plot_BarGraph
//% row.min=0 row.max=1
export function bargraph(value: number, max: number, row: number = 0) {
let bar = ""
Expand Down

0 comments on commit 6b51a98

Please sign in to comment.