diff --git a/blockly_compressed.js b/blockly_compressed.js index d3c4ae2f9..ad8c98e60 100644 --- a/blockly_compressed.js +++ b/blockly_compressed.js @@ -728,8 +728,8 @@ b.getAttribute("collapsed"))&&d.setCollapsed("true"==b);return d};Blockly.Xml.de Blockly.Workspace=function(a,b){this.getMetrics=a;this.setMetrics=b;this.isFlyout=!1;this.topBlocks_=[];this.maxBlocks=Infinity;Blockly.ConnectionDB.init(this)};Blockly.Workspace.SCAN_ANGLE=3;Blockly.Workspace.prototype.dragMode=!1;Blockly.Workspace.prototype.scrollX=0;Blockly.Workspace.prototype.scrollY=0;Blockly.Workspace.prototype.trashcan=null;Blockly.Workspace.prototype.fireChangeEventPid_=null;Blockly.Workspace.prototype.scrollbar=null; Blockly.Workspace.prototype.createDom=function(){this.svgGroup_=Blockly.createSvgElement("g",{},null);this.svgBlockCanvas_=Blockly.createSvgElement("g",{},this.svgGroup_);this.svgBubbleCanvas_=Blockly.createSvgElement("g",{},this.svgGroup_);this.fireChangeEvent();return this.svgGroup_}; Blockly.Workspace.prototype.dispose=function(){this.svgGroup_&&(goog.dom.removeNode(this.svgGroup_),this.svgGroup_=null);this.svgBubbleCanvas_=this.svgBlockCanvas_=null;this.trashcan&&(this.trashcan.dispose(),this.trashcan=null)};Blockly.Workspace.prototype.addTrashcan=function(){if(Blockly.hasTrashcan&&!Blockly.readOnly){this.trashcan=new Blockly.Trashcan(this);var a=this.trashcan.createDom();this.svgGroup_.insertBefore(a,this.svgBlockCanvas_);this.trashcan.init()}}; -Blockly.Workspace.prototype.getCanvas=function(){return this.svgBlockCanvas_};Blockly.Workspace.prototype.getBubbleCanvas=function(){return this.svgBubbleCanvas_};Blockly.Workspace.prototype.addTopBlock=function(a){this.topBlocks_.push(a);Blockly.isRealtimeEnabled()&&this==Blockly.mainWorkspace&&Blockly.Realtime.addTopBlock(a);this.fireChangeEvent()}; -Blockly.Workspace.prototype.removeTopBlock=function(a){for(var b=!1,c,d=0;c=this.topBlocks_[d];d++)if(c==a){this.topBlocks_.splice(d,1);b=!0;break}if(!b)throw"Block not present in workspace's list of top-most blocks.";Blockly.isRealtimeEnabled()&&this==Blockly.mainWorkspace&&Blockly.Realtime.removeTopBlock(a);this.fireChangeEvent()}; +Blockly.Workspace.prototype.getCanvas=function(){return this.svgBlockCanvas_};Blockly.Workspace.prototype.getBubbleCanvas=function(){return this.svgBubbleCanvas_};Blockly.Workspace.prototype.addTopBlock=function(a){this.topBlocks_.push(a);Blockly.Realtime.isEnabled()&&this==Blockly.mainWorkspace&&Blockly.Realtime.addTopBlock(a);this.fireChangeEvent()}; +Blockly.Workspace.prototype.removeTopBlock=function(a){for(var b=!1,c,d=0;c=this.topBlocks_[d];d++)if(c==a){this.topBlocks_.splice(d,1);b=!0;break}if(!b)throw"Block not present in workspace's list of top-most blocks.";Blockly.Realtime.isEnabled()&&this==Blockly.mainWorkspace&&Blockly.Realtime.removeTopBlock(a);this.fireChangeEvent()}; Blockly.Workspace.prototype.getTopBlocks=function(a){var b=[].concat(this.topBlocks_);if(a&&1} array Array of strings. + * @param {!Array.} array Array of strings. * @return {number} Length of shortest string. */ Blockly.shortestStringLength = function(array) { @@ -337,7 +337,7 @@ Blockly.shortestStringLength = function(array) { /** * Given an array of strings, return the length of the common prefix. * Words may not be split. Any space after a word is included in the length. - * @param {!Array} array Array of strings. + * @param {!Array.} array Array of strings. * @param {?number} opt_shortest Length of shortest string. * @return {number} Length of common prefix. */ @@ -372,7 +372,7 @@ Blockly.commonWordPrefix = function(array, opt_shortest) { /** * Given an array of strings, return the length of the common suffix. * Words may not be split. Any space after a word is included in the length. - * @param {!Array} array Array of strings. + * @param {!Array.} array Array of strings. * @param {?number} opt_shortest Length of shortest string. * @return {number} Length of common suffix. */ diff --git a/core/workspace.js b/core/workspace.js index 74f683879..aea59c792 100644 --- a/core/workspace.js +++ b/core/workspace.js @@ -173,7 +173,7 @@ Blockly.Workspace.prototype.getBubbleCanvas = function() { */ Blockly.Workspace.prototype.addTopBlock = function(block) { this.topBlocks_.push(block); - if (Blockly.isRealtimeEnabled() && this == Blockly.mainWorkspace) { + if (Blockly.Realtime.isEnabled() && this == Blockly.mainWorkspace) { Blockly.Realtime.addTopBlock(block); } this.fireChangeEvent(); @@ -195,7 +195,7 @@ Blockly.Workspace.prototype.removeTopBlock = function(block) { if (!found) { throw 'Block not present in workspace\'s list of top-most blocks.'; } - if (Blockly.isRealtimeEnabled() && this == Blockly.mainWorkspace) { + if (Blockly.Realtime.isEnabled() && this == Blockly.mainWorkspace) { Blockly.Realtime.removeTopBlock(block); } this.fireChangeEvent(); diff --git a/msg/js/ar.js b/msg/js/ar.js index 6ac7a873f..24a97e155 100644 --- a/msg/js/ar.js +++ b/msg/js/ar.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "اضافة تعليق"; Blockly.Msg.CHANGE_VALUE_TITLE = "تغيير قيمة:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "إخفاء القطع"; Blockly.Msg.COLLAPSE_BLOCK = "إخفاء القطعة"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "اللون 1"; diff --git a/msg/js/az.js b/msg/js/az.js index 811c885ba..85b41a874 100644 --- a/msg/js/az.js +++ b/msg/js/az.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Şərh əlavə et"; Blockly.Msg.CHANGE_VALUE_TITLE = "Qiyməti dəyiş:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "Blokları yığ"; Blockly.Msg.COLLAPSE_BLOCK = "Bloku yığ"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "rəng 1"; diff --git a/msg/js/ca.js b/msg/js/ca.js index 79f1d41bb..421046407 100644 --- a/msg/js/ca.js +++ b/msg/js/ca.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Afegeix un comentari"; Blockly.Msg.CHANGE_VALUE_TITLE = "Canvia valor:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "Contraure blocs"; Blockly.Msg.COLLAPSE_BLOCK = "Contraure bloc"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "color 1"; diff --git a/msg/js/cs.js b/msg/js/cs.js index 849718944..1f3217e82 100644 --- a/msg/js/cs.js +++ b/msg/js/cs.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Přidat komentář"; Blockly.Msg.CHANGE_VALUE_TITLE = "Změna hodnoty:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "Skrýt bloky"; Blockly.Msg.COLLAPSE_BLOCK = "Skrýt blok"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "barva 1"; diff --git a/msg/js/da.js b/msg/js/da.js index 116082679..6ff44d28f 100644 --- a/msg/js/da.js +++ b/msg/js/da.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Tilføj kommentar"; Blockly.Msg.CHANGE_VALUE_TITLE = "Ændr værdi:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "Fold blokkene sammen"; Blockly.Msg.COLLAPSE_BLOCK = "Fold blokken sammen"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "farve 1"; diff --git a/msg/js/de.js b/msg/js/de.js index 4c3be8148..fbb36f649 100644 --- a/msg/js/de.js +++ b/msg/js/de.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Kommentar hinzufügen"; Blockly.Msg.CHANGE_VALUE_TITLE = "Wert ändern:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "Collapse Blocks"; Blockly.Msg.COLLAPSE_BLOCK = "Block zusammenfalten"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "Farbe 1"; diff --git a/msg/js/el.js b/msg/js/el.js index f2c4e2642..c09498ef8 100644 --- a/msg/js/el.js +++ b/msg/js/el.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Πρόσθεσε Σχόλιο"; Blockly.Msg.CHANGE_VALUE_TITLE = "Άλλαξε την τιμή:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "Σύμπτυξτε Όλα Τα Μπλοκ"; Blockly.Msg.COLLAPSE_BLOCK = "Σύμπτυξε Το Μπλοκ"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "χρώμα 1"; diff --git a/msg/js/en.js b/msg/js/en.js index 74a49539e..ae8bec14d 100644 --- a/msg/js/en.js +++ b/msg/js/en.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Add Comment"; Blockly.Msg.CHANGE_VALUE_TITLE = "Change value:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; Blockly.Msg.COLLAPSE_ALL = "Collapse Blocks"; Blockly.Msg.COLLAPSE_BLOCK = "Collapse Block"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "colour 1"; diff --git a/msg/js/es.js b/msg/js/es.js index 394297363..4b54b2469 100644 --- a/msg/js/es.js +++ b/msg/js/es.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Añadir comentario"; Blockly.Msg.CHANGE_VALUE_TITLE = "Cambiar el valor:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "Contraer bloques"; Blockly.Msg.COLLAPSE_BLOCK = "Contraer bloque"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "color 1"; diff --git a/msg/js/fa.js b/msg/js/fa.js index 4121f7eca..21ba54be6 100644 --- a/msg/js/fa.js +++ b/msg/js/fa.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "افزودن نظر"; Blockly.Msg.CHANGE_VALUE_TITLE = "تغییر مقدار:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "فروپاشی بلوک‌ها"; Blockly.Msg.COLLAPSE_BLOCK = "فروپاشی بلوک"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "رنگ ۱"; diff --git a/msg/js/fi.js b/msg/js/fi.js index 483afca1c..9b7bb3d58 100644 --- a/msg/js/fi.js +++ b/msg/js/fi.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Lisää kommentti"; Blockly.Msg.CHANGE_VALUE_TITLE = "Muuta arvoa:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "Sulje lohkot"; Blockly.Msg.COLLAPSE_BLOCK = "Sulje lohko"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "väri 1"; diff --git a/msg/js/fr.js b/msg/js/fr.js index 3a9f31ff0..8915303cc 100644 --- a/msg/js/fr.js +++ b/msg/js/fr.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Ajouter un commentaire"; Blockly.Msg.CHANGE_VALUE_TITLE = "Modifier la valeur :"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "Réduire les blocs"; Blockly.Msg.COLLAPSE_BLOCK = "Réduire le bloc"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "couleur 1"; diff --git a/msg/js/he.js b/msg/js/he.js index 720137005..d14e23357 100644 --- a/msg/js/he.js +++ b/msg/js/he.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "הוסף תגובה"; Blockly.Msg.CHANGE_VALUE_TITLE = "שנה ערך:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "צמצם קטעי קוד"; Blockly.Msg.COLLAPSE_BLOCK = "צמצם קטע קוד"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "צבע 1"; diff --git a/msg/js/hu.js b/msg/js/hu.js index 850f5459b..de640ad30 100644 --- a/msg/js/hu.js +++ b/msg/js/hu.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Megjegyzés hozzáadása"; Blockly.Msg.CHANGE_VALUE_TITLE = "Érték módosítása:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "Összezár"; Blockly.Msg.COLLAPSE_BLOCK = "Összezár"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = ""; diff --git a/msg/js/ia.js b/msg/js/ia.js index bb46d2a5b..fc741579d 100644 --- a/msg/js/ia.js +++ b/msg/js/ia.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Adder commento"; Blockly.Msg.CHANGE_VALUE_TITLE = "Cambiar valor:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "Plicar blocos"; Blockly.Msg.COLLAPSE_BLOCK = "Plicar bloco"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "color 1"; diff --git a/msg/js/id.js b/msg/js/id.js index d7f199f91..9ac86544f 100644 --- a/msg/js/id.js +++ b/msg/js/id.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Tambahkan sebuah comment"; Blockly.Msg.CHANGE_VALUE_TITLE = "Ubah nilai:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "Tutup blok"; Blockly.Msg.COLLAPSE_BLOCK = "Tutup blok"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "Warna 1"; diff --git a/msg/js/is.js b/msg/js/is.js index 2afbae6d3..faa78a2d4 100644 --- a/msg/js/is.js +++ b/msg/js/is.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Skrifa skýringu"; Blockly.Msg.CHANGE_VALUE_TITLE = "Breyta gildi:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "Loka kubbum"; Blockly.Msg.COLLAPSE_BLOCK = "Loka kubbi"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "litur 1"; diff --git a/msg/js/it.js b/msg/js/it.js index df87e3a47..1aed01fe0 100644 --- a/msg/js/it.js +++ b/msg/js/it.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Aggiungi commento"; Blockly.Msg.CHANGE_VALUE_TITLE = "Modifica valore:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "Comprimi blocchi"; Blockly.Msg.COLLAPSE_BLOCK = "Comprimi blocco"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "colore 1"; diff --git a/msg/js/ja.js b/msg/js/ja.js index fef470193..e7daf11db 100644 --- a/msg/js/ja.js +++ b/msg/js/ja.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "コメントを追加"; Blockly.Msg.CHANGE_VALUE_TITLE = "値を変更します。"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "ブロックを折りたたむ"; Blockly.Msg.COLLAPSE_BLOCK = "ブロックを折りたたむ"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "色 1"; diff --git a/msg/js/ko.js b/msg/js/ko.js index f9a683efd..5a189d01c 100644 --- a/msg/js/ko.js +++ b/msg/js/ko.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "덧글 추가"; Blockly.Msg.CHANGE_VALUE_TITLE = "값 변경:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "블록 축소"; Blockly.Msg.COLLAPSE_BLOCK = "블록 축소"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "색 1"; diff --git a/msg/js/lrc.js b/msg/js/lrc.js index 816da48ae..be1fbe1fb 100644 --- a/msg/js/lrc.js +++ b/msg/js/lrc.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "نظرتونه اضاف بکید"; Blockly.Msg.CHANGE_VALUE_TITLE = "ارزشت آلشت کو:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "Collapse Blocks"; // untranslated Blockly.Msg.COLLAPSE_BLOCK = "Collapse Block"; // untranslated Blockly.Msg.COLOUR_BLEND_COLOUR1 = "رن 1"; diff --git a/msg/js/ms.js b/msg/js/ms.js index 81d9a7f19..2c152fa14 100644 --- a/msg/js/ms.js +++ b/msg/js/ms.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Berikan Komen"; Blockly.Msg.CHANGE_VALUE_TITLE = "Ubah nilai:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "Lipat Blok²"; Blockly.Msg.COLLAPSE_BLOCK = "Lipat Blok"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "warna 1"; diff --git a/msg/js/nb.js b/msg/js/nb.js index b01fd9ec8..c89f640b2 100644 --- a/msg/js/nb.js +++ b/msg/js/nb.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Legg til kommentar"; Blockly.Msg.CHANGE_VALUE_TITLE = "Bytt verdi:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "Skjul blokker"; Blockly.Msg.COLLAPSE_BLOCK = "Skjul blokk"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "farge 1"; diff --git a/msg/js/nl.js b/msg/js/nl.js index 132f42038..3dbd7e46b 100644 --- a/msg/js/nl.js +++ b/msg/js/nl.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Reactie toevoegen"; Blockly.Msg.CHANGE_VALUE_TITLE = "Waarde wijzigen:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "Blokken inklappen"; Blockly.Msg.COLLAPSE_BLOCK = "Blok inklappen"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "kleur 1"; diff --git a/msg/js/pl.js b/msg/js/pl.js index 74d2d94c6..c3951141a 100644 --- a/msg/js/pl.js +++ b/msg/js/pl.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Dodaj komentarz"; Blockly.Msg.CHANGE_VALUE_TITLE = "Zmień wartość:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "Zwiń bloki"; Blockly.Msg.COLLAPSE_BLOCK = "Zwiń blok"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "kolor 1"; diff --git a/msg/js/pms.js b/msg/js/pms.js index 76b81ac7e..b639e6661 100644 --- a/msg/js/pms.js +++ b/msg/js/pms.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Gionté un coment"; Blockly.Msg.CHANGE_VALUE_TITLE = "Modifiché ël valor:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "Arduve ij blòch"; Blockly.Msg.COLLAPSE_BLOCK = "Arduve ël blòch"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "color 1"; diff --git a/msg/js/pt-br.js b/msg/js/pt-br.js index cad4052f3..3d22e7977 100644 --- a/msg/js/pt-br.js +++ b/msg/js/pt-br.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Adicionar Comentário"; Blockly.Msg.CHANGE_VALUE_TITLE = "Mudar valor:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "Recolher Blocos"; Blockly.Msg.COLLAPSE_BLOCK = "Recolher Bloco"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "cor 1"; diff --git a/msg/js/pt.js b/msg/js/pt.js index f0e78e3a4..e8f0792fd 100644 --- a/msg/js/pt.js +++ b/msg/js/pt.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Adicionar Comentário"; Blockly.Msg.CHANGE_VALUE_TITLE = "Alterar valor:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "Recolher Blocos"; Blockly.Msg.COLLAPSE_BLOCK = "Colapsar Bloco"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "cor 1"; diff --git a/msg/js/ro.js b/msg/js/ro.js index 0d5a8420e..3b1d88bc0 100644 --- a/msg/js/ro.js +++ b/msg/js/ro.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Adaugă un comentariu"; Blockly.Msg.CHANGE_VALUE_TITLE = "Schimbaţi valoarea:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "Restrange blocurile"; Blockly.Msg.COLLAPSE_BLOCK = "Restrange blocul"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "culoare 1"; diff --git a/msg/js/ru.js b/msg/js/ru.js index 5833f3901..faf6c055b 100644 --- a/msg/js/ru.js +++ b/msg/js/ru.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Добавить комментарий"; Blockly.Msg.CHANGE_VALUE_TITLE = "Измените значение:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "Свернуть блоки"; Blockly.Msg.COLLAPSE_BLOCK = "Свернуть блок"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "цвет 1"; diff --git a/msg/js/sq.js b/msg/js/sq.js index 61fc3e65e..244e4f497 100644 --- a/msg/js/sq.js +++ b/msg/js/sq.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Vendos nje Koment"; Blockly.Msg.CHANGE_VALUE_TITLE = "Ndrysho Vlerat:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "Mbyll blloqet"; Blockly.Msg.COLLAPSE_BLOCK = "Mbyll bllokun"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "Ngjyra 1"; diff --git a/msg/js/sr.js b/msg/js/sr.js index 42a9f8da1..31f3505fb 100644 --- a/msg/js/sr.js +++ b/msg/js/sr.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Додај Коментар"; Blockly.Msg.CHANGE_VALUE_TITLE = "Промени вредност:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "Скупи Блокове"; Blockly.Msg.COLLAPSE_BLOCK = "Скупи Блок"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "Боја 1"; diff --git a/msg/js/sv.js b/msg/js/sv.js index a6425682c..4dc334b90 100644 --- a/msg/js/sv.js +++ b/msg/js/sv.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Lägg till kommentar"; Blockly.Msg.CHANGE_VALUE_TITLE = "Ändra värde:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "Fäll ihop block"; Blockly.Msg.COLLAPSE_BLOCK = "Fäll ihop block"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "färg 1"; diff --git a/msg/js/th.js b/msg/js/th.js index f92320dd3..dd6ae8b82 100644 --- a/msg/js/th.js +++ b/msg/js/th.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "ใส่คำอธิบาย"; Blockly.Msg.CHANGE_VALUE_TITLE = "เปลี่ยนค่า:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "ย่อบล็อก"; Blockly.Msg.COLLAPSE_BLOCK = "ย่อบล็อก"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "สีที่ 1"; diff --git a/msg/js/tl.js b/msg/js/tl.js index 75d647f34..f6e4f48f0 100644 --- a/msg/js/tl.js +++ b/msg/js/tl.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Dagdag komento"; Blockly.Msg.CHANGE_VALUE_TITLE = "pagbago ng value:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "bloke"; Blockly.Msg.COLLAPSE_BLOCK = "bloke"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "kulay 1"; diff --git a/msg/js/tr.js b/msg/js/tr.js index bbb64129a..cdbec3ba7 100644 --- a/msg/js/tr.js +++ b/msg/js/tr.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Yorum Ekle"; Blockly.Msg.CHANGE_VALUE_TITLE = "Değeri değiştir:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "Blokları Daralt"; Blockly.Msg.COLLAPSE_BLOCK = "Blok'u Daralt"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "renk 1"; diff --git a/msg/js/uk.js b/msg/js/uk.js index 5a480a98d..fda6a24be 100644 --- a/msg/js/uk.js +++ b/msg/js/uk.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Додати коментар"; Blockly.Msg.CHANGE_VALUE_TITLE = "Змінити значення:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "Згорнути блоки"; Blockly.Msg.COLLAPSE_BLOCK = "Згорнути блок"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "колір 1"; diff --git a/msg/js/vi.js b/msg/js/vi.js index c61049350..db1ed3649 100644 --- a/msg/js/vi.js +++ b/msg/js/vi.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Thêm Chú Giải"; Blockly.Msg.CHANGE_VALUE_TITLE = "Thay giá trị thành:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "Thu Nhỏ Mọi Mảnh"; Blockly.Msg.COLLAPSE_BLOCK = "Thu Nhỏ Mảnh"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "màu 1"; diff --git a/msg/js/zh-hans.js b/msg/js/zh-hans.js index c72314a6c..c07702b1d 100644 --- a/msg/js/zh-hans.js +++ b/msg/js/zh-hans.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "添加注释"; Blockly.Msg.CHANGE_VALUE_TITLE = "更改值:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "折叠块"; Blockly.Msg.COLLAPSE_BLOCK = "折叠块"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "颜色1"; diff --git a/msg/js/zh-hant.js b/msg/js/zh-hant.js index 65a930c6b..33ec2cbfd 100644 --- a/msg/js/zh-hant.js +++ b/msg/js/zh-hant.js @@ -8,6 +8,7 @@ goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "加入註解"; Blockly.Msg.CHANGE_VALUE_TITLE = "修改值:"; +Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; // untranslated Blockly.Msg.COLLAPSE_ALL = "收合積木"; Blockly.Msg.COLLAPSE_BLOCK = "收合積木"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "顏色 1"; diff --git a/msg/json/en.json b/msg/json/en.json index e9200d94a..58227d959 100644 --- a/msg/json/en.json +++ b/msg/json/en.json @@ -1,7 +1,7 @@ { "@metadata": { "author": "Ellen Spertus ", - "lastupdated": "2014-01-02 13:49:43.650976", + "lastupdated": "2014-01-31 15:37:04.971275", "locale": "en", "messagedocumentation" : "qqq" }, @@ -20,6 +20,7 @@ "DISABLE_BLOCK": "Disable Block", "ENABLE_BLOCK": "Enable Block", "HELP": "Help", + "CHAT": "Chat with your collaborator by typing in this box!", "CHANGE_VALUE_TITLE": "Change value:", "NEW_VARIABLE": "New variable...", "NEW_VARIABLE_TITLE": "New variable name:", diff --git a/msg/json/qqq.json b/msg/json/qqq.json index 07a462d18..a74cc0432 100644 --- a/msg/json/qqq.json +++ b/msg/json/qqq.json @@ -1,10 +1,4 @@ { - "@metadata": { - "authors": [ - "Espertus", - "Shirayuki" - ] - }, "VARIABLES_DEFAULT_NAME": "default name - A simple, general default name for a variable, preferably short. For more context, see [[Translating:Blockly#infrequent_message_types]].", "DUPLICATE_BLOCK": "context menu - Make a copy of the selected block (and any blocks it contains).", "ADD_COMMENT": "context menu - Add a descriptive comment to the selected block.", @@ -20,6 +14,7 @@ "DISABLE_BLOCK": "context menu - Make the selected block have no effect (unless reenabled).", "ENABLE_BLOCK": "context menu - Make the selected block have effect (after having been disabled earlier).", "HELP": "context menu - Provide helpful information about the selected block.\n{{Identical|Help}}", + "CHAT": "collaboration instruction - Tell the user that they can talk with other users.", "CHANGE_VALUE_TITLE": "prompt - This message is only seen in the Opera browser. With most browsers, users can edit numeric values in blocks by just clicking and typing. Opera does not allows this, so we have to open a new window and prompt users with this message to chanage a value.", "NEW_VARIABLE": "dropdown choice - When the user clicks on a variable block, this is one of the dropdown menu choices. It is used to define a new variable. See [https://code.google.com/p/blockly/wiki/Variables#Dropdown_menu https://code.google.com/p/blockly/wiki/Variables#Dropdown_menu].", "NEW_VARIABLE_TITLE": "prompt - Prompts the user to enter the name for a new variable. See [https://code.google.com/p/blockly/wiki/Variables#Dropdown_menu https://code.google.com/p/blockly/wiki/Variables#Dropdown_menu].", @@ -352,4 +347,4 @@ "PROCEDURES_CREATE_DO": "context menu - This appears on the context menu for function definitions. Selecting it creates a block to call the function. \n\nParameters:\n* %1 - the name of the function.", "PROCEDURES_IFRETURN_TOOLTIP": "tooltip - If the first value is true, this causes the second value to be returned immediately from the enclosing function.", "PROCEDURES_IFRETURN_WARNING": "warning - This appears if the user tries to use this block outside of a function definition." -} \ No newline at end of file +} diff --git a/msg/messages.js b/msg/messages.js index c81110178..83c009ada 100644 --- a/msg/messages.js +++ b/msg/messages.js @@ -83,6 +83,10 @@ Blockly.Msg.ENABLE_BLOCK = 'Enable Block'; /// context menu - Provide helpful information about the selected block.\n{{Identical|Help}} Blockly.Msg.HELP = 'Help'; +// Realtime collaboration. +/// collaboration instruction - Tell the user that they can talk with other users. +Blockly.Msg.CHAT = 'Chat with your collaborator by typing in this box!'; + // Variable renaming. /// prompt - This message is only seen in the Opera browser. With most browsers, users can edit numeric values in blocks by just clicking and typing. Opera does not allows this, so we have to open a new window and prompt users with this message to chanage a value. Blockly.Msg.CHANGE_VALUE_TITLE = 'Change value:'; diff --git a/tests/playground.html b/tests/playground.html index 9ed9193f7..c7e370419 100644 --- a/tests/playground.html +++ b/tests/playground.html @@ -42,10 +42,6 @@ - - - -