source: EcnlProtoTool/trunk/webapp/webmrbc/Block.cs@ 287

Last change on this file since 287 was 287, checked in by coas-nagasima, 7 years ago

ファイルヘッダーコメントを追加

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-csharp
File size: 60.4 KB
Line 
1/*
2 * TOPPERS/ECNL Prototyping tool
3 *
4 * Copyright (C) 2017 Cores Co., Ltd. Japan
5 *
6 * 上記著作権者は,以下の(1)~(4)の条件を満たす場合に限り,本ソフトウェ
7 * ア(本ソフトウェアを改変したものを含む.以下同じ)を使用・複製・改
8 * 変・再配布(以下,利用と呼ぶ)することを無償で許諾する.
9 * (1) 本ソフトウェアをソースコードの形で利用する場合には,上記の著作
10 * 権表示,この利用条件および下記の無保証規定が,そのままの形でソー
11 * スコード中に含まれていること.
12 * (2) 本ソフトウェアを,ライブラリ形式など,他のソフトウェア開発に使
13 * 用できる形で再配布する場合には,再配布に伴うドキュメント(利用
14 * 者マニュアルなど)に,上記の著作権表示,この利用条件および下記
15 * の無保証規定を掲載すること.
16 * (3) 本ソフトウェアを,機器に組み込むなど,他のソフトウェア開発に使
17 * 用できない形で再配布する場合には,次のいずれかの条件を満たすこ
18 * と.
19 * (a) 再配布に伴うドキュメント(利用者マニュアルなど)に,上記の著
20 * 作権表示,この利用条件および下記の無保証規定を掲載すること.
21 * (b) 再配布の形態を,別に定める方法によって,TOPPERSプロジェクトに
22 * 報告すること.
23 * (4) 本ソフトウェアの利用により直接的または間接的に生じるいかなる損
24 * 害からも,上記著作権者およびTOPPERSプロジェクトを免責すること.
25 * また,本ソフトウェアのユーザまたはエンドユーザからのいかなる理
26 * 由に基づく請求からも,上記著作権者およびTOPPERSプロジェクトを
27 * 免責すること.
28 *
29 * 本ソフトウェアは,無保証で提供されているものである.上記著作権者お
30 * よびTOPPERSプロジェクトは,本ソフトウェアに関して,特定の使用目的
31 * に対する適合性も含めて,いかなる保証も行わない.また,本ソフトウェ
32 * アの利用により直接的または間接的に生じたいかなる損害に関しても,そ
33 * の責任を負わない.
34 *
35 * @(#) $Id: Block.cs 287 2017-05-05 14:22:23Z coas-nagasima $
36 */
37using System;
38using Bridge;
39using Bridge.Html5;
40
41namespace WebMrbc
42{
43 [IgnoreCast]
44 public class Block
45 {
46 public string type;
47
48 [External, FieldProperty]
49 public string id { get; set; }
50 [External, FieldProperty]
51 public Connection outputConnection { get; set; }
52 [External, FieldProperty]
53 public Connection nextConnection { get; set; }
54 [External, FieldProperty]
55 public Connection previousConnection { get; set; }
56 [External, FieldProperty]
57 public Input[] inputList { get; set; }
58 [External, FieldProperty]
59 public bool inputsInline { get; set; }
60 [External, FieldProperty]
61 public bool disabled { get; set; }
62 [External, FieldProperty]
63 public string tooltip { get; set; }
64 [External, FieldProperty]
65 public bool contextMenu { get; set; }
66 [External, FieldProperty]
67 public string contextMenuMsg_ { get; set; }
68 [External, FieldProperty]
69 public Union<string, Comment> comment { get; set; }
70 [External, FieldProperty]
71 public bool RTL { get; set; }
72 [External, FieldProperty]
73 public Block[] prevBlocks_ { get; set; }
74 [External, FieldProperty]
75 public Workspace workspace { get; set; }
76 [External, FieldProperty]
77 public Mutator mutator { get; set; }
78 [External, FieldProperty]
79 public bool isInFlyout { get; }
80
81 public Block(string type)
82 {
83 this.type = type;
84 }
85
86 [External]
87 internal void bumpNeighbours_()
88 {
89 throw new NotImplementedException();
90 }
91
92 /// <summary>
93 /// Dispose of this block.
94 /// </summary>
95 /// <param name="healStack">healStack If true, then try to heal any gap by connecting
96 /// the next statement with the previous statement. Otherwise, dispose of
97 /// all children of this block.</param>
98 [External]
99 public virtual void dispose(bool healStack)
100 {
101 throw new NotImplementedException();
102 }
103
104 /// <summary>
105 /// Unplug this block from its superior block. If this block is a statement,
106 /// optionally reconnect the block underneath with the block on top.
107 /// </summary>
108 /// <param name="opt_healStack">opt_healStack Disconnect child statement and reconnect
109 /// stack. Defaults to false.</param>
110 [External]
111 public void unplug(bool opt_healStack = false)
112 {
113 throw new NotImplementedException();
114 }
115
116 /// <summary>
117 /// Return the parent block or null if this block is at the top level.
118 /// </summary>
119 /// <returns>The block that holds the current block.</returns>
120 [External]
121 public Block getParent()
122 {
123 throw new NotImplementedException();
124 }
125
126 /// <summary>
127 /// Return the input that connects to the specified block.
128 /// </summary>
129 /// <param name="block">A block connected to an input on this block.</param>
130 /// <returns>The input that connects to the specified block.</returns>
131 [External]
132 public Input getInputWithBlock(Block block)
133 {
134 throw new NotImplementedException();
135 }
136
137 /// <summary>
138 /// Return the parent block that surrounds the current block, or null if this
139 /// block has no surrounding block. A parent block might just be the previous
140 /// statement, whereas the surrounding block is an if statement, while loop, etc.
141 /// </summary>
142 /// <returns>The block that surrounds the current block.</returns>
143 [External]
144 public Block getSurroundParent()
145 {
146 throw new NotImplementedException();
147 }
148
149 /// <summary>
150 /// Return the next statement block directly connected to this block.
151 /// </summary>
152 /// <returns>The next statement block or null.</returns>
153 [External]
154 public Block getNextBlock()
155 {
156 throw new NotImplementedException();
157 }
158
159 /// <summary>
160 /// Return the top-most block in this block's tree.
161 /// This will return itself if this block is at the top level.
162 /// </summary>
163 /// <returns>The root block.</returns>
164 [External]
165 public Block getRootBlock()
166 {
167 throw new NotImplementedException();
168 }
169
170 /// <summary>
171 /// Find all the blocks that are directly nested inside this one.
172 /// Includes value and block inputs, as well as any following statement.
173 /// Excludes any connection on an output tab or any preceding statement.
174 /// </summary>
175 /// <returns>Array of blocks.</returns>
176 [External]
177 public Block[] getChildren()
178 {
179 throw new NotImplementedException();
180 }
181
182 /// <summary>
183 /// Set parent of this block to be a new block or null.
184 /// </summary>
185 /// <param name="block">newParent New parent block.</param>
186 [External]
187 public void setParent(Block block)
188 {
189 throw new NotImplementedException();
190 }
191
192 /// <summary>
193 /// Find all the blocks that are directly or indirectly nested inside this one.
194 /// Includes this block in the list.
195 /// Includes value and block inputs, as well as any following statements.
196 /// Excludes any connection on an output tab or any preceding statements.
197 /// </summary>
198 /// <returns>Flattened array of blocks.</returns>
199 [External]
200 public Block[] getDescendants()
201 {
202 throw new NotImplementedException();
203 }
204
205 /// <summary>
206 /// Get whether this block is deletable or not.
207 /// </summary>
208 /// <returns>True if deletable.</returns>
209 [External]
210 public bool isDeletable()
211 {
212 throw new NotImplementedException();
213 }
214
215 /// <summary>
216 /// Set whether this block is deletable or not.
217 /// </summary>
218 /// <param name="deletable">True if deletable.</param>
219 [External]
220 public void setDeletable(bool deletable)
221 {
222 throw new NotImplementedException();
223 }
224
225 /// <summary>
226 /// Get whether this block is movable or not.
227 /// </summary>
228 /// <returns>True if movable.</returns>
229 [External]
230 public bool isMovable()
231 {
232 throw new NotImplementedException();
233 }
234
235 /// <summary>
236 /// Set whether this block is movable or not.
237 /// </summary>
238 /// <param name="movable">True if movable.</param>
239 [External]
240 public void setMovable(bool movable)
241 {
242 throw new NotImplementedException();
243 }
244
245 /// <summary>
246 /// Get whether this block is a shadow block or not.
247 /// </summary>
248 /// <returns>True if a shadow.</returns>
249 [External]
250 public bool isShadow()
251 {
252 throw new NotImplementedException();
253 }
254
255 /// <summary>
256 /// Set whether this block is a shadow block or not.
257 /// </summary>
258 /// <param name="shadow">True if a shadow.</param>
259 [External]
260 public void setShadow(bool shadow)
261 {
262 throw new NotImplementedException();
263 }
264
265 /// <summary>
266 /// Get whether this block is editable or not.
267 /// </summary>
268 /// <returns>True if editable.</returns>
269 [External]
270 public bool isEditable()
271 {
272 throw new NotImplementedException();
273 }
274
275 /// <summary>
276 /// Set whether this block is editable or not.
277 /// </summary>
278 /// <param name="editable">True if editable.</param>
279 [External]
280 public void setEditable(bool editable)
281 {
282 throw new NotImplementedException();
283 }
284
285 /// <summary>
286 /// Set whether the connections are hidden (not tracked in a database) or not.
287 /// Recursively walk down all child blocks (except collapsed blocks).
288 /// </summary>
289 /// <param name="hidden">True if connections are hidden.</param>
290 [External]
291 public void setConnectionsHidden(bool hidden)
292 {
293 throw new NotImplementedException();
294 }
295
296 /// <summary>
297 /// Set the URL of this block's help page.
298 /// </summary>
299 /// <param name="url">URL string for block help, or function that
300 /// returns a URL. Null for no help.</param>
301 [External]
302 public void setHelpUrl(Union<string, Func<string>> url)
303 {
304 throw new NotImplementedException();
305 }
306
307 /// <summary>
308 /// Change the tooltip text for a block.
309 /// </summary>
310 /// <param name="newTip">newTip Text for tooltip or a parent element to
311 /// link to for its tooltip. May be a function that returns a string.</param>
312 [External]
313 public void setTooltip(Union<string, Func<string>> newTip)
314 {
315 throw new NotImplementedException();
316 }
317
318 /// <summary>
319 /// Get the colour of a block.
320 /// </summary>
321 /// <returns>#RRGGBB string.</returns>
322 [External]
323 public string getColour()
324 {
325 throw new NotImplementedException();
326 }
327
328 /// <summary>
329 /// Change the colour of a block.
330 /// </summary>
331 /// <param name="colour">HSV hue value, or #RRGGBB string.</param>
332 [External]
333 public void setColour(Union<int, string> colour)
334 {
335 throw new NotImplementedException();
336 }
337
338 /// <summary>
339 /// Returns the named field from a block.
340 /// </summary>
341 /// <param name="name">The name of the field.</param>
342 /// <returns>Named field, or null if field does not exist.</returns>
343 [External]
344 public Field getField(string name)
345 {
346 throw new NotImplementedException();
347 }
348
349 /// <summary>
350 /// Return all variables referenced by this block.
351 /// </summary>
352 /// <returns>List of variable names.</returns>
353 [External]
354 public virtual string[] getVars()
355 {
356 throw new NotImplementedException();
357 }
358
359 /// <summary>
360 /// Notification that a variable is renaming.
361 /// If the name matches one of this block's variables, rename it.
362 /// </summary>
363 /// <param name="oldName">Previous name of variable.</param>
364 /// <param name="newName">Renamed variable.</param>
365 [External]
366 public virtual void renameVar(string oldName, string newName)
367 {
368 throw new NotImplementedException();
369 }
370
371 /// <summary>
372 /// Returns the language-neutral value from the field of a block.
373 /// </summary>
374 /// <param name="name">The name of the field.</param>
375 /// <returns>Value from the field or null if field does not exist.</returns>
376 [External]
377 public string getFieldValue(string name)
378 {
379 throw new NotImplementedException();
380 }
381
382 /// <summary>
383 /// Returns the language-neutral value from the field of a block.
384 /// </summary>
385 /// <param name="name">The name of the field.</param>
386 /// <returns>Value from the field or null if field does not exist.</returns>
387 [External]
388 public string getTitleValue(string name)
389 {
390 throw new NotImplementedException();
391 }
392
393 /// <summary>
394 /// Change the field value for a block (e.g. 'CHOOSE' or 'REMOVE').
395 /// </summary>
396 /// <param name="newValue">Value to be the new field.</param>
397 /// <param name="name">The name of the field.</param>
398 [External]
399 public void setFieldValue(string newValue, string name)
400 {
401 throw new NotImplementedException();
402 }
403
404 /// <summary>
405 /// Change the field value for a block (e.g. 'CHOOSE' or 'REMOVE').
406 /// </summary>
407 /// <param name="newValue">Value to be the new field.</param>
408 /// <param name="name">The name of the field.</param>
409 [External]
410 public void setTitleValue(string newValue, string name)
411 {
412 throw new NotImplementedException();
413 }
414
415 /// <summary>
416 /// Set whether this block can chain onto the bottom of another block.
417 /// </summary>
418 /// <param name="newBoolean">True if there can be a previous statement.</param>
419 /// <param name="opt_check">Statement type or
420 /// list of statement types. Null/undefined if any type could be connected.</param>
421 [External]
422 public void setPreviousStatement(bool newBoolean, Union<string, string[]> opt_check = null)
423 {
424 throw new NotImplementedException();
425 }
426
427 /// <summary>
428 /// Set whether another block can chain onto the bottom of this block.
429 /// </summary>
430 /// <param name="newBoolean">True if there can be a next statement.</param>
431 /// <param name="opt_check">Statement type or
432 /// list of statement types. Null/undefined if any type could be connected.</param>
433 [External]
434 public void setNextStatement(bool newBoolean, Union<string, string[]> opt_check = null)
435 {
436 throw new NotImplementedException();
437 }
438
439 /// <summary>
440 /// Set whether this block returns a value.
441 /// </summary>
442 /// <param name="newBoolean">True if there is an output.</param>
443 /// <param name="opt_check">Returned type or list
444 /// of returned types. Null or undefined if any type could be returned
445 /// (e.g. variable get).</param>
446 [External]
447 public void setOutput(bool newBoolean, Union<string, string[]> opt_check = null)
448 {
449 throw new NotImplementedException();
450 }
451
452 /// <summary>
453 /// Set whether value inputs are arranged horizontally or vertically.
454 /// </summary>
455 /// <param name="newBoolean">True if inputs are horizontal.</param>
456 [External]
457 public void setInputsInline(bool newBoolean)
458 {
459 throw new NotImplementedException();
460 }
461
462 /// <summary>
463 /// Get whether value inputs are arranged horizontally or vertically.
464 /// </summary>
465 /// <returns>True if inputs are horizontal.</returns>
466 [External]
467 public bool getInputsInline()
468 {
469 throw new NotImplementedException();
470 }
471
472 /// <summary>
473 /// Set whether the block is disabled or not.
474 /// </summary>
475 /// <param name="disabled">True if disabled.</param>
476 [External]
477 public void setDisabled(bool disabled)
478 {
479 throw new NotImplementedException();
480 }
481
482 /// <summary>
483 /// Get whether the block is disabled or not due to parents.
484 /// The block's own disabled property is not considered.
485 /// </summary>
486 /// <returns>True if disabled.</returns>
487 [External]
488 public bool getInheritedDisabled()
489 {
490 throw new NotImplementedException();
491 }
492
493 /// <summary>
494 /// Get whether the block is collapsed or not.
495 /// </summary>
496 /// <returns>True if collapsed.</returns>
497 [External]
498 public bool isCollapsed()
499 {
500 throw new NotImplementedException();
501 }
502
503 /// <summary>
504 /// Set whether the block is collapsed or not.
505 /// </summary>
506 /// <param name="collapsed">True if collapsed.</param>
507 [External]
508 public void setCollapsed(bool collapsed)
509 {
510 throw new NotImplementedException();
511 }
512
513 /// <summary>
514 /// Create a human-readable text representation of this block and any children.
515 /// </summary>
516 /// <param name="opt_maxLength">Truncate the string to this length.</param>
517 /// <returns>Text of block.</returns>
518 [External]
519 public string toString(int opt_maxLength = 0)
520 {
521 throw new NotImplementedException();
522 }
523
524 /// <summary>
525 /// Shortcut for appending a value input row.
526 /// </summary>
527 /// <param name="name">Language-neutral identifier which may used to find this
528 /// input again. Should be unique to this block.</param>
529 /// <returns>The input object created.</returns>
530 [External]
531 public Input appendValueInput(string name)
532 {
533 throw new NotImplementedException();
534 }
535
536 /// <summary>
537 /// Shortcut for appending a statement input row.
538 /// </summary>
539 /// <param name="name">Language-neutral identifier which may used to find this
540 /// input again. Should be unique to this block.</param>
541 /// <returns>The input object created.</returns>
542 [External]
543 public Input appendStatementInput(string name)
544 {
545 throw new NotImplementedException();
546 }
547
548 /// <summary>
549 /// Shortcut for appending a dummy input row.
550 /// </summary>
551 /// <param name="opt_name">Language-neutral identifier which may used to find
552 /// this input again. Should be unique to this block.</param>
553 /// <returns>The input object created.</returns>
554 [External]
555 public Input appendDummyInput(string opt_name = null)
556 {
557 throw new NotImplementedException();
558 }
559
560 /// <summary>
561 /// Initialize this block using a cross-platform, internationalization-friendly
562 /// JSON description.
563 /// </summary>
564 /// <param name="json">Structured data describing the block.</param>
565 [External]
566 public void jsonInit(object json)
567 {
568 throw new NotImplementedException();
569 }
570
571 /// <summary>
572 /// Move a named input to a different location on this block.
573 /// </summary>
574 /// <param name="name">The name of the input to move.</param>
575 /// <param name="refName">Name of input that should be after the moved input,
576 /// or null to be the input at the end.</param>
577 [External]
578 public void moveInputBefore(string name, string refName)
579 {
580 throw new NotImplementedException();
581 }
582
583 /// <summary>
584 /// Move a numbered input to a different location on this block.
585 /// </summary>
586 /// <param name="inputIndex">Index of the input to move.</param>
587 /// <param name="refIndex">Index of input that should be after the moved input.</param>
588 [External]
589 public void moveNumberedInputBefore(int inputIndex, int refIndex)
590 {
591 throw new NotImplementedException();
592 }
593
594 /// <summary>
595 /// Remove an input from this block.
596 /// </summary>
597 /// <param name="name">The name of the input.</param>
598 /// <param name="opt_quiet">True to prevent error if input is not present.</param>
599 [External]
600 public void removeInput(string name, bool opt_quiet = false)
601 {
602 throw new NotImplementedException();
603 }
604
605 /// <summary>
606 /// Fetches the named input object.
607 /// </summary>
608 /// <param name="name">The name of the input.</param>
609 /// <returns>The input object, or null if input does not exist.</returns>
610 [External]
611 public Input getInput(string name)
612 {
613 throw new NotImplementedException();
614 }
615
616 /// <summary>
617 /// Fetches the block attached to the named input.
618 /// </summary>
619 /// <param name="name">The name of the input.</param>
620 /// <returns>The attached value block, or null if the input is
621 /// either disconnected or if the input does not exist.</returns>
622 [External]
623 public Block getInputTargetBlock(string name)
624 {
625 throw new NotImplementedException();
626 }
627
628 /// <summary>
629 /// Returns the comment on this block (or '' if none).
630 /// </summary>
631 /// <returns>Block's comment.</returns>
632 [External]
633 public string getCommentText()
634 {
635 throw new NotImplementedException();
636 }
637
638 /// <summary>
639 /// Set this block's comment text.
640 /// </summary>
641 /// <param name="text">text The text, or null to delete.</param>
642 [External]
643 public void setCommentText(string text)
644 {
645 throw new NotImplementedException();
646 }
647
648 /// <summary>
649 /// Set this block's warning text.
650 /// </summary>
651 /// <param name="text">The text, or null to delete.</param>
652 [External]
653 public void setWarningText(string text)
654 {
655 throw new NotImplementedException();
656 }
657
658 /// <summary>
659 /// Give this block a mutator dialog.
660 /// </summary>
661 /// <param name="mutator">A mutator dialog instance or null to remove.</param>
662 [External]
663 public void setMutator(Mutator mutator)
664 {
665 throw new NotImplementedException();
666 }
667
668 /// <summary>
669 /// Return the coordinates of the top-left corner of this block relative to the
670 /// drawing surface's origin (0,0).
671 /// </summary>
672 /// <returns>Object with .x and .y properties.</returns>
673 [External]
674 public goog.math.Coordinate getRelativeToSurfaceXY()
675 {
676 throw new NotImplementedException();
677 }
678
679 /// <summary>
680 /// Move a block by a relative offset.
681 /// </summary>
682 /// <param name="dx">Horizontal offset.</param>
683 /// <param name="dy">Vertical offset.</param>
684 [External]
685 public void moveBy(double dx, double dy)
686 {
687 throw new NotImplementedException();
688 }
689
690 // BlockSvg
691
692 /// <summary>
693 /// Create and initialize the SVG representation of the block.
694 /// May be called more than once.
695 /// </summary>
696 [External]
697 public void initSvg()
698 {
699 throw new NotImplementedException();
700 }
701
702 /// <summary>
703 /// Select this block. Highlight it visually.
704 /// </summary>
705 [External]
706 public void select()
707 {
708 throw new NotImplementedException();
709 }
710
711 /// <summary>
712 /// Unselect this block. Remove its highlighting.
713 /// </summary>
714 [External]
715 public void unselect()
716 {
717 throw new NotImplementedException();
718 }
719
720 /// <summary>
721 /// Returns a list of mutator, comment, and warning icons.
722 /// </summary>
723 /// <returns>List of icons.</returns>
724 [External]
725 public object[] getIcons()
726 {
727 throw new NotImplementedException();
728 }
729
730
731 /// <summary>
732 /// Snap this block to the nearest grid point.
733 /// </summary>
734 [External]
735 public void snapToGrid()
736 {
737 throw new NotImplementedException();
738 }
739
740 /// <summary>
741 /// Returns a bounding box describing the dimensions of this block
742 /// and any blocks stacked below it.
743 /// </summary>
744 /// <returns>Object with height and width properties.</returns>
745 [External]
746 public goog.math.Size getHeightWidth()
747 {
748 throw new NotImplementedException();
749 }
750
751 /// <summary>
752 /// Returns the coordinates of a bounding box describing the dimensions of this
753 /// block and any blocks stacked below it.
754 /// </summary>
755 /// <returns>Object with top left and bottom right coordinates of the bounding box.</returns>
756 [External]
757 public Rectangle getBoundingRectangle()
758 {
759 throw new NotImplementedException();
760 }
761
762 /// <summary>
763 /// Open the next (or previous) FieldTextInput.
764 /// </summary>
765 /// <param name="start">Current location.</param>
766 /// <param name="forward">If true go forward, otherwise backward.</param>
767 [External]
768 public void tab(Union<Field, Block> start, bool forward)
769 {
770 throw new NotImplementedException();
771 }
772
773 /// <summary>
774 /// Add or remove the UI indicating if this block is movable or not.
775 /// </summary>
776 [External]
777 public void updateMovable()
778 {
779 throw new NotImplementedException();
780 }
781
782 /// <summary>
783 /// Return the root node of the SVG or null if none exists.
784 /// </summary>
785 /// <returns>The root SVG node (probably a group).</returns>
786 [External]
787 public Element getSvgRoot()
788 {
789 throw new NotImplementedException();
790 }
791
792 /// <summary>
793 /// Play some UI effects (sound, animation) when disposing of a block.
794 /// </summary>
795 [External]
796 public void disposeUiEffect()
797 {
798 throw new NotImplementedException();
799 }
800
801 /// <summary>
802 /// Play some UI effects (sound, ripple) after a connection has been established.
803 /// </summary>
804 [External]
805 public void connectionUiEffect()
806 {
807 throw new NotImplementedException();
808 }
809
810 /// <summary>
811 /// Play some UI effects (sound, animation) when disconnecting a block.
812 /// </summary>
813 [External]
814 public void disconnectUiEffect()
815 {
816 throw new NotImplementedException();
817 }
818
819 /// <summary>
820 /// Change the colour of a block.
821 /// </summary>
822 [External]
823 public void updateColour()
824 {
825 throw new NotImplementedException();
826 }
827
828 /// <summary>
829 /// Enable or disable a block.
830 /// </summary>
831 [External]
832 public void updateDisabled()
833 {
834 throw new NotImplementedException();
835 }
836
837 /// <summary>
838 /// Select this block. Highlight it visually.
839 /// </summary>
840 [External]
841 public void addSelect()
842 {
843 throw new NotImplementedException();
844 }
845
846 /// <summary>
847 /// Unselect this block. Remove its highlighting.
848 /// </summary>
849 [External]
850 public void removeSelect()
851 {
852 throw new NotImplementedException();
853 }
854
855 /// <summary>
856 /// Adds the dragging class to this block.
857 /// Also disables the highlights/shadows to improve performance.
858 /// </summary>
859 [External]
860 public void addDragging()
861 {
862 throw new NotImplementedException();
863 }
864
865 /// <summary>
866 /// Removes the dragging class from this block.
867 /// </summary>
868 [External]
869 public void removeDragging()
870 {
871 throw new NotImplementedException();
872 }
873
874 /// <summary>
875 /// Render the block.
876 /// Lays out and reflows a block based on its contents and settings.
877 /// </summary>
878 /// <param name="opt_bubble">If false, just render this block.
879 /// If true, also render block's parent, grandparent, etc. Defaults to true.</param>
880 [External]
881 public void render(bool opt_bubble = false)
882 {
883 throw new NotImplementedException();
884 }
885 }
886
887 public class ContextMenuOption
888 {
889 public bool enabled;
890 public string text;
891 public Action callback;
892 }
893}
894
895[Name("Blockly.Msg")]
896public class Msg
897{
898 /*"@metadata": {
899 "authors": [
900 "Shirayuki",
901 "Oda",
902 "아라",
903 "Otokoume",
904 "Sujiniku",
905 "Sgk",
906 "TAKAHASHI Shuuji"
907 ]
908 },*/
909 public const string ADD_COMMENT = "コメントを追加";
910 public const string CHANGE_VALUE_TITLE = "値を変更します。";
911 public const string CLEAN_UP = "ブロックの整理";
912 public const string COLLAPSE_ALL = "全てのブロックを折りたたむ";
913 public const string COLLAPSE_BLOCK = "ブロックを折りたたむ";
914 public const string COLOUR_BLEND_COLOUR1 = "色 1";
915 public const string COLOUR_BLEND_COLOUR2 = "色 2";
916 public const string COLOUR_BLEND_HELPURL = "http://meyerweb.com/eric/tools/color-blend/";
917 public const string COLOUR_BLEND_RATIO = "割合";
918 public const string COLOUR_BLEND_TITLE = "ブレンド";
919 public const string COLOUR_BLEND_TOOLTIP = "ブレンド2 つの色を指定された比率に混ぜる(0.0 ~ 1.0)。";
920 public const string COLOUR_PICKER_HELPURL = "https://ja.wikipedia.org/wiki/色";
921 public const string COLOUR_PICKER_TOOLTIP = "パレットから色を選んでください。";
922 public const string COLOUR_RANDOM_HELPURL = "http://randomcolour.com"; // untranslated
923 public const string COLOUR_RANDOM_TITLE = "ランダムな色";
924 public const string COLOUR_RANDOM_TOOLTIP = "ランダムな色を選択します。";
925 public const string COLOUR_RGB_BLUE = "青";
926 public const string COLOUR_RGB_GREEN = "緑";
927 public const string COLOUR_RGB_HELPURL = "http://www.december.com/html/spec/colorper.html";
928 public const string COLOUR_RGB_RED = "赤";
929 public const string COLOUR_RGB_TITLE = "カラーと";
930 public const string COLOUR_RGB_TOOLTIP = "赤、緑、および青の指定された量で色を作成します。すべての値は 0 ~ 100 の間でなければなりません。";
931 public const string CONTROLS_FLOW_STATEMENTS_HELPURL = "https://github.com/google/blockly/wiki/Loops#loop-termination-blocks"; // untranslated
932 public const string CONTROLS_FLOW_STATEMENTS_OPERATOR_BREAK = "ループから抜け出す";
933 public const string CONTROLS_FLOW_STATEMENTS_OPERATOR_CONTINUE = "ループの次の反復処理を続行します。";
934 public const string CONTROLS_FLOW_STATEMENTS_TOOLTIP_BREAK = "含むループから抜け出します。";
935 public const string CONTROLS_FLOW_STATEMENTS_TOOLTIP_CONTINUE = "このループの残りの部分をスキップし、次のイテレーションに進みます。";
936 public const string CONTROLS_FLOW_STATEMENTS_WARNING = "注意: このブロックは、ループ内でのみ使用します。";
937 public const string CONTROLS_FOREACH_HELPURL = "https://github.com/google/blockly/wiki/Loops#for-each"; // untranslated
938 public const string CONTROLS_FOREACH_INPUT_DO = CONTROLS_REPEAT_INPUT_DO;
939 public const string CONTROLS_FOREACH_TITLE = "各項目の %1 リストで %2";
940 public const string CONTROLS_FOREACH_TOOLTIP = "リストの各項目に対して変数 '%1' のアイテムに設定し、いくつかのステートメントをしてください。";
941 public const string CONTROLS_FOR_HELPURL = "https://github.com/google/blockly/wiki/Loops#count-with"; // untranslated
942 public const string CONTROLS_FOR_INPUT_DO = CONTROLS_REPEAT_INPUT_DO;
943 public const string CONTROLS_FOR_TITLE = "で、カウントします。 %1 %2 から%3、 %4 で";
944 public const string CONTROLS_FOR_TOOLTIP = "変数 \"%1\"は、指定した間隔ごとのカウントを開始番号から 終了番号まで、値をとり、指定したブロックを行う必要があります。";
945 public const string CONTROLS_IF_ELSEIF_TITLE_ELSEIF = CONTROLS_IF_MSG_ELSEIF;
946 public const string CONTROLS_IF_ELSEIF_TOOLTIP = "場合に条件にブロック追加。";
947 public const string CONTROLS_IF_ELSE_TITLE_ELSE = CONTROLS_IF_MSG_ELSE;
948 public const string CONTROLS_IF_ELSE_TOOLTIP = "Ifブロックに、すべてをキャッチする条件を追加。";
949 public const string CONTROLS_IF_HELPURL = "https://github.com/google/blockly/wiki/IfElse"; // untranslated
950 public const string CONTROLS_IF_IF_TITLE_IF = CONTROLS_IF_MSG_IF;
951 public const string CONTROLS_IF_IF_TOOLTIP = "追加、削除、またはセクションを順序変更して、ブロックをこれを再構成します。";
952 public const string CONTROLS_IF_MSG_ELSE = "他";
953 public const string CONTROLS_IF_MSG_ELSEIF = "他でもし";
954 public const string CONTROLS_IF_MSG_IF = "もし";
955 public const string CONTROLS_IF_MSG_THEN = CONTROLS_REPEAT_INPUT_DO;
956 public const string CONTROLS_IF_TOOLTIP_1 = "値が true の場合はその後ステートメントを行をいくつかします。";
957 public const string CONTROLS_IF_TOOLTIP_2 = "値が true 場合は、ステートメントの最初のブロックを行います。それ以外の場合は、ステートメントの 2 番目のブロックを行います。";
958 public const string CONTROLS_IF_TOOLTIP_3 = "最初の値が true 場合は、ステートメントの最初のブロックを行います。それ以外の場合は、2 番目の値が true の場合、ステートメントの 2 番目のブロックをします。";
959 public const string CONTROLS_IF_TOOLTIP_4 = "最初の値が true 場合は、ステートメントの最初のブロックを行います。2 番目の値が true の場合は、ステートメントの 2 番目のブロックを行います。それ以外の場合は最後のブロックのステートメントを行います。";
960 public const string CONTROLS_REPEAT_HELPURL = "https://ja.wikipedia.org/wiki/for文";
961 public const string CONTROLS_REPEAT_INPUT_DO = "してください";
962 public const string CONTROLS_REPEAT_TITLE = "%1 回、繰り返します";
963 public const string CONTROLS_REPEAT_TOOLTIP = "いくつかのステートメントを数回行います。";
964 public const string CONTROLS_WHILEUNTIL_HELPURL = "https://github.com/google/blockly/wiki/Loops#repeat"; // untranslated
965 public const string CONTROLS_WHILEUNTIL_INPUT_DO = CONTROLS_REPEAT_INPUT_DO;
966 public const string CONTROLS_WHILEUNTIL_OPERATOR_UNTIL = "までを繰り返します";
967 public const string CONTROLS_WHILEUNTIL_OPERATOR_WHILE = "つつその間、繰り返す4";
968 public const string CONTROLS_WHILEUNTIL_TOOLTIP_UNTIL = "値は false の間、いくつかのステートメントを行います。";
969 public const string CONTROLS_WHILEUNTIL_TOOLTIP_WHILE = "値は true の間、いくつかのステートメントを行います。";
970 public const string DELETE_ALL_BLOCKS = "%1件のすべてのブロックを消しますか?";
971 public const string DELETE_BLOCK = "ブロックを消す";
972 public const string DELETE_VARIABLE = "変数 %1 を消す";
973 public const string DELETE_VARIABLE_CONFIRMATION = "%1 ヶ所で使われている変数 '%2' を削除しますか?";
974 public const string DELETE_X_BLOCKS = "%1 個のブロックを消す";
975 public const string DISABLE_BLOCK = "ブロックを無効にします。";
976 public const string DUPLICATE_BLOCK = "複製";
977 public const string ENABLE_BLOCK = "ブロックを有効にします。";
978 public const string EXPAND_ALL = "ブロックを展開します。";
979 public const string EXPAND_BLOCK = "ブロックを展開します。";
980 public const string EXTERNAL_INPUTS = "外部入力";
981 public const string HELP = "ヘルプ";
982 public const string INLINE_INPUTS = "インライン入力";
983 public const string LISTS_CREATE_EMPTY_HELPURL = "https://github.com/google/blockly/wiki/Lists#create-empty-list";
984 public const string LISTS_CREATE_EMPTY_TITLE = "空のリストを作成します。";
985 public const string LISTS_CREATE_EMPTY_TOOLTIP = "長さゼロ、データ レコード空のリストを返します";
986 public const string LISTS_CREATE_WITH_CONTAINER_TITLE_ADD = "リスト";
987 public const string LISTS_CREATE_WITH_CONTAINER_TOOLTIP = "追加、削除、またはセクションを順序変更して、ブロックを再構成します。";
988 public const string LISTS_CREATE_WITH_HELPURL = "https://github.com/google/blockly/wiki/Lists#create-list-with"; // untranslated
989 public const string LISTS_CREATE_WITH_INPUT_WITH = "これを使ってリストを作成します。";
990 public const string LISTS_CREATE_WITH_ITEM_TITLE = VARIABLES_DEFAULT_NAME;
991 public const string LISTS_CREATE_WITH_ITEM_TOOLTIP = "リストにアイテムを追加します。";
992 public const string LISTS_CREATE_WITH_TOOLTIP = "アイテム数かぎりないのリストを作成します。";
993 public const string LISTS_GET_INDEX_FIRST = "最初";
994 public const string LISTS_GET_INDEX_FROM_END = "終しまいから #";
995 public const string LISTS_GET_INDEX_FROM_START = "#";
996 public const string LISTS_GET_INDEX_GET = "取得";
997 public const string LISTS_GET_INDEX_GET_REMOVE = "取得と削除";
998 public const string LISTS_GET_INDEX_HELPURL = LISTS_INDEX_OF_HELPURL;
999 public const string LISTS_GET_INDEX_INPUT_IN_LIST = LISTS_INLIST;
1000 public const string LISTS_GET_INDEX_LAST = "最後";
1001 public const string LISTS_GET_INDEX_RANDOM = "ランダム";
1002 public const string LISTS_GET_INDEX_REMOVE = "削除";
1003 public const string LISTS_GET_INDEX_TAIL = "";
1004 public const string LISTS_GET_INDEX_TOOLTIP_GET_FIRST = "リストの最初の項目を返信します。";
1005 public const string LISTS_GET_INDEX_TOOLTIP_GET_FROM = "リスト内の指定位置にある項目を返します。";
1006 public const string LISTS_GET_INDEX_TOOLTIP_GET_LAST = "リストの最後の項目を返します。";
1007 public const string LISTS_GET_INDEX_TOOLTIP_GET_RANDOM = "ランダム アイテム リストを返します。";
1008 public const string LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FIRST = "リスト内の最初の項目を削除したあと返します。";
1009 public const string LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FROM = "リスト内の指定位置にある項目を削除し、返します。";
1010 public const string LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_LAST = "リスト内の最後の項目を削除したあと返します。";
1011 public const string LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_RANDOM = "リストのランダムなアイテムを削除し、返します。";
1012 public const string LISTS_GET_INDEX_TOOLTIP_REMOVE_FIRST = "リスト内の最初の項目を削除します。";
1013 public const string LISTS_GET_INDEX_TOOLTIP_REMOVE_FROM = "リスト内の指定位置にある項目を返します。";
1014 public const string LISTS_GET_INDEX_TOOLTIP_REMOVE_LAST = "リスト内の最後の項目を削除します。";
1015 public const string LISTS_GET_INDEX_TOOLTIP_REMOVE_RANDOM = "リスト内にある任意のアイテムを削除します。";
1016 public const string LISTS_GET_SUBLIST_END_FROM_END = "最後から#へ";
1017 public const string LISTS_GET_SUBLIST_END_FROM_START = "#へ";
1018 public const string LISTS_GET_SUBLIST_END_LAST = "最後へ";
1019 public const string LISTS_GET_SUBLIST_HELPURL = "https://github.com/google/blockly/wiki/Lists#getting-a-sublist"; // untranslated
1020 public const string LISTS_GET_SUBLIST_INPUT_IN_LIST = LISTS_INLIST;
1021 public const string LISTS_GET_SUBLIST_START_FIRST = "最初からサブリストを取得する。";
1022 public const string LISTS_GET_SUBLIST_START_FROM_END = "端から #のサブリストを取得します。";
1023 public const string LISTS_GET_SUBLIST_START_FROM_START = "# からサブディレクトリのリストを取得します。";
1024 public const string LISTS_GET_SUBLIST_TAIL = "";
1025 public const string LISTS_GET_SUBLIST_TOOLTIP = "リストの指定された部分のコピーを作成してくださ。";
1026 public const string LISTS_INDEX_FROM_END_TOOLTIP = "%1 は、最後の項目です。";
1027 public const string LISTS_INDEX_FROM_START_TOOLTIP = "%1 は、最初の項目です。";
1028 public const string LISTS_INDEX_OF_FIRST = "最初に見つかった項目を検索します。";
1029 public const string LISTS_INDEX_OF_HELPURL = "https://github.com/google/blockly/wiki/Lists#getting-items-from-a-list"; // untranslated
1030 public const string LISTS_INDEX_OF_INPUT_IN_LIST = LISTS_INLIST;
1031 public const string LISTS_INDEX_OF_LAST = "最後に見つかったアイテムを見つける";
1032 public const string LISTS_INDEX_OF_TOOLTIP = "リスト項目の最初/最後に出現するインデックス位置を返します。項目が見つからない場合は %1 を返します。";
1033 public const string LISTS_INLIST = "リストで";
1034 public const string LISTS_ISEMPTY_HELPURL = "https://github.com/google/blockly/wiki/Lists#is-empty"; // untranslated
1035 public const string LISTS_ISEMPTY_TITLE = "%1 が空";
1036 public const string LISTS_ISEMPTY_TOOLTIP = "リストが空の場合は、true を返します。";
1037 public const string LISTS_LENGTH_HELPURL = "https://github.com/google/blockly/wiki/Lists#length-of"; // untranslated
1038 public const string LISTS_LENGTH_TITLE = " %1の長さ";
1039 public const string LISTS_LENGTH_TOOLTIP = "リストの長さを返します。";
1040 public const string LISTS_REPEAT_HELPURL = "https://github.com/google/blockly/wiki/Lists#create-list-with"; // untranslated
1041 public const string LISTS_REPEAT_TITLE = "アイテム %1 と一緒にリストを作成し %2 回繰り";
1042 public const string LISTS_REPEAT_TOOLTIP = "指定された値をなんどか繰り返してリストを作ります。";
1043 public const string LISTS_SET_INDEX_HELPURL = "https://github.com/google/blockly/wiki/Lists#in-list--set"; // untranslated
1044 public const string LISTS_SET_INDEX_INPUT_IN_LIST = LISTS_INLIST;
1045 public const string LISTS_SET_INDEX_INPUT_TO = "として";
1046 public const string LISTS_SET_INDEX_INSERT = "挿入します。";
1047 public const string LISTS_SET_INDEX_SET = "セット";
1048 public const string LISTS_SET_INDEX_TOOLTIP = "";
1049 public const string LISTS_SET_INDEX_TOOLTIP_INSERT_FIRST = "リストの先頭に項目を挿入します。";
1050 public const string LISTS_SET_INDEX_TOOLTIP_INSERT_FROM = "リスト内の指定位置に項目を挿入します。";
1051 public const string LISTS_SET_INDEX_TOOLTIP_INSERT_LAST = "リストの末尾に項目を追加します。";
1052 public const string LISTS_SET_INDEX_TOOLTIP_INSERT_RANDOM = "リストに項目をランダムに挿入します。";
1053 public const string LISTS_SET_INDEX_TOOLTIP_SET_FIRST = "リスト内に最初の項目を設定します。";
1054 public const string LISTS_SET_INDEX_TOOLTIP_SET_FROM = "リスト内の指定された位置に項目を設定します。";
1055 public const string LISTS_SET_INDEX_TOOLTIP_SET_LAST = "リスト内の最後の項目を設定します。";
1056 public const string LISTS_SET_INDEX_TOOLTIP_SET_RANDOM = "リスト内にランダムなアイテムを設定します。";
1057 public const string LISTS_SORT_HELPURL = "https://github.com/google/blockly/wiki/Lists#sorting-a-list"; // untranslated
1058 public const string LISTS_SORT_ORDER_ASCENDING = "昇順";
1059 public const string LISTS_SORT_ORDER_DESCENDING = "降順";
1060 public const string LISTS_SORT_TITLE = "sort %1 %2 %3"; // untranslated
1061 public const string LISTS_SORT_TOOLTIP = "Sort a copy of a list."; // untranslated
1062 public const string LISTS_SORT_TYPE_IGNORECASE = "alphabetic, ignore case"; // untranslated
1063 public const string LISTS_SORT_TYPE_NUMERIC = "numeric"; // untranslated
1064 public const string LISTS_SORT_TYPE_TEXT = "alphabetic"; // untranslated
1065 public const string LISTS_SPLIT_HELPURL = "https://github.com/google/blockly/wiki/Lists#splitting-strings-and-joining-lists"; // untranslated
1066 public const string LISTS_SPLIT_LIST_FROM_TEXT = "テキストからリストを作る";
1067 public const string LISTS_SPLIT_TEXT_FROM_LIST = "リストからテキストを作る";
1068 public const string LISTS_SPLIT_TOOLTIP_JOIN = "Join a list of texts into one text, separated by a delimiter."; // untranslated
1069 public const string LISTS_SPLIT_TOOLTIP_SPLIT = "Split text into a list of texts, breaking at each delimiter."; // untranslated
1070 public const string LISTS_SPLIT_WITH_DELIMITER = "with delimiter"; // untranslated
1071 public const string LOGIC_BOOLEAN_FALSE = "false";
1072 public const string LOGIC_BOOLEAN_HELPURL = "https://github.com/google/blockly/wiki/Logic#values"; // untranslated
1073 public const string LOGIC_BOOLEAN_TOOLTIP = "True または false を返します。";
1074 public const string LOGIC_BOOLEAN_TRUE = "true";
1075 public const string LOGIC_COMPARE_HELPURL = "https://ja.wikipedia.org/wiki/不等式";
1076 public const string LOGIC_COMPARE_TOOLTIP_EQ = "もし両方がお互いに等しく入力した場合は true を返します。";
1077 public const string LOGIC_COMPARE_TOOLTIP_GT = "最初の入力が 2 番目の入力よりも大きい場合は true を返します。";
1078 public const string LOGIC_COMPARE_TOOLTIP_GTE = "もし入力がふたつめの入よりも大きかったらtrueをり返します。";
1079 public const string LOGIC_COMPARE_TOOLTIP_LT = "最初の入力が 2 番目の入力よりも小さいい場合は true を返します。";
1080 public const string LOGIC_COMPARE_TOOLTIP_LTE = "もし、最初の入力が二つ目入力より少ないか、おなじであったらTRUEをかえしてください";
1081 public const string LOGIC_COMPARE_TOOLTIP_NEQ = "両方の入力が互いに等しくない場合に true を返します。";
1082 public const string LOGIC_NEGATE_HELPURL = "https://ja.wikipedia.org/wiki/否定";
1083 public const string LOGIC_NEGATE_TITLE = "%1 ではないです。";
1084 public const string LOGIC_NEGATE_TOOLTIP = "入力が false の場合は、true を返します。入力が true の場合は false を返します。";
1085 public const string LOGIC_NULL = "null";
1086 public const string LOGIC_NULL_HELPURL = "https://en.wikipedia.org/wiki/Nullable_type";
1087 public const string LOGIC_NULL_TOOLTIP = "Null を返します。";
1088 public const string LOGIC_OPERATION_AND = "そして";
1089 public const string LOGIC_OPERATION_HELPURL = "https://github.com/google/blockly/wiki/Logic#logical-operations"; // untranslated
1090 public const string LOGIC_OPERATION_OR = "または";
1091 public const string LOGIC_OPERATION_TOOLTIP_AND = "両方の入力が同じ場合は true を返します。";
1092 public const string LOGIC_OPERATION_TOOLTIP_OR = "最低少なくとも 1 つの入力が true の場合は true を返します。";
1093 public const string LOGIC_TERNARY_CONDITION = "テスト";
1094 public const string LOGIC_TERNARY_HELPURL = "https://ja.wikipedia.org/wiki/%3F:";
1095 public const string LOGIC_TERNARY_IF_FALSE = "false の場合";
1096 public const string LOGIC_TERNARY_IF_TRUE = "true の場合";
1097 public const string LOGIC_TERNARY_TOOLTIP = "'テスト' の条件をチェックします。条件が true の場合、'true' の値を返します。それ以外の場合 'false' のを返します。";
1098 public const string MATH_ADDITION_SYMBOL = "+";
1099 public const string MATH_ARITHMETIC_HELPURL = "https://ja.wikipedia.org/wiki/算術";
1100 public const string MATH_ARITHMETIC_TOOLTIP_ADD = "2 つの数の合計を返します。";
1101 public const string MATH_ARITHMETIC_TOOLTIP_DIVIDE = "2 つの数の商を返します。";
1102 public const string MATH_ARITHMETIC_TOOLTIP_MINUS = "2 つの数の差を返します。";
1103 public const string MATH_ARITHMETIC_TOOLTIP_MULTIPLY = "2 つの数の積を返します。";
1104 public const string MATH_ARITHMETIC_TOOLTIP_POWER = "最初の数を2 番目の値で累乗した結果を返します。";
1105 public const string MATH_CHANGE_HELPURL = "https://ja.wikipedia.org/wiki/加法";
1106 public const string MATH_CHANGE_TITLE = "変更 %1 に %2";
1107 public const string MATH_CHANGE_TITLE_ITEM = VARIABLES_DEFAULT_NAME;
1108 public const string MATH_CHANGE_TOOLTIP = "'%1' をたします。";
1109 public const string MATH_CONSTANT_HELPURL = "https://ja.wikipedia.org/wiki/数学定数";
1110 public const string MATH_CONSTANT_TOOLTIP = "いずれかの共通の定数のを返す: π (3.141…), e (2.718…), φ (1.618…), sqrt(2) (1.414…), sqrt(½) (0.707…), or ∞ (無限).";
1111 public const string MATH_CONSTRAIN_HELPURL = "https://en.wikipedia.org/wiki/Clamping_%28graphics%29"; // untranslated
1112 public const string MATH_CONSTRAIN_TITLE = "制限%1下リミット%2上限リミット%3";
1113 public const string MATH_CONSTRAIN_TOOLTIP = "値を、上限 x と下限 y の間に制限する(上限と下限が、x と y とに同じ場合は、上限の値は x, 下限の値はy)。";
1114 public const string MATH_DIVISION_SYMBOL = "÷";
1115 public const string MATH_IS_DIVISIBLE_BY = "割り切れる";
1116 public const string MATH_IS_EVEN = "わ偶数";
1117 public const string MATH_IS_NEGATIVE = "負の値";
1118 public const string MATH_IS_ODD = "奇数です。";
1119 public const string MATH_IS_POSITIVE = "正の値";
1120 public const string MATH_IS_PRIME = "素数です";
1121 public const string MATH_IS_TOOLTIP = "数字が、偶数、奇数、素数、整数、正数、負数、またはそれが特定の数で割り切れる場合かどうかを確認してください。どの制限が一つでも本当でしたら true をかえしてください、そうでない場合わ falseを返してください。";
1122 public const string MATH_IS_WHOLE = "は整数";
1123 public const string MATH_MODULO_HELPURL = "https://en.wikipedia.org/wiki/Modulo_operation";
1124 public const string MATH_MODULO_TITLE = "残りの %1 ÷ %2";
1125 public const string MATH_MODULO_TOOLTIP = "2つの数値を除算した余りを返します。";
1126 public const string MATH_MULTIPLICATION_SYMBOL = "×";
1127 public const string MATH_NUMBER_HELPURL = "https://ja.wikipedia.org/wiki/数";
1128 public const string MATH_NUMBER_TOOLTIP = "数です。";
1129 public const string MATH_ONLIST_HELPURL = "";
1130 public const string MATH_ONLIST_OPERATOR_AVERAGE = "リストの平均";
1131 public const string MATH_ONLIST_OPERATOR_MAX = "リストの最大値";
1132 public const string MATH_ONLIST_OPERATOR_MEDIAN = "リストの中央値";
1133 public const string MATH_ONLIST_OPERATOR_MIN = "リストの最小の数";
1134 public const string MATH_ONLIST_OPERATOR_MODE = "一覧モード";
1135 public const string MATH_ONLIST_OPERATOR_RANDOM = "リストのランダム アイテム";
1136 public const string MATH_ONLIST_OPERATOR_STD_DEV = "リストの標準偏差";
1137 public const string MATH_ONLIST_OPERATOR_SUM = "リストの合計";
1138 public const string MATH_ONLIST_TOOLTIP_AVERAGE = "リストの数値の平均 (算術平均) を返します。";
1139 public const string MATH_ONLIST_TOOLTIP_MAX = "リストの最大数を返します。";
1140 public const string MATH_ONLIST_TOOLTIP_MEDIAN = "リストの中央値の数を返します。";
1141 public const string MATH_ONLIST_TOOLTIP_MIN = "リストの最小数を返します。";
1142 public const string MATH_ONLIST_TOOLTIP_MODE = "リストで最も一般的な項目のリストを返します。";
1143 public const string MATH_ONLIST_TOOLTIP_RANDOM = "リストからランダムに要素を返します。";
1144 public const string MATH_ONLIST_TOOLTIP_STD_DEV = "リウトの標準偏差をかえす";
1145 public const string MATH_ONLIST_TOOLTIP_SUM = "全部リストの数をたして返す";
1146 public const string MATH_POWER_SYMBOL = "^";
1147 public const string MATH_RANDOM_FLOAT_HELPURL = "https://en.wikipedia.org/wiki/Random_number_generation";
1148 public const string MATH_RANDOM_FLOAT_TITLE_RANDOM = "ランダムな分数";
1149 public const string MATH_RANDOM_FLOAT_TOOLTIP = "ランダムな分数を返すー0.0 (包括) の間のと 1.0 (排他的な)。";
1150 public const string MATH_RANDOM_INT_HELPURL = "https://en.wikipedia.org/wiki/Random_number_generation";
1151 public const string MATH_RANDOM_INT_TITLE = "%1 から %2 への無作為の整数";
1152 public const string MATH_RANDOM_INT_TOOLTIP = "指定した下限の間、無作為なランダムな整数を返します。";
1153 public const string MATH_ROUND_HELPURL = "https://ja.wikipedia.org/wiki/端数処理";
1154 public const string MATH_ROUND_OPERATOR_ROUND = "概数";
1155 public const string MATH_ROUND_OPERATOR_ROUNDDOWN = "端数を切り捨てる";
1156 public const string MATH_ROUND_OPERATOR_ROUNDUP = "数値を切り上げ";
1157 public const string MATH_ROUND_TOOLTIP = "数値を切り上げるか切り捨てる";
1158 public const string MATH_SINGLE_HELPURL = "https://ja.wikipedia.org/wiki/平方根";
1159 public const string MATH_SINGLE_OP_ABSOLUTE = "絶対値";
1160 public const string MATH_SINGLE_OP_ROOT = "平方根";
1161 public const string MATH_SINGLE_TOOLTIP_ABS = "絶対値を返す";
1162 public const string MATH_SINGLE_TOOLTIP_EXP = "数値の e 粂を返す";
1163 public const string MATH_SINGLE_TOOLTIP_LN = "数値の自然対数をかえしてください";
1164 public const string MATH_SINGLE_TOOLTIP_LOG10 = "log 10 を返す。";
1165 public const string MATH_SINGLE_TOOLTIP_NEG = "負の数を返す";
1166 public const string MATH_SINGLE_TOOLTIP_POW10 = "10の x 乗";
1167 public const string MATH_SINGLE_TOOLTIP_ROOT = "平方根を返す";
1168 public const string MATH_SUBTRACTION_SYMBOL = "-";
1169 public const string MATH_TRIG_ACOS = "acos";
1170 public const string MATH_TRIG_ASIN = "asin";
1171 public const string MATH_TRIG_ATAN = "atan";
1172 public const string MATH_TRIG_COS = "cos";
1173 public const string MATH_TRIG_HELPURL = "https://ja.wikipedia.org/wiki/三角関数";
1174 public const string MATH_TRIG_SIN = "sin";
1175 public const string MATH_TRIG_TAN = "tan";
1176 public const string MATH_TRIG_TOOLTIP_ACOS = "arccosine の値を返す";
1177 public const string MATH_TRIG_TOOLTIP_ASIN = "番号のarcsine を返すます";
1178 public const string MATH_TRIG_TOOLTIP_ATAN = "番号のarctangent を返すます";
1179 public const string MATH_TRIG_TOOLTIP_COS = "番号のcosineの次数を返す";
1180 public const string MATH_TRIG_TOOLTIP_SIN = "番号のsineの次数を返す";
1181 public const string MATH_TRIG_TOOLTIP_TAN = "番号のtangentの次数を返す";
1182 public const string NEW_VARIABLE = "新しい変数";
1183 public const string NEW_VARIABLE_TITLE = "新しい変数の、名前";
1184 public const string ORDINAL_NUMBER_SUFFIX = "";
1185 public const string PROCEDURES_ALLOW_STATEMENTS = "allow statements"; // untranslated
1186 public const string PROCEDURES_BEFORE_PARAMS = "で。";
1187 public const string PROCEDURES_CALLNORETURN_HELPURL = "https://ja.wikipedia.org/wiki/サブルーチン";
1188 public const string PROCEDURES_CALLNORETURN_TOOLTIP = "ユーザー定義関数 '%1' を実行します。";
1189 public const string PROCEDURES_CALLRETURN_HELPURL = "https://ja.wikipedia.org/wiki/サブルーチン";
1190 public const string PROCEDURES_CALLRETURN_TOOLTIP = "ユーザー定義関数 '%1' を実行し、その出力を使用します。";
1191 public const string PROCEDURES_CALL_BEFORE_PARAMS = "で。";
1192 public const string PROCEDURES_CREATE_DO = "%1をつくる";
1193 public const string PROCEDURES_DEFNORETURN_COMMENT = "Describe this function..."; // untranslated
1194 public const string PROCEDURES_DEFNORETURN_DO = "";
1195 public const string PROCEDURES_DEFNORETURN_HELPURL = "https://ja.wikipedia.org/wiki/サブルーチン";
1196 public const string PROCEDURES_DEFNORETURN_PROCEDURE = "何かしてください";
1197 public const string PROCEDURES_DEFNORETURN_TITLE = "宛先";
1198 public const string PROCEDURES_DEFNORETURN_TOOLTIP = "出力なしで関数を作成します。";
1199 public const string PROCEDURES_DEFRETURN_COMMENT = PROCEDURES_DEFNORETURN_COMMENT;
1200 public const string PROCEDURES_DEFRETURN_HELPURL = "https://ja.wikipedia.org/wiki/サブルーチン";
1201 public const string PROCEDURES_DEFRETURN_PROCEDURE = PROCEDURES_DEFNORETURN_PROCEDURE;
1202 public const string PROCEDURES_DEFRETURN_RETURN = "返す";
1203 public const string PROCEDURES_DEFRETURN_TITLE = PROCEDURES_DEFNORETURN_TITLE;
1204 public const string PROCEDURES_DEFRETURN_TOOLTIP = "出力を持つ関数を作成します。";
1205 public const string PROCEDURES_DEF_DUPLICATE_WARNING = "警告: この関数は、重複するパラメーターがあります。";
1206 public const string PROCEDURES_HIGHLIGHT_DEF = "関数の内容を強調表示します。";
1207 public const string PROCEDURES_IFRETURN_HELPURL = "http://c2.com/cgi/wiki?GuardClause"; // untranslated
1208 public const string PROCEDURES_IFRETURN_TOOLTIP = "1番目値が true の場合、2 番目の値を返します。";
1209 public const string PROCEDURES_IFRETURN_WARNING = "警告: このブロックは、関数定義内でのみ使用できます。";
1210 public const string PROCEDURES_MUTATORARG_TITLE = "入力名:";
1211 public const string PROCEDURES_MUTATORARG_TOOLTIP = "Add an input to the function."; // untranslated
1212 public const string PROCEDURES_MUTATORCONTAINER_TITLE = "入力";
1213 public const string PROCEDURES_MUTATORCONTAINER_TOOLTIP = "Add, remove, or reorder inputs to this function."; // untranslated
1214 public const string REDO = "やり直し";
1215 public const string REMOVE_COMMENT = "コメントを削除";
1216 public const string RENAME_VARIABLE = "変数の名前を変更.";
1217 public const string RENAME_VARIABLE_TITLE = "%1の変数すべてを名前変更します。";
1218 public const string TEXT_APPEND_APPENDTEXT = "テキストを追加します。";
1219 public const string TEXT_APPEND_HELPURL = "https://github.com/google/blockly/wiki/Text#text-modification"; // untranslated
1220 public const string TEXT_APPEND_TO = "宛先";
1221 public const string TEXT_APPEND_TOOLTIP = "変数 '%1' にいくつかのテキストを追加します。";
1222 public const string TEXT_APPEND_VARIABLE = VARIABLES_DEFAULT_NAME;
1223 public const string TEXT_CHANGECASE_HELPURL = "https://github.com/google/blockly/wiki/Text#adjusting-text-case"; // untranslated
1224 public const string TEXT_CHANGECASE_OPERATOR_LOWERCASE = "小文字に";
1225 public const string TEXT_CHANGECASE_OPERATOR_TITLECASE = "タイトル ケースに";
1226 public const string TEXT_CHANGECASE_OPERATOR_UPPERCASE = "大文字に変換する";
1227 public const string TEXT_CHANGECASE_TOOLTIP = "別のケースに、テキストのコピーを返します。";
1228 public const string TEXT_CHARAT_FIRST = "最初の文字を得る";
1229 public const string TEXT_CHARAT_FROM_END = "一番最後の言葉、キャラクターを所得";
1230 public const string TEXT_CHARAT_FROM_START = "文字# を取得";
1231 public const string TEXT_CHARAT_HELPURL = "https://github.com/google/blockly/wiki/Text#extracting-text"; // untranslated
1232 public const string TEXT_CHARAT_INPUT_INTEXT = "テキストで";
1233 public const string TEXT_CHARAT_LAST = "最後の文字を得る";
1234 public const string TEXT_CHARAT_RANDOM = "ランダムな文字を得る";
1235 public const string TEXT_CHARAT_TAIL = "";
1236 public const string TEXT_CHARAT_TOOLTIP = "指定された位置に文字を返します。";
1237 public const string TEXT_CREATE_JOIN_ITEM_TITLE_ITEM = VARIABLES_DEFAULT_NAME;
1238 public const string TEXT_CREATE_JOIN_ITEM_TOOLTIP = "テキスト をアイテム追加します。";
1239 public const string TEXT_CREATE_JOIN_TITLE_JOIN = "結合";
1240 public const string TEXT_CREATE_JOIN_TOOLTIP = "追加、削除、またはセクションを順序変更して、ブロックを再構成します。";
1241 public const string TEXT_GET_SUBSTRING_END_FROM_END = "文字列の# 終わりからの#";
1242 public const string TEXT_GET_SUBSTRING_END_FROM_START = "# の文字";
1243 public const string TEXT_GET_SUBSTRING_END_LAST = "最後のの文字";
1244 public const string TEXT_GET_SUBSTRING_HELPURL = "https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text"; // untranslated
1245 public const string TEXT_GET_SUBSTRING_INPUT_IN_TEXT = "テキストで";
1246 public const string TEXT_GET_SUBSTRING_START_FIRST = "部分文字列を取得する。";
1247 public const string TEXT_GET_SUBSTRING_START_FROM_END = "部分文字列を取得する #端から得る";
1248 public const string TEXT_GET_SUBSTRING_START_FROM_START = "文字列からの部分文字列を取得 #";
1249 public const string TEXT_GET_SUBSTRING_TAIL = "";
1250 public const string TEXT_GET_SUBSTRING_TOOLTIP = "テキストの指定部分を返します。";
1251 public const string TEXT_INDEXOF_HELPURL = "https://github.com/google/blockly/wiki/Text#finding-text"; // untranslated
1252 public const string TEXT_INDEXOF_INPUT_INTEXT = "テキストで";
1253 public const string TEXT_INDEXOF_OPERATOR_FIRST = "テキストの最初の出現箇所を検索します。";
1254 public const string TEXT_INDEXOF_OPERATOR_LAST = "テキストの最後に見つかったを検索します。";
1255 public const string TEXT_INDEXOF_TAIL = "";
1256 public const string TEXT_INDEXOF_TOOLTIP = "最初のテキストの二番目のてきすとの、最初と最後の、出現したインデックスをかえします。テキストが見つからない場合は %1 を返します。";
1257 public const string TEXT_ISEMPTY_HELPURL = "https://github.com/google/blockly/wiki/Text#checking-for-empty-text"; // untranslated
1258 public const string TEXT_ISEMPTY_TITLE = "%1 が空";
1259 public const string TEXT_ISEMPTY_TOOLTIP = "指定されたテキストが空の場合は、true を返します。";
1260 public const string TEXT_JOIN_HELPURL = "https://github.com/google/blockly/wiki/Text#text-creation"; // untranslated
1261 public const string TEXT_JOIN_TITLE_CREATEWITH = "テキストを作成します。";
1262 public const string TEXT_JOIN_TOOLTIP = "任意の数の項目一部を一緒に接合してテキストの作成します。";
1263 public const string TEXT_LENGTH_HELPURL = "https://github.com/google/blockly/wiki/Text#text-modification"; // untranslated
1264 public const string TEXT_LENGTH_TITLE = "%1 の長さ";
1265 public const string TEXT_LENGTH_TOOLTIP = "指定されたテキストの文字 (スペースを含む) の数を返します。";
1266 public const string TEXT_PRINT_HELPURL = "https://github.com/google/blockly/wiki/Text#printing-text"; // untranslated
1267 public const string TEXT_PRINT_TITLE = "%1 を印刷します。";
1268 public const string TEXT_PRINT_TOOLTIP = "指定したテキスト、番号または他の値を印刷します。";
1269 public const string TEXT_PROMPT_HELPURL = "https://github.com/google/blockly/wiki/Text#getting-input-from-the-user"; // untranslated
1270 public const string TEXT_PROMPT_TOOLTIP_NUMBER = "ユーザーにプロンプトで数字のインプットを求めます";
1271 public const string TEXT_PROMPT_TOOLTIP_TEXT = "ユーザーにプロンプトでテキストのインプットを求めます";
1272 public const string TEXT_PROMPT_TYPE_NUMBER = "プロンプトで数字の入力を求める";
1273 public const string TEXT_PROMPT_TYPE_TEXT = "プロンプトでテキストの入力を求める";
1274 public const string TEXT_TEXT_HELPURL = "https://ja.wikipedia.org/wiki/文字列";
1275 public const string TEXT_TEXT_TOOLTIP = "文字、単語、または行のテキスト。";
1276 public const string TEXT_TRIM_HELPURL = "https://github.com/google/blockly/wiki/Text#trimming-removing-spaces"; // untranslated
1277 public const string TEXT_TRIM_OPERATOR_BOTH = "両端のスペースを取り除く";
1278 public const string TEXT_TRIM_OPERATOR_LEFT = "左端のスペースを取り除く";
1279 public const string TEXT_TRIM_OPERATOR_RIGHT = "右端のスペースを取り除く";
1280 public const string TEXT_TRIM_TOOLTIP = "スペースを 1 つまたは両方の端から削除したのち、テキストのコピーを返します。";
1281 public const string TODAY = "今日";
1282 public const string UNDO = "取り消し";
1283 public const string VARIABLES_DEFAULT_NAME = "項目";
1284 public const string VARIABLES_GET_CREATE_SET = "'セット%1を作成します。";
1285 public const string VARIABLES_GET_HELPURL = "https://github.com/google/blockly/wiki/Variables#get"; // untranslated
1286 public const string VARIABLES_GET_TOOLTIP = "この変数の値を返します。";
1287 public const string VARIABLES_SET = "セット %1 宛先 %2";
1288 public const string VARIABLES_SET_CREATE_GET = "'%1 を取得' を作成します。";
1289 public const string VARIABLES_SET_HELPURL = "https://github.com/google/blockly/wiki/Variables#set"; // untranslated
1290 public const string VARIABLES_SET_TOOLTIP = "この入力を変数と等しくなるように設定します。";
1291 public const string VARIABLE_ALREADY_EXISTS = "変数名 '%1' は既に存在しています。";
1292 public const string VIEWS_MAIN_MENU_VIEW_LOAD_ERROR = "{$filename}{$error}";
1293 public const string VIEWS_MAIN_MENU_VIEW_LOAD_SUCCEEDED = "ロードしました";
1294}
Note: See TracBrowser for help on using the repository browser.