@@ -437,6 +437,7 @@ Blockly.Msg["PROCEDURES_HUE"] = "290";
437
437
Blockly . Msg [ "GPIOIN_HUE" ] = "180" ;
438
438
Blockly . Msg [ "GPIOOUT_HUE" ] = "0" ;
439
439
Blockly . Msg [ "SENSEHAT_HUE" ] = "40" ;
440
+ Blockly . Msg [ "CAMERA_HUE" ] = "135" ;
440
441
441
442
Blockly . Msg [ "COLOUR_CONVERT_TITLE" ] = "convert colour %1 to RGB array"
442
443
Blockly . Msg [ "COLOUR_CONVERT_TOOLTIP" ] = "Converts the colour to an array of RGB values(0-255)."
@@ -622,4 +623,108 @@ Blockly.Msg["TUBE_SHOW_TOOLTIP"] = "Displays a text string, no more than 4 chara
622
623
Blockly . Msg [ "TUBE_SCROLL_TITLE" ] = "%1 scroll text %2 delay %3 ms"
623
624
Blockly . Msg [ "TUBE_SCROLL_TOOLTIP" ] = "Scrolls a text string from right to left with the given delay, 250ms means 4 fps."
624
625
Blockly . Msg [ "TUBE_CLEAR_TITLE" ] = "clear %1"
625
- Blockly . Msg [ "TUBE_CLEAR_TOOLTIP" ] = "Clears the digital tube."
626
+ Blockly . Msg [ "TUBE_CLEAR_TOOLTIP" ] = "Clears the digital tube."
627
+ Blockly . Msg [ "CAMERA_ENABLE_TITLE" ] = "%1 camera"
628
+ Blockly . Msg [ "CAMERA_ENABLE_ENABLE" ] = "enable"
629
+ Blockly . Msg [ "CAMERA_ENABLE_STOP" ] = "stop"
630
+ Blockly . Msg [ "CAMERA_ENABLE_TOOLTIP" ] = "Enables or disables the Picamera module."
631
+ Blockly . Msg [ "CAMERA_PREVIEW_TITLE" ] = "%1 preview"
632
+ Blockly . Msg [ "CAMERA_PREVIEW_OPEN" ] = "open"
633
+ Blockly . Msg [ "CAMERA_PREVIEW_CLOSE" ] = "close"
634
+ Blockly . Msg [ "CAMERA_PREVIEW_TOOLTIP" ] = "Opens or closes a preview window for the camera."
635
+ Blockly . Msg [ "CAMERA_CAPTURE_TITLE" ] = "capture image %1 . %2"
636
+ Blockly . Msg [ "CAMERA_CAPTURE_TOOLTIP" ] = "Captures an image from the camera, storing it in the given path/filename and format."
637
+ Blockly . Msg [ "CAMERA_RECORD_TITLE" ] = "record video %1 .h264"
638
+ Blockly . Msg [ "CAMERA_RECORD_TOOLTIP" ] = "Starts recording video from the camera, storing it in the given path/filename in h264 format."
639
+ Blockly . Msg [ "CAMERA_STOP_RECORDING_TITLE" ] = "stop recording video"
640
+ Blockly . Msg [ "CAMERA_STOP_RECORDING_TOOLTIP" ] = "Stops recording video."
641
+ Blockly . Msg [ "CAMERA_WEB_STREAM_TITLE" ] = "start web video streaming, port: %1"
642
+ Blockly . Msg [ "CAMERA_WEB_STREAM_TOOLTIP" ] = "Starts HTTP video streaming on your RPi ip and given port. Open the link http://your-pi-ip:port/stream.mjpg with any web browser or video player to watch the stream."
643
+ Blockly . Msg [ "CAMERA_RESOLUTION_TITLE" ] = "set camera resolution %1 x %2"
644
+ Blockly . Msg [ "CAMERA_RESOLUTION_TOOLTIP" ] = "Sets the resolution at which image captures, video recordings, and previews will be captured."
645
+ Blockly . Msg [ "CAMERA_FLIP_TITLE" ] = "flip camera %1"
646
+ Blockly . Msg [ "CAMERA_FLIP_H" ] = "horizontally"
647
+ Blockly . Msg [ "CAMERA_FLIP_V" ] = "vertically"
648
+ Blockly . Msg [ "CAMERA_FLIP_TOOLTIP" ] = "Sets whether the camera\'s output is horizontally/vertically flipped."
649
+ Blockly . Msg [ "CAMERA_ROTATE_TITLE" ] = "rotate camera %1"
650
+ Blockly . Msg [ "CAMERA_ROTATE_TOOLTIP" ] = "Sets the current rotation of the camera\'s image."
651
+ Blockly . Msg [ "CAMERA_FRAMERATE_TITLE" ] = "set camera framerate %1"
652
+ Blockly . Msg [ "CAMERA_FRAMERATE_TOOLTIP" ] = "Sets the framerate at which video recordings, and previews will run."
653
+ Blockly . Msg [ "CAMERA_ANNOTATE_TEXT_TITLE" ] = "add annotation text %1"
654
+ Blockly . Msg [ "CAMERA_ANNOTATE_TEXT_TOOLTIP" ] = "Sets a text annotation for all output. Only ASCII characters available, with a limited length of 32 characters."
655
+ Blockly . Msg [ "CAMERA_ANNOTATE_SIZE_TITLE" ] = "set annotation size %1"
656
+ Blockly . Msg [ "CAMERA_ANNOTATE_SIZE_TOOLTIP" ] = "Sets the size of the annotation text."
657
+ Blockly . Msg [ "CAMERA_ANNOTATE_COLOUR_TITLE" ] = "set annotation %1 colour %2"
658
+ Blockly . Msg [ "CAMERA_ANNOTATE_COLOUR_FOREGROUND" ] = "foreground"
659
+ Blockly . Msg [ "CAMERA_ANNOTATE_COLOUR_BACKGROUND" ] = "background"
660
+ Blockly . Msg [ "CAMERA_ANNOTATE_COLOUR_TOOLTIP" ] = "Sets the brightness or the background colour of the annotation text."
661
+ Blockly . Msg [ "CAMERA_ISO_TITLE" ] = "set iso %1"
662
+ Blockly . Msg [ "CAMERA_ISO_AUTO" ] = "auto"
663
+ Blockly . Msg [ "CAMERA_ISO_TOOLTIP" ] = "Sets the apparent ISO setting of the camera."
664
+ Blockly . Msg [ "CAMERA_SHUTTER_SPEED_TITLE" ] = "set shutter speed %1 μs"
665
+ Blockly . Msg [ "CAMERA_SHUTTER_SPEED_TOOLTIP" ] = "Sets the shutter speed of the camera in microseconds."
666
+ Blockly . Msg [ "CAMERA_BRIGHTNESS_TITLE" ] = "set image brightness %1"
667
+ Blockly . Msg [ "CAMERA_BRIGHTNESS_TOOLTIP" ] = "Sets the brightness setting of the camera(0~100)."
668
+ Blockly . Msg [ "CAMERA_SHARPNESS_TITLE" ] = "set image sharpness %1"
669
+ Blockly . Msg [ "CAMERA_SHARPNESS_TOOLTIP" ] = "Sets the sharpness setting of the camera(-100~100)."
670
+ Blockly . Msg [ "CAMERA_CONTRAST_TITLE" ] = "set image contrast %1"
671
+ Blockly . Msg [ "CAMERA_CONTRAST_TOOLTIP" ] = "Sets the contrast setting of the camera(-100~100)."
672
+ Blockly . Msg [ "CAMERA_SATURATION_TITLE" ] = "set image saturation %1"
673
+ Blockly . Msg [ "CAMERA_SATURATION_TOOLTIP" ] = "Sets the saturation setting of the camera(-100~100)."
674
+ Blockly . Msg [ "CAMERA_AWB_MODE_TITLE" ] = "set awb mode %1"
675
+ Blockly . Msg [ "CAMERA_AWB_MODE_AUTO" ] = "auto"
676
+ Blockly . Msg [ "CAMERA_AWB_MODE_SUNLIGHT" ] = "sunlight"
677
+ Blockly . Msg [ "CAMERA_AWB_MODE_CLOUDY" ] = "cloudy"
678
+ Blockly . Msg [ "CAMERA_AWB_MODE_SHADE" ] = "shade"
679
+ Blockly . Msg [ "CAMERA_AWB_MODE_TUNGSTEN" ] = "tungsten"
680
+ Blockly . Msg [ "CAMERA_AWB_MODE_INCANDESCENT" ] = "incandescent"
681
+ Blockly . Msg [ "CAMERA_AWB_MODE_FLUORESCENT" ] = "fluorescent"
682
+ Blockly . Msg [ "CAMERA_AWB_MODE_FLASH" ] = "flash"
683
+ Blockly . Msg [ "CAMERA_AWB_MODE_HORIZON" ] = "horizon"
684
+ Blockly . Msg [ "CAMERA_AWB_MODE_TOOLTIP" ] = "Sets the auto-white-balance mode of the camera."
685
+ Blockly . Msg [ "CAMERA_EXPOSURE_COMPENSATION_TITLE" ] = "set exposure compensation %1"
686
+ Blockly . Msg [ "CAMERA_EXPOSURE_COMPENSATION_TOOLTIP" ] = "Sets the exposure compensation level of the camera(-25~25)."
687
+ Blockly . Msg [ "CAMERA_EXPOSURE_MODE_TITLE" ] = "set exposure mode %1"
688
+ Blockly . Msg [ "CAMERA_EXPOSURE_MODE_AUTO" ] = "auto"
689
+ Blockly . Msg [ "CAMERA_EXPOSURE_MODE_NIGHT" ] = "night"
690
+ Blockly . Msg [ "CAMERA_EXPOSURE_MODE_NIGHTPREVIEW" ] = "night preview"
691
+ Blockly . Msg [ "CAMERA_EXPOSURE_MODE_BACKLIGHT" ] = "backlight"
692
+ Blockly . Msg [ "CAMERA_EXPOSURE_MODE_SPOTLIGHT" ] = "spotlight"
693
+ Blockly . Msg [ "CAMERA_EXPOSURE_MODE_SPORTS" ] = "sports"
694
+ Blockly . Msg [ "CAMERA_EXPOSURE_MODE_SNOW" ] = "snow"
695
+ Blockly . Msg [ "CAMERA_EXPOSURE_MODE_BEACH" ] = "beach"
696
+ Blockly . Msg [ "CAMERA_EXPOSURE_MODE_VERYLONG" ] = "very long"
697
+ Blockly . Msg [ "CAMERA_EXPOSURE_MODE_FIXEDFPS" ] = "fixed fps"
698
+ Blockly . Msg [ "CAMERA_EXPOSURE_MODE_ANTISHAKE" ] = "antishake"
699
+ Blockly . Msg [ "CAMERA_EXPOSURE_MODE_FIREWORKS" ] = "fireworks"
700
+ Blockly . Msg [ "CAMERA_EXPOSURE_MODE_TOOLTIP" ] = "Sets the exposure mode of the camera."
701
+ Blockly . Msg [ "CAMERA_METER_MODE_TITLE" ] = "set metering mode %1"
702
+ Blockly . Msg [ "CAMERA_METER_MODE_AVERAGE" ] = "average"
703
+ Blockly . Msg [ "CAMERA_METER_MODE_SPOT" ] = "spot"
704
+ Blockly . Msg [ "CAMERA_METER_MODE_BACKLIT" ] = "backlit"
705
+ Blockly . Msg [ "CAMERA_METER_MODE_MATRIX" ] = "matrix"
706
+ Blockly . Msg [ "CAMERA_METER_MODE_TOOLTIP" ] = "Sets the metering mode of the camera."
707
+ Blockly . Msg [ "CAMERA_IMAGE_EFFECT_TITLE" ] = "set image effect %1"
708
+ Blockly . Msg [ "CAMERA_IMAGE_EFFECT_NONE" ] = "none"
709
+ Blockly . Msg [ "CAMERA_IMAGE_EFFECT_NEGATIVE" ] = "negative"
710
+ Blockly . Msg [ "CAMERA_IMAGE_EFFECT_SOLARIZE" ] = "solarize"
711
+ Blockly . Msg [ "CAMERA_IMAGE_EFFECT_SKETCH" ] = "sketch"
712
+ Blockly . Msg [ "CAMERA_IMAGE_EFFECT_DENOISE" ] = "denoise"
713
+ Blockly . Msg [ "CAMERA_IMAGE_EFFECT_EMBOSS" ] = "emboss"
714
+ Blockly . Msg [ "CAMERA_IMAGE_EFFECT_OILPAINT" ] = "oilpaint"
715
+ Blockly . Msg [ "CAMERA_IMAGE_EFFECT_HATCH" ] = "hatch"
716
+ Blockly . Msg [ "CAMERA_IMAGE_EFFECT_GPEN" ] = "G pen"
717
+ Blockly . Msg [ "CAMERA_IMAGE_EFFECT_PASTEL" ] = "pastel"
718
+ Blockly . Msg [ "CAMERA_IMAGE_EFFECT_WATERCOLOR" ] = "watercolour"
719
+ Blockly . Msg [ "CAMERA_IMAGE_EFFECT_FILM" ] = "film"
720
+ Blockly . Msg [ "CAMERA_IMAGE_EFFECT_BLUR" ] = "blur"
721
+ Blockly . Msg [ "CAMERA_IMAGE_EFFECT_SATURATION" ] = "saturation"
722
+ Blockly . Msg [ "CAMERA_IMAGE_EFFECT_COLORSWAP" ] = "colour swap"
723
+ Blockly . Msg [ "CAMERA_IMAGE_EFFECT_WASHEDOUT" ] = "washed out"
724
+ Blockly . Msg [ "CAMERA_IMAGE_EFFECT_POSTERISE" ] = "posterise"
725
+ Blockly . Msg [ "CAMERA_IMAGE_EFFECT_COLORPOINT" ] = "colour point"
726
+ Blockly . Msg [ "CAMERA_IMAGE_EFFECT_COLORBALANCE" ] = "colour balance"
727
+ Blockly . Msg [ "CAMERA_IMAGE_EFFECT_CARTOON" ] = "cartoon"
728
+ Blockly . Msg [ "CAMERA_IMAGE_EFFECT_DEINTERLACE1" ] = "deinterlace1"
729
+ Blockly . Msg [ "CAMERA_IMAGE_EFFECT_DEINTERLACE2" ] = "deinterlace2"
730
+ Blockly . Msg [ "CAMERA_IMAGE_EFFECT_TOOLTIP" ] = "Sets the current image effect applied by the camera."
0 commit comments