From 8d28d025d2e18a89699347b86fd3622fd73fda0d Mon Sep 17 00:00:00 2001 From: Mihir Kumar Jha Date: Sat, 8 Jul 2023 22:08:38 +0530 Subject: [PATCH 1/7] languages updated for grid --- localization.ini | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/localization.ini b/localization.ini index 43ee5a5410..70f9e40a43 100644 --- a/localization.ini +++ b/localization.ini @@ -19,6 +19,7 @@ beats-per-minute2 = beats per minute start = เริ่ม action = การกระทำ box = กล่อง +Grid = กริด open-file = เปิดไฟล์ text = ถ้ดไป store-in = นำไปเก็บไว้ @@ -284,6 +285,7 @@ set-heading = seth [nl] start = begin action = actie +Grid = Rooster box = doos text = tekst store-in = sla op in @@ -362,6 +364,7 @@ duration = duur [it] start = inizio action = azione +Grid = Griglia box = scatola open-file = aprire file text = testo @@ -537,6 +540,7 @@ set-heading = seth [sw] start = kuanza text = maandishi +Grid = Gridi Help = Msaada number = idadi Stop = Kuacha @@ -562,6 +566,7 @@ start = শুরু করো box = বাক্স text = টেক্সট Clean = পরিষ্কার করো +Grid = ঝাঁজরি number = সংখ্যা Stop = ধাপ keyboard = কী-বোর্ড @@ -611,6 +616,7 @@ print = মুদ্রণ করো start = starta action = händelse box = låda +Grid = Rutnät text = text store-in = spara i show = visa @@ -669,6 +675,7 @@ print = skriv start = सुरूवात action = क्रिया box = पेटी +Grid = जाल open-file = फाइल उघडा text = मजकूर store-in = मध्ये संग्रह करणे @@ -913,6 +920,7 @@ heading = سرفصل [el] start = έναρξη action = ενέργεια +Grid = Πλέγμα box = πλαίσιο text = κείμενο store-in = αποθήκευση στο @@ -984,6 +992,7 @@ duration = διάρκεια [pl] start = start action = akcje +Grid = siatka box = pudło text = tekst store-in = przechowaj w @@ -1056,6 +1065,7 @@ duration = czas trwania start = tīmata action = hohenga box = pouaka +Grid = Mātiti text = kupu store-in = penapena ki value = uara @@ -3482,7 +3492,7 @@ show = mostrar avatar = avatar sample = muestra de audio Grid = Cuadrícula -Clean = Limpiar +Clean = LimpiaCa Collapse = Contraer Expand = Expandir Refresh-your-browser-to-change-your-language-preference = Actualice su navegador para cambiar su preferencia de idioma. @@ -3582,11 +3592,13 @@ silence = silencio ti-la-sol-fa-mi-re-do = si la sol fa mi re do down = abajo up = arriba -Cartesian = Cartesian +Cartesian = Cartesiano polar = polar -Cartesian+polar = Cartesian+polar +Cartesian+polar = Cartesiano+polar none = ninguno -treble = treble +treble = agudos +Grand = grande +Blank = en blanco grand-staff = staff grande mezzo-soprano = mezzo-soprano alto = alto @@ -4953,6 +4965,7 @@ wait = vent You-must-select-a-file = Huk waqaychasqata ch’ikuy start = qallari action = ruway +Grid = q'iwa box = tawa k'uchu true = chiqaq false = llulla @@ -6542,6 +6555,7 @@ start = iniciar Playback-is-ready = Tocador está pronto action = ação box = caixa +Grid = grade Consider-breaking-this-stack-into-parts = Considere dividir essa pilha em partes. open-file = abrir arquivo true = verdadeiro @@ -8714,6 +8728,7 @@ start = スタート Playback-is-ready = コンパイル完了 action = アクション box = 箱 +Grid = グリッド Consider-breaking-this-stack-into-parts = アクションブロックを使ってプログラムをまとめませんか open-file = ファイルを開く on2 = オン From 382c11cfbdf888059798df23edb355770ada07fd Mon Sep 17 00:00:00 2001 From: Mihir Kumar Jha Date: Tue, 11 Jul 2023 22:41:30 +0530 Subject: [PATCH 2/7] made changes in po directory and translated few words --- localization.ini | 2 +- po/bn.po | 4 ++-- po/el.po | 4 ++-- po/es.po | 14 +++++++------- po/it.po | 4 ++-- po/ja.po | 32 ++++++++++++++++---------------- po/mi.po | 4 ++-- po/mr.po | 4 ++-- po/nl.po | 4 ++-- po/pl.po | 4 ++-- po/sv.po | 4 ++-- po/sw.po | 4 ++-- po/th.po | 4 ++-- 13 files changed, 44 insertions(+), 44 deletions(-) diff --git a/localization.ini b/localization.ini index 70f9e40a43..ace0620da1 100644 --- a/localization.ini +++ b/localization.ini @@ -3492,7 +3492,7 @@ show = mostrar avatar = avatar sample = muestra de audio Grid = Cuadrícula -Clean = LimpiaCa +Clean = Limpiar Collapse = Contraer Expand = Expandir Refresh-your-browser-to-change-your-language-preference = Actualice su navegador para cambiar su preferencia de idioma. diff --git a/po/bn.po b/po/bn.po index 0619beef66..eeff51b4a8 100644 --- a/po/bn.po +++ b/po/bn.po @@ -2379,7 +2379,7 @@ msgstr "" #: js/turtles.js:848 msgid "Grid" -msgstr "" +msgstr "ঝাঁজরি " #: js/turtles.js:866 #: js/turtledefs.js:603 @@ -2536,7 +2536,7 @@ msgstr "" #: js/palette.js:569 msgid "grid" -msgstr "" +msgstr "ঝাঁজরি " #: js/palette.js:575 #: js/block.js:1540 diff --git a/po/el.po b/po/el.po index 190842dcc8..b5f8c46544 100644 --- a/po/el.po +++ b/po/el.po @@ -2379,7 +2379,7 @@ msgstr "" #: js/turtles.js:848 msgid "Grid" -msgstr "" +msgstr "Πλέγμα" #: js/turtles.js:866 #: js/turtledefs.js:603 @@ -2536,7 +2536,7 @@ msgstr "" #: js/palette.js:569 msgid "grid" -msgstr "" +msgstr "Πλέγμα" #: js/palette.js:575 #: js/block.js:1540 diff --git a/po/es.po b/po/es.po index dac3921016..2e187d53d7 100644 --- a/po/es.po +++ b/po/es.po @@ -1154,7 +1154,7 @@ msgstr "arriba" #: js/block.js:3467 #: js/ExtrasBlocks.js:409 msgid "Cartesian" -msgstr "Cartesian" +msgstr "Cartesiano" #: js/block.js:3455 #: js/block.js:3468 @@ -1166,7 +1166,7 @@ msgstr "polar" #: js/block.js:3469 #: js/ExtrasBlocks.js:417 msgid "Cartesian+polar" -msgstr "Cartesian+polar" +msgstr "Cartesiano+polar" #: js/block.js:3457 #: js/block.js:3476 @@ -1177,7 +1177,7 @@ msgstr "ninguno" #: js/block.js:3470 #: js/ExtrasBlocks.js:422 msgid "treble" -msgstr "treble" +msgstr "agudos" #: js/block.js:3471 #: js/ExtrasBlocks.js:426 @@ -1463,7 +1463,7 @@ msgstr "Haga clic para mostrar las paletas de bloques y bloques de arrastre de l #: js/turtledefs.js:597 msgid "Cartesian/Polar" -msgstr "Cartesian/Polar" +msgstr "Cartesiano/Polar" #: js/turtledefs.js:598 msgid "Show or hide a coordinate grid." @@ -1723,7 +1723,7 @@ msgstr "los plugins se eliminarán al reiniciar." #: js/activity.js:1215 msgid "show Cartesian" -msgstr "Mostrar Cartesian" +msgstr "Mostrar Cartesiano" #: js/activity.js:1647 msgid "output tools" @@ -7873,7 +7873,7 @@ msgstr "Grabe su proyecto como video." #: js/activity.js:1618 #~msgid "show treble" -#~msgstr "Mostrar treble" +#~msgstr "Mostrar agudos" #: js/activity.js:1621 @@ -7915,7 +7915,7 @@ msgstr "Grabe su proyecto como video." #: js/activity.js:1668 #~msgid "hide Cartesian" -#~msgstr "Ocultar Cartesian" +#~msgstr "Ocultar Cartesiano" #: js/notation.js:296 diff --git a/po/it.po b/po/it.po index 14a23c718f..4459715051 100644 --- a/po/it.po +++ b/po/it.po @@ -2379,7 +2379,7 @@ msgstr "" #: js/turtles.js:848 msgid "Grid" -msgstr "" +msgstr "Griglia" #: js/turtles.js:866 #: js/turtledefs.js:603 @@ -2536,7 +2536,7 @@ msgstr "" #: js/palette.js:569 msgid "grid" -msgstr "" +msgstr "Griglia" #: js/palette.js:575 #: js/block.js:1540 diff --git a/po/ja.po b/po/ja.po index 54e88c53f6..24281ef9a4 100644 --- a/po/ja.po +++ b/po/ja.po @@ -274,7 +274,7 @@ msgstr "音色サンプル" #: js/turtles.js:848 msgid "Grid" -msgstr "" +msgstr " グリッド" #: js/turtles.js:866 #: js/turtledefs.js:603 @@ -1736,65 +1736,65 @@ msgstr "ほうがん(ざひょう)を表示" #: js/activity.js:1647 msgid "output tools" -msgstr "" +msgstr "出力ツール" #: js/activity.js:1650 msgid "custom note" -msgstr "" +msgstr "カスタムノート" #: js/activity.js:1653 msgid "accidental name" -msgstr "" +msgstr "偶然の名前" #: js/activity.js:1656 #: js/PitchBlocks.js:843 msgid "east indian solfege" -msgstr "" +msgstr "東インドのソルフェージュ" #: js/activity.js:1659 #: js/PitchBlocks.js:857 msgid "note name" -msgstr "" +msgstr "音名" #: js/activity.js:1662 #: js/IntervalsBlocks.js:67 msgid "temperament name" -msgstr "" +msgstr "気質名" #: js/activity.js:1668 -msgid "chord name" +msgid ""chord name msgstr "" #: js/activity.js:1674 msgid "filter type" -msgstr "" +msgstr "フィルターの種類" #: js/activity.js:1677 msgid "oscillator type" -msgstr "" +msgstr "発振器の種類" #: js/activity.js:1683 #: js/DrumBlocks.js:24 msgid "noise name" -msgstr "" +msgstr "ノイズ名" #: js/activity.js:1686 #: js/DrumBlocks.js:38 msgid "drum name" -msgstr "" +msgstr "ドラム名" #: js/activity.js:1689 #: js/DrumBlocks.js:53 msgid "effects name" -msgstr "" +msgstr "エフェクト名" #: js/activity.js:1692 msgid "wrap mode" -msgstr "" +msgstr "ラップモード" #: js/activity.js:1695 msgid "load file" -msgstr "" +msgstr "ロード ファイル " #: js/activity.js:1861 msgid "This block is deprecated." @@ -5722,7 +5722,7 @@ msgstr "グリッドを表示" #: js/ExtrasBlocks.js:385 msgid "The Display Grid Block changes the grid type" -msgstr "" +msgstr "表示グリッド ブロックのグリッド タイプの変更" #: js/ExtrasBlocks.js:465 #: js/ExtrasBlocks.js:475 diff --git a/po/mi.po b/po/mi.po index 10c3096fd2..f76da68fd8 100644 --- a/po/mi.po +++ b/po/mi.po @@ -2379,7 +2379,7 @@ msgstr "" #: js/turtles.js:848 msgid "Grid" -msgstr "" +msgstr "Mātiti" #: js/turtles.js:866 #: js/turtledefs.js:603 @@ -2536,7 +2536,7 @@ msgstr "" #: js/palette.js:569 msgid "grid" -msgstr "" +msgstr "mātiti" #: js/palette.js:575 #: js/block.js:1540 diff --git a/po/mr.po b/po/mr.po index 660ad61ade..6ccba95224 100644 --- a/po/mr.po +++ b/po/mr.po @@ -2379,7 +2379,7 @@ msgstr "" #: js/turtles.js:848 msgid "Grid" -msgstr "" +msgstr "जाल" #: js/turtles.js:866 #: js/turtledefs.js:603 @@ -2536,7 +2536,7 @@ msgstr "" #: js/palette.js:569 msgid "grid" -msgstr "" +msgstr "जाल" #: js/palette.js:575 #: js/block.js:1540 diff --git a/po/nl.po b/po/nl.po index aafc9b43de..ef853fb370 100644 --- a/po/nl.po +++ b/po/nl.po @@ -2377,7 +2377,7 @@ msgstr "" #: js/turtles.js:848 msgid "Grid" -msgstr "" +msgstr "Rooster " #: js/turtles.js:866 #: js/turtledefs.js:603 @@ -2534,7 +2534,7 @@ msgstr "" #: js/palette.js:569 msgid "grid" -msgstr "" +msgstr "Rooster " #: js/palette.js:575 #: js/block.js:1540 diff --git a/po/pl.po b/po/pl.po index 6af4107dd8..4d1d399a7a 100644 --- a/po/pl.po +++ b/po/pl.po @@ -2380,7 +2380,7 @@ msgstr "" #: js/turtles.js:848 msgid "Grid" -msgstr "" +msgstr "siatka" #: js/turtles.js:866 #: js/turtledefs.js:603 @@ -2537,7 +2537,7 @@ msgstr "" #: js/palette.js:569 msgid "grid" -msgstr "" +msgstr "siatka" #: js/palette.js:575 #: js/block.js:1540 diff --git a/po/sv.po b/po/sv.po index 25557b3ed3..06643a173f 100644 --- a/po/sv.po +++ b/po/sv.po @@ -2379,7 +2379,7 @@ msgstr "" #: js/turtles.js:848 msgid "Grid" -msgstr "" +msgstr "Rutnät" #: js/turtles.js:866 #: js/turtledefs.js:603 @@ -2536,7 +2536,7 @@ msgstr "" #: js/palette.js:569 msgid "grid" -msgstr "" +msgstr "Rutnät" #: js/palette.js:575 #: js/block.js:1540 diff --git a/po/sw.po b/po/sw.po index b0043b25f8..0ffae2ef3a 100644 --- a/po/sw.po +++ b/po/sw.po @@ -2379,7 +2379,7 @@ msgstr "" #: js/turtles.js:848 msgid "Grid" -msgstr "" +msgstr " Gridi" #: js/turtles.js:866 #: js/turtledefs.js:603 @@ -2536,7 +2536,7 @@ msgstr "" #: js/palette.js:569 msgid "grid" -msgstr "" +msgstr " Gridi" #: js/palette.js:575 #: js/block.js:1540 diff --git a/po/th.po b/po/th.po index 3161f9c0ae..a5fbde4eb3 100644 --- a/po/th.po +++ b/po/th.po @@ -2379,7 +2379,7 @@ msgstr "" #: js/turtles.js:848 msgid "Grid" -msgstr "" +msgstr "กริด" #: js/turtles.js:866 #: js/turtledefs.js:603 @@ -2536,7 +2536,7 @@ msgstr "" #: js/palette.js:569 msgid "grid" -msgstr "" +msgstr "กริด" #: js/palette.js:575 #: js/block.js:1540 From aa86087e04fce34853ff4180ee9aae4b8944f62f Mon Sep 17 00:00:00 2001 From: Mihir Kumar Jha Date: Wed, 12 Jul 2023 23:50:04 +0530 Subject: [PATCH 3/7] made changes in mr.po --- js/blocks/ExtrasBlocks.js | 2 + po/mr.po | 110 +++++++++++++++++++------------------- 2 files changed, 57 insertions(+), 55 deletions(-) diff --git a/js/blocks/ExtrasBlocks.js b/js/blocks/ExtrasBlocks.js index fe1272d02e..0e2c3b9aa3 100644 --- a/js/blocks/ExtrasBlocks.js +++ b/js/blocks/ExtrasBlocks.js @@ -312,6 +312,8 @@ function setupExtrasBlocks(activity) { }); } + + flow(args, logo, turtle, blk) { const cblk = activity.blocks.blockList[blk].connections[1]; if (logo.inOscilloscope && cblk !== null) { diff --git a/po/mr.po b/po/mr.po index 6ccba95224..a32744bfb6 100644 --- a/po/mr.po +++ b/po/mr.po @@ -2229,7 +2229,7 @@ msgstr "पेटी" #: js/blocks.js:1680 msgid "Consider breaking this stack into parts." -msgstr "" +msgstr "इस ढेर को भागों में तोड़ने पर विचार करें" #: js/blocks.js:2408 #: js/palette.js:651 @@ -2241,7 +2241,7 @@ msgstr "फाइल उघडा" #: js/blocks.js:2423 #: js/activity.js:1680 msgid "audio file" -msgstr "" +msgstr "ऑडियो फाइल" #: js/blocks.js:2536 #: js/blocks.js:3147 @@ -2253,7 +2253,7 @@ msgstr "" #: js/blocks.js:3149 #: js/block.js:3522 msgid "off" -msgstr "" +msgstr "बंद" #: js/blocks.js:2543 #: js/blocks.js:3154 @@ -2269,7 +2269,7 @@ msgstr "" #: js/BooleanBlocks.js:343 #: js/SensorsBlocks.js:581 msgid "true" -msgstr "" +msgstr "सत्य" #: js/blocks.js:2545 #: js/blocks.js:3156 @@ -2283,7 +2283,7 @@ msgstr "" #: js/BooleanBlocks.js:302 #: js/SensorsBlocks.js:583 msgid "false" -msgstr "" +msgstr "असत्य" #: js/blocks.js:3183 #: js/palette.js:572 @@ -2297,7 +2297,7 @@ msgstr "मजकूर" #: js/palette.js:640 #: js/BoxesBlocks.js:273 msgid "store in box" -msgstr "" +msgstr "बॉक्स में स्टोर करें" #: js/blocks.js:3384 #: js/blocks.js:3824 @@ -2307,7 +2307,7 @@ msgstr "" #: js/blocks.js:5794 #: js/BoxesBlocks.js:376 msgid "box1" -msgstr "" +msgstr "बॉक्स 1" #: js/blocks.js:3386 #: js/blocks.js:3826 @@ -2317,7 +2317,7 @@ msgstr "" #: js/blocks.js:5796 #: js/BoxesBlocks.js:331 msgid "box2" -msgstr "" +msgstr "बॉक्स 2" #: js/blocks.js:4058 #: js/palette.js:637 @@ -2357,7 +2357,7 @@ msgstr "मूल्य" #: js/blocks.js:4907 msgid "There is no block selected." -msgstr "" +msgstr "कोई ब्लॉक चयनित नहीं है" #: js/blocks.js:5002 #: js/MediaBlocks.js:539 @@ -2368,14 +2368,14 @@ msgstr "दाखवा" #: js/MediaBlocks.js:478 #.TRANS: Avatar is the image used to determine the appearance of the mouse. msgid "avatar" -msgstr "" +msgstr "अवतार" #: js/blocks.js:5008 #: js/ToneBlocks.js:709 #: js/sampler.js:693 #.TRANS: The sound sample that the user uploads. msgid "sample" -msgstr "" +msgstr "नमूना" #: js/turtles.js:848 msgid "Grid" @@ -2389,15 +2389,15 @@ msgstr "स्वच्छ" #: js/turtles.js:887 #: js/turtledefs.js:609 msgid "Collapse" -msgstr "" +msgstr "गिर जाना" #: js/turtles.js:915 msgid "Expand" -msgstr "" +msgstr "बढ़ाना" #: js/languagebox.js:188 msgid "Refresh your browser to change your language preference." -msgstr "" +msgstr "अपनी भाषा बदलने के लिए अपने ब्राउज़र को रीफ़्रेश करें" #: js/piemenus.js:175 #: js/musicutils.js:809 @@ -2407,7 +2407,7 @@ msgstr "" #: js/sampler.js:544 #.TRANS: double sharp is a music term related to pitch msgid "double sharp" -msgstr "" +msgstr "दोगुना तेज़" #: js/piemenus.js:176 #: js/PitchBlocks.js:1498 @@ -2493,25 +2493,25 @@ msgstr "" #: js/musicutils.js:664 #.TRANS: modal scale for music msgid "aeolian" -msgstr "" +msgstr "वातज" #: js/piemenus.js:3382 msgid "Duplicate" -msgstr "" +msgstr "डुप्लिकेट" #: js/piemenus.js:3383 msgid "Extract" -msgstr "" +msgstr "निकालना" #: js/piemenus.js:3384 msgid "Move to trash" -msgstr "" +msgstr "कचरे में ले जाएं" #: js/piemenus.js:3385 #: js/timbre.js:968 #: js/StringHelper.js:69 msgid "Close" -msgstr "" +msgstr "बंद करना" #: js/piemenus.js:3391 msgid "Save stack" @@ -2528,11 +2528,11 @@ msgstr "मदत" #: js/piemenus.js:3737 msgid "You have chosen key " -msgstr "" +msgstr "आपने कुंजी चुन ली है" #: js/piemenus.js:3741 msgid " for your pitch preview." -msgstr "" +msgstr "आपके पिच पूर्वावलोकन के लिए" #: js/palette.js:569 msgid "grid" @@ -2551,15 +2551,15 @@ msgstr "जाल" #: js/VolumeBlocks.js:348 #: js/phrasemaker.js:788 msgid "drum" -msgstr "" +msgstr "ड्रम" #: js/palette.js:578 msgid "effect" -msgstr "" +msgstr "प्रभाव" #: js/palette.js:584 msgid "sargam" -msgstr "" +msgstr "सरगम" #: js/palette.js:587 #: js/activity.js:1638 @@ -2568,27 +2568,27 @@ msgstr "" #: js/PitchBlocks.js:1736 #.TRANS: a numeric mapping of the notes in an octave based on the musical mode msgid "scale degree" -msgstr "" +msgstr "पैमाने की डिग्री" #: js/palette.js:590 #: js/activity.js:1665 msgid "mode name" -msgstr "" +msgstr "मोड का नाम" #: js/palette.js:593 #: js/activity.js:1644 msgid "invert mode" -msgstr "" +msgstr "उलटा मोड" #: js/palette.js:596 #: js/activity.js:1641 msgid "voice name" -msgstr "" +msgstr "आवाज का नाम" #: js/palette.js:599 #: js/PitchBlocks.js:1169 msgid "custom pitch" -msgstr "" +msgstr "कस्टम पिच" #: js/palette.js:603 #: js/block.js:1456 @@ -2596,21 +2596,21 @@ msgstr "" #: js/WidgetBlocks.js:218 #: js/IntervalsBlocks.js:50 msgid "temperament" -msgstr "" +msgstr "स्वभाव" #: js/palette.js:607 msgid "accidental" -msgstr "" +msgstr "accidental" #: js/palette.js:613 #: js/activity.js:1671 msgid "interval name" -msgstr "" +msgstr "अंतराल नाम" #: js/palette.js:631 #: js/PitchBlocks.js:405 msgid "pitch converter" -msgstr "" +msgstr "पिच कनवर्टर" #: js/rubrics.js:522 #: js/turtledefs.js:120 @@ -2625,7 +2625,7 @@ msgstr "" #: js/rhythmruler.js:1827 #.TRANS: an arrangement of notes based on duration msgid "rhythm" -msgstr "" +msgstr "लय" #: js/rubrics.js:523 #: js/block.js:2339 @@ -2640,13 +2640,13 @@ msgstr "" #.TRANS: pitch number #.TRANS: we specify pitch in terms of a name and an octave. The name can be CDEFGAB or Do Re Mi Fa Sol La Ti. Octave is a number between 1 and 8. msgid "pitch" -msgstr "" +msgstr "आवाज़ का उतार-चढ़ाव" #: js/rubrics.js:524 #: js/turtledefs.js:124 #: js/turtledefs.js:226 msgid "tone" -msgstr "" +msgstr "सुर" #: js/rubrics.js:525 #: js/lilypond.js:613 @@ -2654,7 +2654,7 @@ msgstr "" #: js/lilypond.js:918 #: js/lilypond.js:956 msgid "mouse" -msgstr "" +msgstr "चूहा" #: js/rubrics.js:526 #: js/turtledefs.js:133 @@ -2693,19 +2693,19 @@ msgstr "मीडिया" #: js/rubrics.js:532 msgid "mice" -msgstr "" +msgstr "चूहे" #: js/macros.js:711 #: js/musicutils.js:784 #: js/synthutils.js:181 #.TRANS: animal sound effect msgid "duck" -msgstr "" +msgstr "बत्तख" #: js/toolbar.js:45 #: js/toolbar.js:102 msgid "About Music Blocks" -msgstr "" +msgstr "संगीत ब्लॉक के बारे में" #: js/toolbar.js:46 #: js/toolbar.js:103 @@ -2770,7 +2770,7 @@ msgstr "" #: js/arpeggio.js:644 #: js/arpeggio.js:646 msgid "Play" -msgstr "" +msgstr "चलायें" #: js/toolbar.js:47 #: js/toolbar.js:104 @@ -2799,7 +2799,7 @@ msgstr "थांबवा" #: js/toolbar.js:143 #: js/toolbar.js:195 msgid "Full Screen" -msgstr "" +msgstr "पूर्ण स्क्रीन" #: js/toolbar.js:49 #: js/toolbar.js:106 @@ -2808,7 +2808,7 @@ msgstr "" #: js/turtledefs.js:505 #: js/StringHelper.js:33 msgid "New project" -msgstr "" +msgstr "नया काम" #: js/toolbar.js:50 #: js/toolbar.js:107 @@ -2840,35 +2840,35 @@ msgstr "प्रकल्प जतन करा" #: js/toolbar.js:217 #: js/toolbar.js:219 msgid "Save project as HTML" -msgstr "" +msgstr "प्रोजेक्ट को HTML के रूप में सहेजें" #: js/toolbar.js:53 #: js/toolbar.js:110 #: js/toolbar.js:148 #: js/toolbar.js:200 msgid "Find and share projects" -msgstr "" +msgstr "प्रोजेक्ट ढूंढें और साझा करें" #: js/toolbar.js:54 #: js/toolbar.js:111 #: js/toolbar.js:149 #: js/toolbar.js:201 msgid "Offline. Sharing is unavailable" -msgstr "" +msgstr "ऑफ़लाइन. साझा करना अनुपलब्ध है" #: js/toolbar.js:55 #: js/toolbar.js:112 #: js/toolbar.js:150 #: js/toolbar.js:202 msgid "Auxiliary menu" -msgstr "" +msgstr "सहायक मेनू" #: js/toolbar.js:57 #: js/toolbar.js:114 #: js/toolbar.js:152 #: js/toolbar.js:204 msgid "Run slowly" -msgstr "" +msgstr "धीरे-धीरे दौड़ें" #: js/toolbar.js:58 #: js/toolbar.js:115 @@ -2876,7 +2876,7 @@ msgstr "" #: js/toolbar.js:205 #: js/turtledefs.js:659 msgid "Run step by step" -msgstr "" +msgstr "चरण दर चरण चलाएँ" #: js/toolbar.js:59 #: js/toolbar.js:116 @@ -2891,7 +2891,7 @@ msgstr "आकडेवारी दाखवणे" #: js/toolbar.js:155 #: js/toolbar.js:207 msgid "Load plugin" -msgstr "" +msgstr "प्लगइन लोड करें" #: js/toolbar.js:61 #: js/toolbar.js:118 @@ -2899,21 +2899,21 @@ msgstr "" #: js/toolbar.js:208 #: js/turtledefs.js:673 msgid "Delete plugin" -msgstr "" +msgstr "प्लगइन हटाएँ" #: js/toolbar.js:62 #: js/toolbar.js:119 #: js/toolbar.js:157 #: js/toolbar.js:209 msgid "Enable horizontal scrolling" -msgstr "" +msgstr "क्षैतिज स्क्रॉलिंग सक्षम करें" #: js/toolbar.js:63 #: js/toolbar.js:120 #: js/toolbar.js:158 #: js/toolbar.js:210 msgid "Disable horizontal scrolling" -msgstr "" +msgstr "क्षैतिज स्क्रॉलिंग अक्षम करें" #: js/toolbar.js:64 #: js/toolbar.js:121 @@ -2923,7 +2923,7 @@ msgstr "" #: js/LocalCard.js:54 #: js/StringHelper.js:71 msgid "Merge with current project" -msgstr "" +msgstr "वर्तमान प्रोजेक्ट के साथ विलय करें" #: js/toolbar.js:65 #: js/toolbar.js:122 From c99f11c7ca17a2fb7d4874f6239568a274f92566 Mon Sep 17 00:00:00 2001 From: Shishir <90249481+shishirkj@users.noreply.github.com> Date: Wed, 12 Jul 2023 23:59:00 +0530 Subject: [PATCH 4/7] Update ExtrasBlocks.js ignore this one --- js/blocks/ExtrasBlocks.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/js/blocks/ExtrasBlocks.js b/js/blocks/ExtrasBlocks.js index 0e2c3b9aa3..fe1272d02e 100644 --- a/js/blocks/ExtrasBlocks.js +++ b/js/blocks/ExtrasBlocks.js @@ -312,8 +312,6 @@ function setupExtrasBlocks(activity) { }); } - - flow(args, logo, turtle, blk) { const cblk = activity.blocks.blockList[blk].connections[1]; if (logo.inOscilloscope && cblk !== null) { From 69916d5d1f266cc3e76f4bd202ae831816f882d1 Mon Sep 17 00:00:00 2001 From: Shishir <90249481+shishirkj@users.noreply.github.com> Date: Thu, 20 Jul 2023 18:14:33 +0530 Subject: [PATCH 5/7] Delete ExtrasBlocks.js --- js/blocks/ExtrasBlocks.js | 577 -------------------------------------- 1 file changed, 577 deletions(-) delete mode 100644 js/blocks/ExtrasBlocks.js diff --git a/js/blocks/ExtrasBlocks.js b/js/blocks/ExtrasBlocks.js deleted file mode 100644 index fe1272d02e..0000000000 --- a/js/blocks/ExtrasBlocks.js +++ /dev/null @@ -1,577 +0,0 @@ -// Copyright (c) 2019 Bottersnike -// -// This program is free software; you can redistribute it and/or -// modify it under the terms of the The GNU Affero General Public -// License as published by the Free Software Foundation; either -// version 3 of the License, or (at your option) any later version. -// -// You should have received a copy of the GNU Affero General Public -// License along with this library; if not, write to the Free Software -// Foundation, 51 Franklin Street, Suite 500 Boston, MA 02110-1335 USA - -/* - global - - _, last, FlowBlock, ValueBlock, LeftBlock, NOINPUTERRORMSG, - NANERRORMSG, mixedNumber, TONEBPM, DEFAULTDELAY, Singer, - StackClampBlock, platformColor -*/ - -/* exported setupExtrasBlocks */ - -function setupExtrasBlocks(activity) { - class FloatToStringBlock extends LeftBlock { - constructor() { - super("float2string", _("fraction")); - this.setPalette("extras", activity); - this.setHelpString([ - _("Convert a float to a fraction") + " 0.5 -> 1/2", - "documentation", - null, - "float2string" - ]); - this.parameter = true; - - this.formBlock({ - args: 1, - argTypes: ["anyin"] - }); - } - - arg(logo, turtle, blk, receivedArg) { - const cblk = activity.blocks.blockList[blk].connections[1]; - if (cblk === null) { - activity.errorMsg(NOINPUTERRORMSG, blk); - return "0/1"; - } else { - let a = logo.parseArg(logo, turtle, cblk, blk, receivedArg); - if (typeof a === "number") { - if (a < 0) { - a = a * -1; - return "-" + mixedNumber(a); - } - return mixedNumber(a); - } - activity.errorMsg(NANERRORMSG, blk); - return "0/1"; - } - } - } - - class SaveABCBlock extends FlowBlock { - constructor() { - super("saveabc"); - this.setPalette("extras", activity); - this.setHelpString(); - - this.formBlock({ - name: _("save as ABC"), - args: 1, - argTypes: ["textin"], - defaults: [_("title") + ".abc"] - }); - this.hidden = true; - this.deprecated = true; - } - - flow(args) { - if (args.length === 1) { - activity.save.afterSaveAbc(args[0]); - } - } - } - - class SaveLilypondBlock extends FlowBlock { - constructor() { - super("savelilypond"); - this.setPalette("extras", activity); - this.setHelpString(); - - this.formBlock({ - name: _("save as Lilypond"), - args: 1, - argTypes: ["textin"], - defaults: [_("title") + ".ly"] - }); - this.hidden = true; - this.deprecated = true; - } - - flow(args) { - if (args.length === 1) { - activity.save.afterSaveLilypond(args[0]); - } - } - } - - class SaveSVGBlock extends FlowBlock { - constructor() { - super("savesvg"); - this.setPalette("extras", activity); - this.setHelpString(); - - this.formBlock({ - name: _("save as SVG"), - args: 1, - argTypes: ["textin"], - defaults: [_("title") + ".svg"] - }); - this.hidden = true; - this.deprecated = true; - } - - flow(args, logo, turtle, blk) { - if (args[0] === null) { - activity.errorMsg(NOINPUTERRORMSG, blk); - return; - } - - if (args.length === 1) { - if (logo.svgBackground) { - logo.svgOutput = - ' ' + - logo.svgOutput; - } - - activity.save.saveSVG(args[0]); - } - } - } - - class NoBackgroundBlock extends FlowBlock { - constructor() { - super("nobackground", _("no background")); - this.setPalette("extras", activity); - this.setHelpString([ - _("The No background block eliminates the background from the saved SVG output."), - "documentation", - "", - "makehelp" - ]); - } - - flow(args, logo) { - logo.svgBackground = false; - } - } - - class ShowBlocksBlock extends FlowBlock { - constructor() { - super("showblocks", _("show blocks")); - this.setPalette("extras", activity); - this.setHelpString([_("The Show blocks block shows the blocks."), "documentation", ""]); - } - - flow(args, logo) { - activity.blocks.showBlocks(); - logo.turtleDelay = DEFAULTDELAY; - } - } - - class HideBlocksBlock extends FlowBlock { - constructor() { - super("hideblocks", _("hide blocks")); - this.setPalette("extras", activity); - this.setHelpString([_("The Hide blocks block hides the blocks."), "documentation", ""]); - } - - flow(args, logo) { - activity.blocks.hideBlocks(); - logo.showBlocksAfterRun = false; - logo.turtleDelay = 0; - } - } - - class VSpaceBlock extends FlowBlock { - constructor() { - super("vspace", "↓"); - this.setPalette("extras", activity); - this.setHelpString([ - _("The Space block is used to add space between blocks."), - "documentation", - "" - ]); - - this.extraWidth = -10; - } - - flow() { - // - } - } - - class HSpaceBlock extends LeftBlock { - constructor() { - super("hspace", "←"); - this.setPalette("extras", activity); - this.setHelpString([ - _("The Space block is used to add space between blocks."), - "documentation", - "" - ]); - - this.extraWidth = -10; - this.formBlock({ - args: 1, - argTypes: ["anyin"], - outType: "anyout" - }); - } - - arg(logo, turtle, blk, receivedArg) { - const cblk = activity.blocks.blockList[blk].connections[1]; - return logo.parseArg(logo, turtle, cblk, blk, receivedArg); - } - } - - class WaitBlock extends FlowBlock { - constructor() { - super("wait", _("wait")); - this.setPalette("extras", activity); - this.setHelpString([ - _("The Wait block pauses the program for a specified number of seconds."), - "documentation", - "" - ]); - - this.formBlock({ - args: 1, - defaults: [1] - }); - } - - flow(args, logo, turtle) { - const tur = activity.turtles.ithTurtle(turtle); - - if (args.length === 1) { - const bpmFactor = - TONEBPM / tur.singer.bpm.length > 0 ? last(tur.singer.bpm) : Singer.masterBPM; - - const noteBeatValue = bpmFactor / (1 / args[0]); - tur.singer.previousTurtleTime = tur.singer.turtleTime; - tur.singer.turtleTime += noteBeatValue; - tur.doWait(args[0]); - } - } - } - - class CommentBlock extends FlowBlock { - constructor() { - super("comment"); - this.setPalette("extras", activity); - this.setHelpString([ - _("The Comment block prints a comment at the top of the screen when the program is running in slow mode."), - "documentation", - "" - ]); - - this.formBlock({ - name: _("comment"), - args: 1, - defaults: ["Music Blocks"], - argTypes: ["anyin"] - }); - } - - flow(args, logo, turtle) { - if (args[0] !== null) { - if ( - !activity.turtles.ithTurtle(turtle).singer.suppressOutput && - logo.turtleDelay > 0 - ) { - activity.textMsg(args[0].toString()); - } - } - } - } - - class PrintBlock extends FlowBlock { - constructor() { - super("print", _("print")); - if (activity.beginnerMode) this.setPalette("media", activity); - else this.setPalette("extras", activity); - - this.beginnerBlock(true); - - this.setHelpString([ - _("The Print block displays text at the top of the screen."), - "documentation", - "" - ]); - - this.formBlock({ - args: 1, - defaults: ["Music Blocks"], - argTypes: ["anyin"] - }); - } - - flow(args, logo, turtle, blk) { - const cblk = activity.blocks.blockList[blk].connections[1]; - if (logo.inOscilloscope && cblk !== null) { - const name = activity.blocks.blockList[cblk].value; - let turtle = -1; - for (let i = 0; i < activity.turtles.turtleList.length; i++) { - if (!activity.turtles.turtleList[i].inTrash) { - const turtleName = activity.turtles.turtleList[i].name; - if (turtleName === name) turtle = i; - } - } - if ( - turtle > -1 && - logo.oscilloscopeTurtles.indexOf(activity.turtles.turtleList[turtle]) < 0 - ) - logo.oscilloscopeTurtles.push(activity.turtles.turtleList[turtle]); - } else if (!logo.inStatusMatrix) { - if (args.length === 1) { - if (args[0] !== null) { - const tur = activity.turtles.ithTurtle(turtle); - - if (!tur.singer.suppressOutput) { - if (activity.blocks.blockList[cblk].name === "grid") { - // eslint-disable-next-line no-use-before-define - const temp = new DisplayGridBlock(); - temp.flow(args, logo, turtle, blk); - } else { - const tur = activity.turtles.ithTurtle(turtle); - if (tur.singer.inNoteBlock.length > 0) { - tur.singer.embeddedGraphics[ - last(tur.singer.inNoteBlock) - ].push(blk); - } else { - activity.textMsg(args[0].toString()); - } - } - } else if (logo.runningLilypond) { - if (tur.singer.inNoteBlock.length > 0) { - logo.notation.notationMarkup(turtle, args[0].toString()); - } - } - } - } - } - } - } - - class DrumBlock extends StackClampBlock { - constructor() { - super("drum"); - this.setPalette("extras", activity); - this.setHelpString(); - - this.formBlock({ name: _("start drum"), canCollapse: true }); - this.hidden = this.deprecated = true; - } - - flow(args) { - if (args.length === 1) return [args[0], 1]; - } - } - - // DEPRECATED grid: now used with print block. - class DisplayGridBlock extends FlowBlock { - constructor() { - super("displaygrid", _("display grid")); - this.setPalette("extras", activity); - this.beginnerBlock(true); - - this.setHelpString([ - _("The Display Grid Block changes the grid type"), - "documentation", - null - ]); - - this.formBlock({ - args: 1, - defaults: ["Cartesian"], - argTypes: ["gridin"] - }); - this.makeMacro((x, y) => [ - [0, "displaygrid", x, y, [null, 1, null]], - [1, ["grid", { value: "Cartesian" }], 0, 0, [0]] - ]); - this.hidden = this.deprecated = true; - } - - flow(args) { - if (!args || !args[0]) { - args = ["Cartesian"]; - } - const act = activity.blocks.activity; - activity.hideGrids(); - switch (args[0]) { - case _("Cartesian"): - case "Cartesian": - act._showCartesian(); - break; - case _("polar"): - case "polar": - act._showPolar(); - break; - case _("Cartesian+polar"): - case "Cartesian+polar": - act._showPolar(); - act._showCartesian(); - break; - case _("treble"): - case "treble": - act._showTreble(); - break; - case _("grand staff"): - case "grand staff": - act._showGrand(); - break; - case _("mezzo-soprano"): - case "mezzo-soprano": - act._showSoprano(); - break; - case _("alto"): - case "alto": - act._showAlto(); - break; - case _("tenor"): - case "tenor": - act._showTenor(); - break; - case _("bass"): - case "bass": - act._showBass(); - break; - case _("none"): - case "none": - break; - } - } - } - - class GridBlock extends ValueBlock { - constructor() { - super("grid"); - this.setPalette("extras", activity); - this.setHelpString(); - this.formBlock({ outType: "gridout" }); - } - } - - // NOP blocks (used as placeholders when loaded blocks not found) - class NOPValueBlock extends ValueBlock { - constructor() { - super("nopValueBlock", _("unknown")); - this.setPalette("extras", activity); - this.setHelpString(); - this.formBlock({ outType: "anyout" }); - this.hidden = true; - } - } - - class NOPOneArgMathBlock extends LeftBlock { - constructor() { - super("nopOneArgMathBlock", _("unknown")); - this.setPalette("extras", activity); - this.setHelpString(); - this.formBlock({ - args: 1, - argTypes: ["anyin"], - outType: "anyout" - }); - this.hidden = true; - } - } - - class NOPTwoArgMathBlock extends LeftBlock { - constructor() { - super("nopOneArgMathBlock", _("unknown")); - this.setPalette("extras", activity); - this.setHelpString(); - this.formBlock({ - args: 2, - argTypes: ["anyin", "anyin"], - outType: "anyout" - }); - this.hidden = true; - } - } - - class NOPZeroArgBlock extends FlowBlock { - constructor() { - super("nopZeroArgBlock", _("unknown")); - this.setPalette("extras", activity); - this.setHelpString(); - this.hidden = true; - } - } - - class NOPOneArgBlock extends FlowBlock { - constructor() { - super("nopOneArgBlock", _("unknown")); - this.setPalette("extras", activity); - this.setHelpString(); - this.formBlock({ args: 1, argTypes: ["anyin"] }); - this.hidden = true; - } - } - - class NOPTwoArgBlock extends FlowBlock { - constructor() { - super("nopTwoArgBlock", _("unknown")); - this.setPalette("extras", activity); - this.setHelpString(); - this.formBlock({ args: 2, argTypes: ["anyin", "anyin"] }); - this.hidden = true; - } - } - - class NOPThreeArgBlock extends FlowBlock { - constructor() { - super("nopThreeArgBlock", _("unknown")); - this.setPalette("extras", activity); - this.setHelpString(); - this.formBlock({ args: 3, argTypes: ["anyin", "anyin", "anyin"] }); - this.hidden = true; - } - } - - class NOPFourArgBlock extends FlowBlock { - constructor() { - super("nopFourArgBlock", _("unknown")); - this.setPalette("extras", activity); - this.setHelpString(); - this.formBlock({ - args: 4, - argTypes: ["anyin", "anyin", "anyin", "anyin"] - }); - this.hidden = true; - } - } - - new SaveABCBlock().setup(activity); - new SaveLilypondBlock().setup(activity); - new SaveSVGBlock().setup(activity); - new NoBackgroundBlock().setup(activity); - new ShowBlocksBlock().setup(activity); - new HideBlocksBlock().setup(activity); - new FloatToStringBlock().setup(activity); - new DrumBlock().setup(activity); - new DisplayGridBlock().setup(activity); - new GridBlock().setup(activity); - new VSpaceBlock().setup(activity); - new HSpaceBlock().setup(activity); - new WaitBlock().setup(activity); - new CommentBlock().setup(activity); - new PrintBlock().setup(activity); - // NOP blocks - new NOPValueBlock().setup(activity); - new NOPOneArgMathBlock().setup(activity); - new NOPTwoArgMathBlock().setup(activity); - new NOPZeroArgBlock().setup(activity); - new NOPOneArgBlock().setup(activity); - new NOPTwoArgBlock().setup(activity); - new NOPThreeArgBlock().setup(activity); - new NOPFourArgBlock().setup(activity); -} From acca1cfdde90f1b82f65b52cb3de9eff0a563d78 Mon Sep 17 00:00:00 2001 From: Mihir Kumar Jha Date: Sat, 5 Aug 2023 22:25:55 +0530 Subject: [PATCH 6/7] minor changes made in po directories --- po/ja.po | 6 +++--- po/nl.po | 4 ++-- po/sw.po | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/po/ja.po b/po/ja.po index 24281ef9a4..08fb42320c 100644 --- a/po/ja.po +++ b/po/ja.po @@ -274,7 +274,7 @@ msgstr "音色サンプル" #: js/turtles.js:848 msgid "Grid" -msgstr " グリッド" +msgstr "グリッド" #: js/turtles.js:866 #: js/turtledefs.js:603 @@ -1762,8 +1762,8 @@ msgid "temperament name" msgstr "気質名" #: js/activity.js:1668 -msgid ""chord name -msgstr "" +msgid "chord name" +msgstr "chord name" #: js/activity.js:1674 msgid "filter type" diff --git a/po/nl.po b/po/nl.po index ef853fb370..628c86dfcc 100644 --- a/po/nl.po +++ b/po/nl.po @@ -2377,7 +2377,7 @@ msgstr "" #: js/turtles.js:848 msgid "Grid" -msgstr "Rooster " +msgstr "Rooster" #: js/turtles.js:866 #: js/turtledefs.js:603 @@ -2534,7 +2534,7 @@ msgstr "" #: js/palette.js:569 msgid "grid" -msgstr "Rooster " +msgstr "Rooster" #: js/palette.js:575 #: js/block.js:1540 diff --git a/po/sw.po b/po/sw.po index 0ffae2ef3a..9040fb674a 100644 --- a/po/sw.po +++ b/po/sw.po @@ -2379,7 +2379,7 @@ msgstr "" #: js/turtles.js:848 msgid "Grid" -msgstr " Gridi" +msgstr "Gridi" #: js/turtles.js:866 #: js/turtledefs.js:603 @@ -2536,7 +2536,7 @@ msgstr "" #: js/palette.js:569 msgid "grid" -msgstr " Gridi" +msgstr "Gridi" #: js/palette.js:575 #: js/block.js:1540 From 2941cc27b60b54e7db36ff17dc2ea5b88fe5ae77 Mon Sep 17 00:00:00 2001 From: Mihir Kumar Jha Date: Sat, 5 Aug 2023 22:42:25 +0530 Subject: [PATCH 7/7] few more minor changes --- po/bn.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/po/bn.po b/po/bn.po index eeff51b4a8..e5131c165b 100644 --- a/po/bn.po +++ b/po/bn.po @@ -2379,7 +2379,7 @@ msgstr "" #: js/turtles.js:848 msgid "Grid" -msgstr "ঝাঁজরি " +msgstr "ঝাঁজরি" #: js/turtles.js:866 #: js/turtledefs.js:603 @@ -2536,7 +2536,7 @@ msgstr "" #: js/palette.js:569 msgid "grid" -msgstr "ঝাঁজরি " +msgstr "ঝাঁজরি" #: js/palette.js:575 #: js/block.js:1540