mirror of
https://github.com/google/blockly.git
synced 2025-12-16 06:10:12 +01:00
chore(demos): delete plane demo (#6064)
This commit is contained in:
@@ -90,6 +90,8 @@ if (loc.match('/demos/fixed/')) {
|
|||||||
loc = 'https://google.github.io/blockly-samples/examples/pitch-field-demo/';
|
loc = 'https://google.github.io/blockly-samples/examples/pitch-field-demo/';
|
||||||
} else if (loc.match('/demos/mirror/')) {
|
} else if (loc.match('/demos/mirror/')) {
|
||||||
loc = 'https://google.github.io/blockly-samples/examples/mirror-demo/';
|
loc = 'https://google.github.io/blockly-samples/examples/mirror-demo/';
|
||||||
|
} else if (loc.match('/demos/plane/')) {
|
||||||
|
loc = 'https://google.github.io/blockly-samples/examples/plane-demo/';
|
||||||
}
|
}
|
||||||
|
|
||||||
location = loc;
|
location = loc;
|
||||||
|
|||||||
@@ -197,18 +197,6 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<a href="plane/index.html">
|
|
||||||
<img src="plane/icon.png" height=80 width=100>
|
|
||||||
</a>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<div><a href="plane/index.html">Plane</a></div>
|
|
||||||
<div>Using Closure Templates to support 35 languages.</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<a href="code/index.html">
|
<a href="code/index.html">
|
||||||
|
|||||||
@@ -1,26 +0,0 @@
|
|||||||
This Blockly demo uses Closure Templates to create a multilingual application.
|
|
||||||
Any changes to the template.soy file require a recompile. Here is the command
|
|
||||||
to generate a quick English version for debugging:
|
|
||||||
|
|
||||||
java -jar soy/SoyToJsSrcCompiler.jar --outputPathFormat generated/en.js --srcs template.soy
|
|
||||||
|
|
||||||
To generate a full set of language translations, first extract all the strings
|
|
||||||
from template.soy using this command:
|
|
||||||
|
|
||||||
java -jar soy/SoyMsgExtractor.jar --outputFile xlf/extracted_msgs.xlf template.soy
|
|
||||||
|
|
||||||
This generates xlf/extracted_msgs.xlf, which may then be used by any
|
|
||||||
XLIFF-compatible translation console to generate a set of files with the
|
|
||||||
translated strings. These should be placed in the xlf directory.
|
|
||||||
|
|
||||||
Finally, generate all the language versions with this command:
|
|
||||||
|
|
||||||
java -jar soy/SoyToJsSrcCompiler.jar --locales ar,be-tarask,br,ca,da,de,el,en,es,fa,fr,he,hrx,hu,ia,is,it,ja,ko,ms,nb,nl,pl,pms,pt-br,ro,ru,sc,sv,th,tr,uk,vi,zh-hans,zh-hant --messageFilePathFormat xlf/translated_msgs_{LOCALE}.xlf --outputPathFormat "generated/{LOCALE}.js" template.soy
|
|
||||||
|
|
||||||
This is the process that Google uses for maintaining Blockly Games in 50+
|
|
||||||
languages. The XLIFF format is simple enough that it is trivial to write a
|
|
||||||
Python script to reformat it into some other format (such as JSON) for
|
|
||||||
compatibility with other translation consoles.
|
|
||||||
|
|
||||||
For more information, see message translation for Closure Templates:
|
|
||||||
https://developers.google.com/closure/templates/docs/translation
|
|
||||||
@@ -1,95 +0,0 @@
|
|||||||
/**
|
|
||||||
* @license
|
|
||||||
* Copyright 2013 Google LLC
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Blocks for Blockly's Plane Seat Calculator application.
|
|
||||||
*/
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
Blockly.Blocks['plane_set_seats'] = {
|
|
||||||
// Block seat variable setter.
|
|
||||||
init: function() {
|
|
||||||
this.setHelpUrl(Blockly.Msg['VARIABLES_SET_HELPURL']);
|
|
||||||
this.setColour(330);
|
|
||||||
this.appendValueInput('VALUE')
|
|
||||||
.appendField(Plane.getMsg('Plane_setSeats'));
|
|
||||||
this.setTooltip(Blockly.Msg['VARIABLES_SET_TOOLTIP']);
|
|
||||||
this.setDeletable(false);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
Blockly.JavaScript['plane_set_seats'] = function(block) {
|
|
||||||
// Generate JavaScript for seat variable setter.
|
|
||||||
var argument0 = Blockly.JavaScript.valueToCode(block, 'VALUE',
|
|
||||||
Blockly.JavaScript.ORDER_ASSIGNMENT) || 'NaN';
|
|
||||||
return argument0 + ';';
|
|
||||||
};
|
|
||||||
|
|
||||||
Blockly.Blocks['plane_get_rows'] = {
|
|
||||||
// Block for row variable getter.
|
|
||||||
init: function() {
|
|
||||||
this.setHelpUrl(Blockly.Msg['VARIABLES_GET_HELPURL']);
|
|
||||||
this.setColour(330);
|
|
||||||
this.appendDummyInput()
|
|
||||||
.appendField(Plane.getMsg('Plane_getRows')
|
|
||||||
.replace('%1', Plane.rows1st), 'title');
|
|
||||||
this.setOutput(true, 'Number');
|
|
||||||
},
|
|
||||||
customUpdate: function() {
|
|
||||||
this.setFieldValue(
|
|
||||||
Plane.getMsg('Plane_getRows')
|
|
||||||
.replace('%1', Plane.rows1st), 'title');
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
Blockly.JavaScript['plane_get_rows'] = function(block) {
|
|
||||||
// Generate JavaScript for row variable getter.
|
|
||||||
return ['Plane.rows1st', Blockly.JavaScript.ORDER_MEMBER];
|
|
||||||
};
|
|
||||||
|
|
||||||
Blockly.Blocks['plane_get_rows1st'] = {
|
|
||||||
// Block for first class row variable getter.
|
|
||||||
init: function() {
|
|
||||||
this.setHelpUrl(Blockly.Msg['VARIABLES_GET_HELPURL']);
|
|
||||||
this.setColour(330);
|
|
||||||
this.appendDummyInput()
|
|
||||||
.appendField(Plane.getMsg('Plane_getRows1')
|
|
||||||
.replace('%1', Plane.rows1st), 'title');
|
|
||||||
this.setOutput(true, 'Number');
|
|
||||||
},
|
|
||||||
customUpdate: function() {
|
|
||||||
this.setFieldValue(
|
|
||||||
Plane.getMsg('Plane_getRows1')
|
|
||||||
.replace('%1', Plane.rows1st), 'title');
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
Blockly.JavaScript['plane_get_rows1st'] = function(block) {
|
|
||||||
// Generate JavaScript for first class row variable getter.
|
|
||||||
return ['Plane.rows1st', Blockly.JavaScript.ORDER_MEMBER];
|
|
||||||
};
|
|
||||||
|
|
||||||
Blockly.Blocks['plane_get_rows2nd'] = {
|
|
||||||
// Block for second class row variable getter.
|
|
||||||
init: function() {
|
|
||||||
this.setHelpUrl(Blockly.Msg['VARIABLES_GET_HELPURL']);
|
|
||||||
this.setColour(330);
|
|
||||||
this.appendDummyInput()
|
|
||||||
.appendField(Plane.getMsg('Plane_getRows2')
|
|
||||||
.replace('%1', Plane.rows2nd), 'title');
|
|
||||||
this.setOutput(true, 'Number');
|
|
||||||
},
|
|
||||||
customUpdate: function() {
|
|
||||||
this.setFieldValue(
|
|
||||||
Plane.getMsg('Plane_getRows2')
|
|
||||||
.replace('%1', Plane.rows2nd), 'title');
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
Blockly.JavaScript['plane_get_rows2nd'] = function(block) {
|
|
||||||
// Generate JavaScript for second class row variable getter.
|
|
||||||
return ['Plane.rows2nd', Blockly.JavaScript.ORDER_MEMBER];
|
|
||||||
};
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">\u0627\u0644\u0635\u0641\u0648\u0641: %1</span><span id="Plane_getRows">\u0627\u0644\u0635\u0641\u0648\u0641 (%1)</span><span id="Plane_rows1">\u0635\u0641\u0648\u0641 \u0627\u0644\u0637\u0628\u0642\u0629 \u0627\u0644\u0623\u0648\u0644\u0649: %1</span><span id="Plane_getRows1">\u0635\u0641\u0648\u0641 \u0627\u0644\u0637\u0628\u0642\u0629 \u0627\u0644\u0623\u0648\u0644\u0649 (%1)</span><span id="Plane_rows2">\u0635\u0641\u0648\u0641 \u0627\u0644\u0641\u0626\u0629 \u0627\u0644\u062B\u0627\u0646\u064A\u0629: %1</span><span id="Plane_getRows2">\u0635\u0641\u0648\u0641 \u0627\u0644\u0641\u0626\u0629 \u0627\u0644\u062B\u0627\u0646\u064A\u0629: (%1)</span><span id="Plane_seats">\u0627\u0644\u0645\u0642\u0627\u0639\u062F: %1</span><span id="Plane_placeholder">\u061F</span><span id="Plane_setSeats">\u0627\u0644\u0645\u0642\u0627\u0639\u062F =</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">\u0622\u0644\u0629 \u062D\u0627\u0633\u0628\u0629 \u0644\u0645\u0642\u0639\u062F \u0627\u0644\u0637\u0627\u0626\u0631\u0629</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += '\u0647\u0646\u0627\u0644\u0643 \u0637\u0627\u0626\u0631\u0629 \u062A\u062D\u062A\u0648\u064A \u0639\u0644\u0649 \u0639\u062F\u062F \u0645\u0646 \u0635\u0641\u0648\u0641 \u0645\u0642\u0627\u0639\u062F \u0627\u0644\u0631\u0643\u0627\u0628. \u0643\u0644 \u0635\u0641 \u064A\u062D\u062A\u0648\u064A \u0639\u0644\u0649 \u0623\u0631\u0628\u0639\u0629 \u0645\u0642\u0627\u0639\u062F.';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += '\u0637\u0627\u0626\u0631\u0629 \u0628\u0645\u0642\u0639\u062F\u064A\u0646 \u0641\u064A \u0645\u0642\u0637\u0648\u0631\u0629 \u0627\u0644\u0637\u064A\u0651\u0627\u0631 (\u0644\u0644\u0637\u064A\u0627\u0631 \u0648\u0645\u0633\u0627\u0639\u062F\u0647) \u0648\u0639\u062F\u062F \u0645\u0646 \u0627\u0644\u0635\u0641\u0648\u0641 \u064A\u062D\u062A\u0648\u064A \u0643\u0644 \u0635\u0641 \u0639\u0644\u0649 \u0623\u0631\u0628\u0639\u0629 \u0645\u0642\u0627\u0639\u062F.';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += '\u0637\u0627\u0626\u0631\u0629 \u0628\u0645\u0642\u0639\u062F\u064A\u0646 \u0641\u064A \u0645\u0642\u0637\u0648\u0631\u0629 \u0627\u0644\u0637\u064A\u0651\u0627\u0631 (\u0644\u0644\u0637\u064A\u0627\u0631 \u0648\u0645\u0633\u0627\u0639\u062F\u0647) \u0648\u0639\u062F\u062F \u0645\u0646 \u0627\u0644\u0645\u0642\u0627\u0639\u062F \u0641\u064A \u0635\u0641\u0648\u0641 \u0627\u0644\u062F\u0631\u062C\u0629 \u0627\u0644\u0623\u0648\u0644\u0649 \u0648\u0627\u0644\u062B\u0627\u0646\u064A\u0629. \u0643\u0644 \u0635\u0641 \u0645\u0646 \u0635\u0641\u0648\u0641 \u0627\u0644\u062F\u0631\u062C\u0629 \u0627\u0644\u0623\u0648\u0644\u0649 \u064A\u062D\u062A\u0648\u064A \u0639\u0644\u0649 \u0623\u0631\u0628\u0639\u0629 \u0645\u0642\u0627\u0639\u062F. \u0648\u064A\u062D\u062A\u0648\u064A \u0643\u0644 \u0635\u0641 \u0641\u064A \u0627\u0644\u062F\u0631\u062C\u0629 \u0627\u0644\u062B\u0627\u0646\u064A\u0629 \u0639\u0644\u0649 \u062E\u0645\u0633\u0629 \u0645\u0642\u0627\u0639\u062F.';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>\u0644\u0628\u0646\u0627\u0621 \u0635\u064A\u063A\u0629 (\u0623\u062F\u0646\u0627\u0647) \u062A\u0642\u0648\u0645 \u0628\u062D\u0633\u0627\u0628 \u0625\u062C\u0645\u0627\u0644\u064A \u0639\u062F\u062F \u0627\u0644\u0645\u0642\u0627\u0639\u062F \u0641\u064A \u0627\u0644\u0637\u0627\u0626\u0631\u0629 \u0639\u0646\u062F \u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u0635\u0641\u0648\u0641 (\u0623\u0639\u0644\u0627\u0647).</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">\u0420\u0430\u0434\u043A\u043E\u045E: %1</span><span id="Plane_getRows">\u0440\u0430\u0434\u043A\u043E\u045E (%1)</span><span id="Plane_rows1">\u0420\u0430\u0434\u043A\u0456 \u043F\u0435\u0440\u0448\u0430\u0433\u0430 \u043A\u043B\u044F\u0441\u0443: %1</span><span id="Plane_getRows1">\u0440\u0430\u0434\u043A\u0456 \u043F\u0435\u0440\u0448\u0430\u0433\u0430 \u043A\u043B\u044F\u0441\u0443 (%1)</span><span id="Plane_rows2">\u0420\u0430\u0434\u043A\u0456 \u0434\u0440\u0443\u0433\u043E\u0433\u0430 \u043A\u043B\u044F\u0441\u0443: %1</span><span id="Plane_getRows2">\u0440\u0430\u0434\u043A\u0456 \u0434\u0440\u0443\u0433\u043E\u0433\u0430 \u043A\u043B\u044F\u0441\u0443 (%1)</span><span id="Plane_seats">\u041C\u0435\u0441\u0446\u0430\u045E: %1</span><span id="Plane_placeholder">?</span><span id="Plane_setSeats">\u043C\u0435\u0441\u0446\u0430\u045E =</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">\u041A\u0430\u043B\u044C\u043A\u0443\u043B\u044F\u0442\u0430\u0440 \u043C\u0435\u0441\u0446\u0430\u045E \u0443 \u0441\u0430\u043C\u0430\u043B\u0451\u0446\u0435</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += '\u0421\u0430\u043C\u0430\u043B\u0451\u0442 \u043C\u0430\u0435 \u043D\u0435\u043A\u0430\u043B\u044C\u043A\u0456 \u0448\u044D\u0440\u0430\u0433\u0430\u045E \u043F\u0430\u0441\u0430\u0436\u044B\u0440\u0441\u043A\u0456\u0445 \u0441\u044F\u0434\u0437\u0435\u043D\u044C\u043D\u044F\u045E. \u041A\u043E\u0436\u043D\u0430\u044F \u0448\u044D\u0440\u0430\u0433 \u0443\u0442\u0440\u044B\u043C\u043B\u0456\u0432\u0430\u0435 \u0447\u0430\u0442\u044B\u0440\u044B \u043C\u0435\u0441\u0446\u044B.';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += '\u0421\u0430\u043C\u0430\u043B\u0451\u0442 \u043C\u0430\u0435 \u0434\u0432\u0430 \u043C\u0435\u0441\u0446\u044B \u045E \u043A\u0430\u0431\u0456\u043D\u0435 \u044D\u043A\u0456\u043F\u0430\u0436\u0430 (\u043F\u0456\u043B\u043E\u0442 \u0456 \u0434\u0440\u0443\u0433\u0456 \u043F\u0456\u043B\u043E\u0442), \u0456 \u043D\u0435\u043A\u0430\u043B\u044C\u043A\u0456 \u0448\u044D\u0440\u0430\u0433\u0430\u045E \u043F\u0430\u0441\u0430\u0436\u044B\u0440\u0441\u043A\u0456\u0445 \u0441\u044F\u0434\u0437\u0435\u043D\u044C\u043D\u044F\u045E. \u041A\u043E\u0436\u043D\u044B \u0448\u044D\u0440\u0430\u0433 \u0443\u0442\u0440\u044B\u043C\u043B\u0456\u0432\u0430\u0435 \u0447\u0430\u0442\u044B\u0440\u044B \u043C\u0435\u0441\u0446\u044B.';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += '\u0421\u0430\u043C\u0430\u043B\u0451\u0442 \u043C\u0430\u0435 \u0434\u0432\u0430 \u043C\u0435\u0441\u0446\u044B \u045E \u043A\u0430\u0431\u0456\u043D\u0435 \u044D\u043A\u0456\u043F\u0430\u0436\u0430 (\u043F\u0456\u043B\u043E\u0442 \u0456 \u0434\u0440\u0443\u0433\u0456 \u043F\u0456\u043B\u043E\u0442), \u0456 \u043D\u0435\u043A\u0430\u043B\u044C\u043A\u0456 \u043F\u0430\u0441\u0430\u0436\u044B\u0440\u0441\u043A\u0456\u0445 \u0448\u044D\u0440\u0430\u0433\u0430\u045E \u043C\u0435\u0441\u0446\u0430\u045E 1-\u0433\u0430 \u043A\u043B\u044F\u0441\u0430 \u0456 2-\u0433\u0430 \u043A\u043B\u044F\u0441\u0430. \u041A\u043E\u0436\u043D\u044B \u0448\u044D\u0440\u0430\u0433 1-\u0433\u0430 \u043A\u043B\u044F\u0441\u0430 \u0443\u0442\u0440\u044B\u043C\u043B\u0456\u0432\u0430\u0435 \u0447\u0430\u0442\u044B\u0440\u044B \u043C\u0435\u0441\u0446\u044B. \u041A\u043E\u0436\u043D\u044B \u0448\u044D\u0440\u0430\u0433 2-\u0433\u0430 \u043A\u043B\u044F\u0441\u0430 \u045E\u0442\u0440\u044B\u043C\u043B\u0456\u0432\u0430\u0435 \u043F\u044F\u0446\u044C \u043C\u0435\u0441\u0446\u0430\u045E.';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>\u041F\u0430\u0431\u0443\u0434\u0430\u0432\u0430\u0446\u044C \u0444\u043E\u0440\u043C\u0443\u043B\u0443 (\u043D\u0456\u0436\u044D\u0439), \u044F\u043A\u0430\u044F \u043F\u0430\u0434\u043B\u0456\u0447\u0432\u0430\u0435 \u0430\u0433\u0443\u043B\u044C\u043D\u0443\u044E \u043A\u043E\u043B\u044C\u043A\u0430\u0441\u044C\u0446\u044C \u043C\u0435\u0441\u0446\u0430\u045E \u0443 \u0441\u0430\u043C\u0430\u043B\u0451\u0446\u0435 \u043F\u0440\u044B \u0437\u044C\u043C\u0435\u043D\u0435 \u0440\u0430\u0434\u043E\u045E (\u0433\u043B. \u0432\u044B\u0448\u044D\u0439).</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">Renkennado\u00F9 : %1</span><span id="Plane_getRows">renkennado\u00F9 (%1)</span><span id="Plane_rows1">Renkennado\u00F9 kenta\u00F1 klas : %1</span><span id="Plane_getRows1">Renkennado\u00F9 kenta\u00F1 klas (%1)</span><span id="Plane_rows2">Renkennado\u00F9 eil klas : %1</span><span id="Plane_getRows2">Renkennado\u00F9 eil klas (%1)</span><span id="Plane_seats">Azezenno\u00F9 : %1</span><span id="Plane_placeholder">?</span><span id="Plane_setSeats">azezenno\u00F9 =</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">Jederez azezenn nijerez</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += 'Un nijerez he deus un toullad renkennado\u00F9 azezenno\u00F9 evit ar veajourien. Peder azezenn a zo e pep renkennad.';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += 'En un nijerez ez eus div azezenn el logell levia\u00F1(evit al loman hag an eil loman), hag ur toullad renkennado\u00F9 azezenno\u00F9 evit an dremenidi. Peder azezenn zo e pep renkennad.';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += 'En un nijerez ez eus div azezenn el logell levia\u00F1(evit al loman hag an eil loman), hag un toullad renkennado\u00F9 azezenno\u00F9 tremenidi kenta\u00F1 hag eil klas. Peder azezenn zo e pep renkennad kenta\u00F1 klas. Pemp azezenn zo e pemp renkennad eil klas.';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>Sevel ur formulenn (ama\u00F1 dindan) evit jedi\u00F1 an niver a azezenno\u00F9 en holl en nijerez pa vez kemmet an niver a renkennado\u00F9 (ama\u00F1 a-us).</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">Files: %1</span><span id="Plane_getRows">files (%1)</span><span id="Plane_rows1">files de primera classe: %1</span><span id="Plane_getRows1">files de primera classe (%1)</span><span id="Plane_rows2">files de segona classe: %1</span><span id="Plane_getRows2">files de segona classe (%1)</span><span id="Plane_seats">Seients: %1</span><span id="Plane_placeholder">?</span><span id="Plane_setSeats">seients =</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">Calculadora de seients d\'avi\u00F3</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += 'Un avi\u00F3 t\u00E9 un nombre de files de seients de passatgers. Cada fila cont\u00E9 quatre seients.';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += 'Un avi\u00F3 t\u00E9 dos seients en la cabina de vol (pel pilot i pel copilot) i un nombre de files de seients de passatgers. Cada fila cont\u00E9 quatre seients.';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += 'Un avi\u00F3 t\u00E9 dos seients en la cabina de vol (pel pilot i copilot) i un nombre de files per seients de passatgers de primera classe i de segona classe. Cada fila de primera classe cont\u00E9 quatre seients. Cada fila de segona classe cont\u00E9 cinc seients.';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>Constru\u00EFu una f\u00F3rmula (a sota) que calculi el nombre total de seients de l\'avi\u00F3 a mida que canvi\u00EFn les files (a dalt).</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">R\u00E6kker: %1</span><span id="Plane_getRows">r\u00E6kker (%1)</span><span id="Plane_rows1">1. klasse r\u00E6kker: %1</span><span id="Plane_getRows1">1. klasse r\u00E6kker (%1)</span><span id="Plane_rows2">2. klasse r\u00E6kker: %1</span><span id="Plane_getRows2">2. klasse r\u00E6kker (%1)</span><span id="Plane_seats">S\u00E6der: %1</span><span id="Plane_placeholder">?</span><span id="Plane_setSeats">s\u00E6der =</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">Flys\u00E6delommeregner</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += 'Et fly har et antal r\u00E6kker af passagers\u00E6der. Hver r\u00E6kke indeholder fire s\u00E6der.';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += 'Et fly har to pladser i cockpittet (til pilot og med-pilot), og et antal r\u00E6kker af passagers\u00E6der. Hver r\u00E6kke indeholder fire s\u00E6der.';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += 'Et fly har to pladser i cockpittet (til pilot og med-pilot), og et antal r\u00E6kker af 1. klasses og 2. klasses passagers\u00E6der. Hver 1. klasses r\u00E6kke indeholder fire s\u00E6der. Hver 2. klasses r\u00E6kke indeholder fem s\u00E6der.';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>Opbyg en formel (nedenfor), der beregner det samlede antal pladser p\u00E5 flyet, hvis antal r\u00E6kker \u00E6ndres (ovenfor).</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">Reihen: %1</span><span id="Plane_getRows">Reihen (%1)</span><span id="Plane_rows1">Reihen der 1. Klasse: %1</span><span id="Plane_getRows1">Reihen der 1. Klasse (%1)</span><span id="Plane_rows2">Reihen der 2. Klasse: %1</span><span id="Plane_getRows2">Reihen der 2. Klasse (%1)</span><span id="Plane_seats">Sitze: %1</span><span id="Plane_placeholder">?</span><span id="Plane_setSeats">Sitze =</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">Flugzeugsitzrechner</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += 'Ein Flugzeug hat eine Anzahl an Reihen mit Passagiersitzen. Jede Reihe enth\u00E4lt vier Sitze.';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += 'Ein Flugzeug hat zwei Sitze im Pilotenstand (f\u00FCr den Piloten und Co-Piloten) und eine Anzahl an Reihen mit Passagiersitzen. Jede Reihe enth\u00E4lt vier Sitze.';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += 'Ein Flugzeug hat zwei Sitze im Pilotenstand (f\u00FCr den Piloten und Co-Piloten) und eine Anzahl an Reihen mit Passagiersitzen der 1. und 2. Klasse. Jede 1.-Klasse-Reihe enth\u00E4lt vier Sitze. Jede 2.-Klasse-Reihe enth\u00E4lt f\u00FCnf Sitze.';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>Erstelle eine Formel (unten), die die gesamte Anzahl an Sitzen im Flugzeug berechnet, wenn die Reihen (oben) ge\u00E4ndert werden.</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">\u03A3\u03B5\u03B9\u03C1\u03AD\u03C2: %1</span><span id="Plane_getRows">\u03C3\u03B5\u03B9\u03C1\u03AD\u03C2 (%1)</span><span id="Plane_rows1">\u03A3\u03B5\u03B9\u03C1\u03AD\u03C2 1\u03B7\u03C2 \u03B8\u03AD\u03C3\u03B7\u03C2: %1</span><span id="Plane_getRows1">\u03A3\u03B5\u03B9\u03C1\u03AD\u03C2 1\u03B7\u03C2 \u03B8\u03AD\u03C3\u03B7\u03C2 (%1)</span><span id="Plane_rows2">\u03A3\u03B5\u03B9\u03C1\u03AD\u03C2 2\u03B7\u03C2 \u03B8\u03AD\u03C3\u03B7\u03C2: %1</span><span id="Plane_getRows2">\u03A3\u03B5\u03B9\u03C1\u03AD\u03C2 2\u03B7\u03C2 \u03B8\u03AD\u03C3\u03B7\u03C2 (%1)</span><span id="Plane_seats">\u039A\u03B1\u03B8\u03AF\u03C3\u03BC\u03B1\u03C4\u03B1: %1</span><span id="Plane_placeholder">;</span><span id="Plane_setSeats">\u03BA\u03B1\u03B8\u03AF\u03C3\u03BC\u03B1\u03C4\u03B1 =</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">\u03A5\u03C0\u03BF\u03BB\u03BF\u03B3\u03B9\u03C3\u03BC\u03CC\u03C2 \u0398\u03AD\u03C3\u03B5\u03C9\u03BD \u03A3\u03B5 \u0391\u03B5\u03C1\u03BF\u03C0\u03BB\u03AC\u03BD\u03BF</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += '\u0388\u03BD\u03B1 \u03B1\u03B5\u03C1\u03BF\u03C0\u03BB\u03AC\u03BD\u03BF \u03AD\u03C7\u03B5\u03B9 \u03AD\u03BD\u03B1\u03BD \u03C3\u03C5\u03B3\u03BA\u03B5\u03BA\u03C1\u03B9\u03BC\u03AD\u03BD\u03BF \u03B1\u03C1\u03B9\u03B8\u03BC\u03CC \u03C3\u03B5\u03B9\u03C1\u03CE\u03BD \u03BA\u03B1\u03B8\u03B9\u03C3\u03BC\u03AC\u03C4\u03C9\u03BD \u03B5\u03C0\u03B9\u03B2\u03B1\u03C4\u03CE\u03BD. \u039A\u03AC\u03B8\u03B5 \u03C3\u03B5\u03B9\u03C1\u03AC \u03AD\u03C7\u03B5\u03B9 \u03C4\u03AD\u03C3\u03C3\u03B5\u03C1\u03B1 \u03BA\u03B1\u03B8\u03AF\u03C3\u03BC\u03B1\u03C4\u03B1.';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += '\u0388\u03BD\u03B1 \u03B1\u03B5\u03C1\u03BF\u03C0\u03BB\u03AC\u03BD\u03BF \u03AD\u03C7\u03B5\u03B9 \u03B4\u03CD\u03BF \u03BA\u03B1\u03B8\u03AF\u03C3\u03BC\u03B1\u03C4\u03B1 \u03C3\u03C4\u03BF\u03BD \u03B8\u03AC\u03BB\u03B1\u03BC\u03BF \u03B4\u03B9\u03B1\u03BA\u03C5\u03B2\u03AD\u03C1\u03BD\u03B7\u03C3\u03B7\u03C2 (\u03B3\u03B9\u03B1 \u03C4\u03BF\u03BD \u03BA\u03C5\u03B2\u03B5\u03C1\u03BD\u03AE\u03C4\u03B7 \u03BA\u03B1\u03B9 \u03C4\u03BF\u03BD \u03C3\u03C5\u03B3\u03BA\u03C5\u03B2\u03B5\u03C1\u03BD\u03AE\u03C4\u03B7), \u03BA\u03B1\u03B8\u03CE\u03C2 \u03BA\u03B1\u03B9 \u03AD\u03BD\u03B1\u03BD \u03B1\u03C1\u03B9\u03B8\u03BC\u03CC \u03B1\u03C0\u03CC \u03C3\u03B5\u03B9\u03C1\u03AD\u03C2 \u03BA\u03B1\u03B8\u03B9\u03C3\u03BC\u03AC\u03C4\u03C9\u03BD \u03B5\u03C0\u03B9\u03B2\u03B1\u03C4\u03CE\u03BD. \u039A\u03AC\u03B8\u03B5 \u03C3\u03B5\u03B9\u03C1\u03AC \u03AD\u03C7\u03B5\u03B9 \u03C4\u03AD\u03C3\u03C3\u03B5\u03C1\u03B1 \u03BA\u03B1\u03B8\u03AF\u03C3\u03BC\u03B1\u03C4\u03B1.';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += '\u0388\u03BD\u03B1 \u03B1\u03B5\u03C1\u03BF\u03C0\u03BB\u03AC\u03BD\u03BF \u03AD\u03C7\u03B5\u03B9 \u03B4\u03CD\u03BF \u03BA\u03B1\u03B8\u03AF\u03C3\u03BC\u03B1\u03C4\u03B1 \u03C3\u03C4\u03BF\u03BD \u03B8\u03AC\u03BB\u03B1\u03BC\u03BF \u03B4\u03B9\u03B1\u03BA\u03C5\u03B2\u03AD\u03C1\u03BD\u03B7\u03C3\u03B7\u03C2 (\u03B3\u03B9\u03B1 \u03C4\u03BF\u03BD \u03BA\u03C5\u03B2\u03B5\u03C1\u03BD\u03AE\u03C4\u03B7 \u03BA\u03B1\u03B9 \u03C4\u03BF\u03BD \u03C3\u03C5\u03B3\u03BA\u03C5\u03B2\u03B5\u03C1\u03BD\u03AE\u03C4\u03B7), \u03BA\u03B1\u03B8\u03CE\u03C2 \u03BA\u03B1\u03B9 \u03AD\u03BD\u03B1\u03BD \u03B1\u03C1\u03B9\u03B8\u03BC\u03CC \u03C3\u03B5\u03B9\u03C1\u03CE\u03BD \u03BA\u03B1\u03B8\u03B9\u03C3\u03BC\u03AC\u03C4\u03C9\u03BD \u03B3\u03B9\u03B1 \u03C4\u03B7\u03BD 1\u03B7 \u03BA\u03B1\u03B9 2\u03B7 \u03B8\u03AD\u03C3\u03B7. \u039A\u03AC\u03B8\u03B5 \u03C3\u03B5\u03B9\u03C1\u03AC \u03C4\u03B7\u03C2 1\u03B7\u03C2 \u03B8\u03AD\u03C3\u03B7\u03C2 \u03AD\u03C7\u03B5\u03B9 \u03C4\u03AD\u03C3\u03C3\u03B5\u03C1\u03B1 \u03BA\u03B1\u03B8\u03AF\u03C3\u03BC\u03B1\u03C4\u03B1 \u03BA\u03B1\u03B9 \u03BA\u03AC\u03B8\u03B5 \u03C3\u03B5\u03B9\u03C1\u03AC \u03C4\u03B7\u03C2 2\u03B7\u03C2 \u03B8\u03AD\u03C3\u03B7\u03C2 \u03AD\u03C7\u03B5\u03B9 \u03C0\u03AD\u03BD\u03C4\u03B5 \u03BA\u03B1\u03B8\u03AF\u03C3\u03BC\u03B1\u03C4\u03B1.';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>\u03A6\u03C4\u03B9\u03AC\u03BE\u03B5 \u03AD\u03BD\u03B1\u03BD \u03C4\u03CD\u03C0\u03BF (\u03BA\u03AC\u03C4\u03C9) \u03C0\u03BF\u03C5 \u03B8\u03B1 \u03C5\u03C0\u03BF\u03BB\u03BF\u03B3\u03AF\u03B6\u03B5\u03B9 \u03C4\u03BF\u03BD \u03C3\u03C5\u03BD\u03BF\u03BB\u03B9\u03BA\u03CC \u03B1\u03C1\u03B9\u03B8\u03BC\u03CC \u03BA\u03B1\u03B8\u03B9\u03C3\u03BC\u03AC\u03C4\u03C9\u03BD \u03C4\u03BF\u03C5 \u03B1\u03B5\u03C1\u03BF\u03C0\u03BB\u03AC\u03BD\u03BF\u03C5 \u03BA\u03B1\u03B8\u03CE\u03C2 \u03B1\u03BB\u03BB\u03AC\u03B6\u03BF\u03C5\u03BD \u03BF\u03B9 \u03C3\u03B5\u03B9\u03C1\u03AD\u03C2 (\u03C0\u03AC\u03BD\u03C9).</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">Rows: %1</span><span id="Plane_getRows">rows (%1)</span><span id="Plane_rows1">1st class rows: %1</span><span id="Plane_getRows1">1st class rows (%1)</span><span id="Plane_rows2">2nd class rows: %1</span><span id="Plane_getRows2">2nd class rows (%1)</span><span id="Plane_seats">Seats: %1</span><span id="Plane_placeholder">?</span><span id="Plane_setSeats">seats =</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">Plane Seat Calculator</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += 'An airplane has a number of rows of passenger seats. Each row contains four seats.';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += 'An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += 'An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">Filas: %1</span><span id="Plane_getRows">filas (%1)</span><span id="Plane_rows1">Filas de primera clase: %1</span><span id="Plane_getRows1">Filas de primera clase: (%1)</span><span id="Plane_rows2">Filas de segunda clase: %1</span><span id="Plane_getRows2">Filas de segunda clase: (%1)</span><span id="Plane_seats">Asientos: %1</span><span id="Plane_placeholder">?</span><span id="Plane_setSeats">asientos =</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">Calculadora de asientos de avi\u00F3n</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += 'Un avi\u00F3n\u00A0 tiene un n\u00FAmero de filas de asientos de pasajeros. Cada fila contiene cuatro asientos.';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += 'Un avi\u00F3n tiene dos asientos en la cabina de vuelo (para el piloto y co-piloto), y un n\u00FAmero de filas de asientos de pasajeros. Cada fila contiene cuatro asientos.';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += 'Un avi\u00F3n tiene dos asientos en la cabina de vuelo (para el piloto y co-piloto), y un n\u00FAmero de filas de asientos para pasajeros de primera y segunda clase. Cada fila de la primera clase contiene cuatro asientos. Cada fila de la segunda clase contiene cinco asientos.';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>Construir una f\u00F3rmula (abajo) que calcule el n\u00FAmero total de asientos en el avi\u00F3n cuando las filas sean cambiadas (arriba).</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">Ridu: %1</span><span id="Plane_getRows">rows (%1)</span><span id="Plane_rows1">1. klassi ridu: %1</span><span id="Plane_getRows1">1. klassi ridu (%1)</span><span id="Plane_rows2">2. klassi ridu: %1</span><span id="Plane_getRows2">2. klassi ridu (%1)</span><span id="Plane_seats">Istmeid: %1</span><span id="Plane_placeholder">?</span><span id="Plane_setSeats">istmete arv =</span></div>';
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">Lennukiistmete kalkulaator</span> ';
|
|
||||||
var iLimit37 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i37 = 1; i37 < iLimit37; i37++) {
|
|
||||||
output += ' ' + ((i37 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i37) + '</span>' : (i37 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i37) + '">' + soy.$$escapeHtml(i37) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i37) + '">' + soy.$$escapeHtml(i37) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += 'Lennukis on reisijate istmed mitmes reas. Igas reas on neli istet.';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += 'Lennuki kokpitis on kaks istet (üks kummalegi piloodile) ja mingi arv istemridu reisijatele. Igas reas on neli istet.';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += 'Lennuki kokpitis on kaks istet (üks kummalegi piloodile), mingi arv ridu 1. klassi reisijatele ja mingi arv ridu 2. klassi reisijatele. Igas 1. klassi reas on neli istet, igas 2. klassi reas viis istet.';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>Ehita plokkidest valem, mis arvutab istmete arvu lennukis õigesti sõltumata ridade arvust (seda saad muuta lennuki juures oleva liuguriga).</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">\u0631\u062F\u06CC\u0641: %1</span><span id="Plane_getRows">\u0631\u062F\u06CC\u0641\u200C\u0647\u0627 (%1)</span><span id="Plane_rows1">\u0627\u0648\u0644\u06CC\u0646 \u0631\u062F\u06CC\u0641 \u06A9\u0644\u0627\u0633: %1</span><span id="Plane_getRows1">\u0627\u0648\u0644\u06CC\u0646 \u06A9\u0644\u0627\u0633 \u0631\u062F\u06CC\u0641\u200C\u0647\u0627 (%1)</span><span id="Plane_rows2">\u062F\u0648\u0645\u06CC\u0646 \u06A9\u0644\u0627\u0633 \u0631\u062F\u06CC\u0641: %1</span><span id="Plane_getRows2">\u062F\u0648\u0645\u06CC\u0646 \u06A9\u0644\u0627\u0633 \u0631\u062F\u06CC\u0641\u200C\u0647\u0627 (%1)</span><span id="Plane_seats">\u0635\u0646\u062F\u0644\u06CC\u200C\u0647\u0627: %1</span><span id="Plane_placeholder">\u061F</span><span id="Plane_setSeats">\u0635\u0646\u062F\u0644\u06CC\u200C\u0647\u0627 =</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">\u0645\u062D\u0627\u0633\u0628\u0647\u200C\u06AF\u0631 \u0635\u0646\u062F\u0644\u06CC\u200C\u0647\u0627\u06CC \u0647\u0648\u0627\u067E\u06CC\u0645\u0627</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += '\u06CC\u06A9 \u0647\u0648\u0627\u067E\u06CC\u0645\u0627 \u062A\u0639\u062F\u0627\u062F \u0627\u0632 \u0635\u0646\u062F\u0644\u06CC\u200C\u0647\u0627\u06CC \u0645\u0633\u0627\u0641\u0631\u06CC\u0646 \u0631\u0627 \u062F\u0627\u0631\u062F. \u0647\u0631 \u0631\u062F\u06CC\u0641 \u0634\u0645\u0627\u0644 \u0686\u0647\u0627\u0631 \u0635\u0646\u062F\u0644\u06CC \u0627\u0633\u062A.';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += '\u06CC\u06A9 \u0647\u0648\u0627\u067E\u06CC\u0645\u0627 \u062F\u0648 \u0635\u0646\u062F\u0644\u06CC \u062F\u0631 \u0639\u0631\u0634\u0647\u0654 \u067E\u0631\u0648\u0627\u0632 \u062F\u0627\u0631\u062F (\u0628\u0631\u0627\u06CC \u062E\u0644\u0628\u0627\u0646 \u0648 \u06A9\u0645\u06A9 \u062E\u0644\u0628\u0627\u0646) \u0648 \u062A\u0639\u062F\u0627\u062F\u06CC \u0635\u0646\u062F\u0644\u06CC \u0645\u0633\u0627\u0641\u0631\u06CC\u0646. \u0647\u0631 \u0631\u062F\u06CC\u0641 \u0634\u0627\u0645\u0644 \u0686\u0647\u0627\u0631 \u0635\u0646\u062F\u0644\u06CC \u0627\u0633\u062A.';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += '\u06CC\u06A9 \u0647\u0648\u0627\u067E\u06CC\u0645\u0627 \u062F\u0648 \u0635\u0646\u062F\u0644\u06CC \u062F\u0631 \u06A9\u0627\u0628\u06CC\u0646 \u062E\u0644\u0628\u0627\u0646 \u062F\u0627\u0631\u062F (\u0628\u0631\u0627\u06CC \u062E\u0644\u0628\u0627\u0646 \u0648 \u06A9\u0645\u06A9 \u062E\u0644\u0628\u0627\u0646) \u0648 \u062A\u0647\u062F\u0627\u062F \u0627\u0632 \u0635\u0646\u062F\u0644\u06CC\u200C\u0647\u0627 \u0645\u0633\u0627\u0641\u0631\u06CC\u0646 \u062F\u0631\u062C\u0647 \u06CC\u06A9 \u0648 \u062F\u0631\u062C\u0647 \u062F\u0648. \u0647\u0631 \u0631\u062F\u06CC\u0641 \u062F\u0631\u062C\u0647 \u06CC\u06A9 \u0634\u0627\u0645\u0644 \u0686\u0647\u0627\u0631 \u0635\u0646\u062F\u0644\u06CC \u0627\u0633\u062A. \u0647\u0631 \u0631\u062F\u06CC\u0641 \u062F\u0631\u062C\u0647 \u062F\u0648 \u0634\u0627\u0645\u0644 \u067E\u0646\u062C \u0635\u0646\u062F\u0644\u06CC \u0627\u0633\u062A.';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>\u06CC\u06A9 \u0641\u0631\u0645\u0648\u0644 \u0628\u0633\u0627\u0632\u06CC\u062F (\u067E\u0627\u06CC\u06CC\u0646) \u06A9\u0647 \u062A\u0639\u062F\u0627\u062F \u06A9\u0644 \u0635\u0646\u062F\u0644\u06CC\u200C\u0647\u0627\u06CC \u0647\u0648\u0627\u067E\u06CC\u0645\u0627 \u0628\u0627 \u062A\u063A\u06CC\u06CC\u0631 \u0631\u062F\u06CC\u0641 \u0631\u0627 \u062D\u0633\u0627\u0628 \u06A9\u0646\u062F (\u0628\u0627\u0644\u0627).</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">Rang\u00E9es : %1</span><span id="Plane_getRows">rang\u00E9es (%1)</span><span id="Plane_rows1">rang\u00E9es de premi\u00E8re classe : %1</span><span id="Plane_getRows1">rang\u00E9es de premi\u00E8re classe (%1)</span><span id="Plane_rows2">rang\u00E9es de seconde classe : %1</span><span id="Plane_getRows2">rang\u00E9es de seconde classe (%1)</span><span id="Plane_seats">Si\u00E8ges : %1</span><span id="Plane_placeholder">?</span><span id="Plane_setSeats">si\u00E8ges =</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">Calculateur de si\u00E8ges d\u2019avion</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += 'Un avion a un nombre de rang\u00E9es de si\u00E8ges passager. Chaque rang\u00E9e contient quatre si\u00E8ges.';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += 'Un avion a deux si\u00E8ges dans le poste de pilotage (pour le pilote et le copilote), et un certain nombre de rang\u00E9es de si\u00E8ges passager. Chaque rang\u00E9e contient quatre si\u00E8ges.';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += 'Un avion a deux si\u00E8ges dans la cabine de pilotage (pour le pilote et le copilote), et un certain nombre de rang\u00E9es de si\u00E8ges passager de premi\u00E8re et seconde classes. Chaque rang\u00E9e de premi\u00E8re classe contient quatre si\u00E8ges. Chaque rang\u00E9e de seconde classe contient cinq si\u00E8ges.';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>Construire une formule (ci-dessous) qui calcule le nombre total de si\u00E8ges dans l\u2019avion quand le nombre de rang\u00E9es est modifi\u00E9 (ci-dessus).</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">\u05E9\u05D5\u05E8\u05D5\u05EA: %1</span><span id="Plane_getRows">\u05E9\u05D5\u05E8\u05D5\u05EA (%1)</span><span id="Plane_rows1">\u05E9\u05D5\u05E8\u05D5\u05EA \u05D1\u05DE\u05D7\u05DC\u05E7\u05D4 \u05E8\u05D0\u05E9\u05D5\u05E0\u05D4: %1</span><span id="Plane_getRows1">\u05E9\u05D5\u05E8\u05D5\u05EA \u05D1\u05DE\u05D7\u05DC\u05E7\u05D4 \u05E8\u05D0\u05E9\u05D5\u05E0\u05D4 (%1)</span><span id="Plane_rows2">\u05E9\u05D5\u05E8\u05D5\u05EA \u05D1\u05DE\u05D7\u05DC\u05E7\u05D4 \u05E9\u05E0\u05D9\u05D9\u05D4: %1</span><span id="Plane_getRows2">\u05E9\u05D5\u05E8\u05D5\u05EA \u05D1\u05DE\u05D7\u05DC\u05E7\u05D4 \u05E9\u05E0\u05D9\u05D9\u05D4: (%1)</span><span id="Plane_seats">\u05DE\u05D5\u05E9\u05D1\u05D9\u05DD: %1</span><span id="Plane_placeholder">?</span><span id="Plane_setSeats">\u05DE\u05D5\u05E9\u05D1\u05D9\u05DD =</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">\u05DE\u05D7\u05E9\u05D1\u05D5\u05DF \u05DE\u05D5\u05E9\u05D1 \u05D1\u05DE\u05D8\u05D5\u05E1</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += '\u05D1\u05DE\u05D8\u05D5\u05E1 \u05D9\u05E9 \u05DE\u05E1\u05E4\u05E8 \u05E9\u05D5\u05E8\u05D5\u05EA \u05E2\u05DD \u05DE\u05D5\u05E9\u05D1\u05D9 \u05E0\u05D5\u05E1\u05E2\u05D9\u05DD. \u05D1\u05DB\u05DC \u05E9\u05D5\u05E8\u05D4 \u05D9\u05E9 \u05D0\u05E8\u05D1\u05E2\u05D4 \u05DE\u05D5\u05E9\u05D1\u05D9\u05DD.';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += '\u05D1\u05DE\u05D8\u05D5\u05E1 \u05D9\u05E9 \u05E9\u05E0\u05D9 \u05DE\u05D5\u05E9\u05D1\u05D9\u05DD \u05E2\u05D1\u05D5\u05E8 \u05D4\u05E6\u05D5\u05D5\u05EA (\u05D1\u05E9\u05D1\u05D9\u05DC \u05D4\u05D8\u05D9\u05D9\u05E1 \u05D5\u05D8\u05D9\u05D9\u05E1 \u05D4\u05DE\u05E9\u05E0\u05D4), \u05D5\u05DE\u05E1\u05E4\u05E8 \u05E9\u05D5\u05E8\u05D5\u05EA \u05E2\u05DD \u05DE\u05D5\u05E9\u05D1\u05D9 \u05E0\u05D5\u05E1\u05E2\u05D9\u05DD. \u05D1\u05DB\u05DC \u05E9\u05D5\u05E8\u05D4 \u05D9\u05E9 \u05D0\u05E8\u05D1\u05E2\u05D4 \u05DE\u05D5\u05E9\u05D1\u05D9\u05DD.';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += '\u05D1\u05DE\u05D8\u05D5\u05E1 \u05D9\u05E9 \u05E9\u05E0\u05D9 \u05DE\u05D5\u05E9\u05D1\u05D9\u05DD \u05E2\u05D1\u05D5\u05E8 \u05D4\u05E6\u05D5\u05D5\u05EA (\u05D1\u05E9\u05D1\u05D9\u05DC \u05D4\u05D8\u05D9\u05D9\u05E1 \u05D5\u05D8\u05D9\u05D9\u05E1 \u05D4\u05DE\u05E9\u05E0\u05D4), \u05D5\u05DE\u05E1\u05E4\u05E8 \u05E9\u05D5\u05E8\u05D5\u05EA \u05DE\u05D5\u05E9\u05D1\u05D9\u05DD \u05D1\u05DE\u05D7\u05DC\u05E7\u05EA \u05D4\u05E0\u05D5\u05E1\u05E2\u05D9\u05DD \u05D4\u05E8\u05D0\u05E9\u05D5\u05E0\u05D4 \u05D5\u05D1\u05DE\u05D7\u05DC\u05E7\u05EA \u05D4\u05E0\u05D5\u05E1\u05E2\u05D9\u05DD \u05D4\u05E9\u05E0\u05D9\u05D9\u05D4. \u05DB\u05DC \u05E9\u05D5\u05E8\u05D4 \u05D1\u05DE\u05D7\u05DC\u05E7\u05D4 \u05D4\u05E8\u05D0\u05E9\u05D5\u05E0\u05D4 \u05DE\u05DB\u05D9\u05DC\u05D4 \u05D0\u05E8\u05D1\u05E2\u05D4 \u05DE\u05D5\u05E9\u05D1\u05D9\u05DD. \u05DB\u05DC \u05E9\u05D5\u05E8\u05D4 \u05D1\u05DE\u05D7\u05DC\u05E7\u05D4 \u05D4\u05E9\u05E0\u05D9\u05D9\u05D4 \u05DE\u05DB\u05D9\u05DC\u05D4 \u05D7\u05DE\u05D9\u05E9\u05D4 \u05DE\u05D5\u05E9\u05D1\u05D9\u05DD.';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>\u05D1\u05E0\u05D4 \u05E0\u05D5\u05E1\u05D7\u05D4 (\u05DC\u05DE\u05D8\u05D4) \u05D0\u05E9\u05E8 \u05EA\u05D7\u05E9\u05D1 \u05D0\u05EA \u05E1\u05DA \u05DB\u05DC \u05D4\u05DE\u05D5\u05E9\u05D1\u05D9\u05DD \u05D1\u05DE\u05D8\u05D5\u05E1 \u05D1\u05D4\u05EA\u05D0\u05DD \u05DC\u05E9\u05D9\u05E0\u05D5\u05D9 \u05DE\u05E1\u05E4\u05E8 \u05D4\u05E9\u05D5\u05E8\u05D5\u05EA (\u05DC\u05DE\u05E2\u05DC\u05D4).</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">Reihe: %1</span><span id="Plane_getRows">Reihe (%1)</span><span id="Plane_rows1">Reihe von der 1. Klasse: %1</span><span id="Plane_getRows1">Reihe von der 1. Klasse (%1)</span><span id="Plane_rows2">Reihe von der 2. Klasse: %1</span><span id="Plane_getRows2">Reihe von der 2. Klasse (%1)</span><span id="Plane_seats">Sitz: %1</span><span id="Plane_placeholder">?</span><span id="Plane_setSeats">Sitze =</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">Fluchzeichsitzrechner</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += 'En Fluchzeich hot en Oonzohl an Reihe mit Passagiersitze. Jede Reih enth\u00E4lt vier Sitze.';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += 'En Fluchzeich hot zwooi Sitze im Pilotestand (f\u00FCr den Pilot und Co-Pilot) und en Oonzohl an Reihe mit Passagiersitze. Jede Reih enth\u00E4lt vier Sitze.';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += 'En Fluchzeich hot zwooi Sitze im Pilotstand (f\u00FCr den Pilot und Co-Pilot) und en Oonzohl an Reihe mit Passagiersitze der 1. und 2. Klasse. Jede 1.-Klasse-Reih enth\u00E4lt vier Sitze. Jede 2.-Klasse-Reih enth\u00E4lt f\u00FCnf Sitze.';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>Erstell en Formel (unne), die die gesamte Oonzohl an Sitze im Fluchzeich berechnet, wenn die Reihe (uwe) ge\u00E4nnert sin.</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">Sorok sz\u00E1ma: %1</span><span id="Plane_getRows">Sorok sz\u00E1ma (%1)</span><span id="Plane_rows1">1. oszt\u00E1ly: %1 sor</span><span id="Plane_getRows1">1. oszt\u00E1ly sorai (%1)</span><span id="Plane_rows2">2. oszt\u00E1ly: %1 sor</span><span id="Plane_getRows2">2. oszt\u00E1ly sorai (%1)</span><span id="Plane_seats">\u00DCl\u00E9sek sz\u00E1ma \u00F6sszesen: %1</span><span id="Plane_placeholder">?</span><span id="Plane_setSeats">\u00DCl\u00E9sek sz\u00E1ma =</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">Rep\u00FCl\u0151g\u00E9p alkalmaz\u00E1s</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += 'Egy rep\u00FCl\u0151g\u00E9pen az utasok t\u00F6bb sorban \u00FClnek az utast\u00E9rben. Az utast\u00E9r minden sor\u00E1ban n\u00E9gy sz\u00E9k van.';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += 'Egy rep\u00FCl\u0151g\u00E9pnek 2 \u00FCl\u00E9se van a pil\u00F3taf\u00FClk\u00E9ben (a pil\u00F3t\u00E1nak \u00E9s a m\u00E1sodpil\u00F3t\u00E1nak), az utasok t\u00F6bb sorban \u00FClnek az utast\u00E9rben. Az utast\u00E9r minden sor\u00E1ban n\u00E9gy sz\u00E9k van.';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += 'Egy rep\u00FCl\u0151g\u00E9pnek 2 \u00FCl\u00E9se van a pil\u00F3taf\u00FClk\u00E9ben (a pil\u00F3t\u00E1nak \u00E9s a m\u00E1sodpil\u00F3t\u00E1nak), az utasok 1. \u00E9s 2. oszt\u00E1lyon utazhatnak. Az 1. oszt\u00E1lyon n\u00E9gy sz\u00E9k van egy sorban. A 2. oszt\u00E1lyon \u00F6t sz\u00E9k van egy sorban.';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>K\u00E9sz\u00EDtsd el a k\u00E9pletet (lent) amivel kisz\u00E1molhat\u00F3, hogy h\u00E1ny \u00FCl\u00E9s van \u00F6sszesen a rep\u00FCl\u0151g\u00E9pen annak f\u00FCggv\u00E9ny\u00E9ben, ahogy (fent) \u00E1ll\u00EDtod a sorok sz\u00E1m\u00E1t.</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">Filas: %1</span><span id="Plane_getRows">filas (%1)</span><span id="Plane_rows1">Filas de prime classe: %1</span><span id="Plane_getRows1">filas de prime classe (%1)</span><span id="Plane_rows2">Filas de secunde classe: %1</span><span id="Plane_getRows2">filas de secunde classe (%1)</span><span id="Plane_seats">Sedes: %1</span><span id="Plane_placeholder">?</span><span id="Plane_setSeats">sedes =</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">Calculator de sedias de avion</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += 'Un avion ha un numero de filas de sedes pro passageros. Cata fila contine quatro sedes.';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += 'Un avion ha duo sedes in le cabina (pro le pilota e le copilota) e un numero de filas de sedes pro passageros. Cata fila contine quatro sedes.';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += 'Un avion ha duo sedes in le cabina (pro le pilota e le copilota) e un numero de filas de sedes pro passageros del prime classe e del secunde classes. Cata fila del prime classe contine quatro sedes. Cata fila del secunde classe contine cinque sedes.';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>Construe un formula (ci infra) que calcula le numero total de sedes in le avion quando le numero de filas es cambiate (ci supra).</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">Ra\u00F0ir: %1</span><span id="Plane_getRows">ra\u00F0ir (%1)</span><span id="Plane_rows1">Ra\u00F0ir 1. farr\u00FDmi: %1</span><span id="Plane_getRows1">ra\u00F0ir 1. farr\u00FDmi (%1)</span><span id="Plane_rows2">Ra\u00F0ir 2. farr\u00FDmi: %1</span><span id="Plane_getRows2">ra\u00F0ir 2. farr\u00FDmi (%1)</span><span id="Plane_seats">S\u00E6ti: %1</span><span id="Plane_placeholder">?</span><span id="Plane_setSeats">s\u00E6ti =</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">Flugs\u00E6tareiknir</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += 'Flugv\u00E9l er me\u00F0 einhvern fj\u00F6lda s\u00E6tara\u00F0a fyrir far\u00FEega. \u00CD hverri r\u00F6\u00F0 eru fj\u00F6gur s\u00E6ti.';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += 'Flugv\u00E9l er me\u00F0 tv\u00F6 s\u00E6ti \u00ED stj\u00F3rnklefa (fyrir flugmanninn og a\u00F0sto\u00F0arflugmanninn) og einhvern fj\u00F6lda s\u00E6tara\u00F0a fyrir far\u00FEega. Hver s\u00E6tar\u00F6\u00F0 hefur fj\u00F6gur s\u00E6ti.';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += 'Flugv\u00E9l er me\u00F0 tv\u00F6 s\u00E6ti \u00ED stj\u00F3rnklefa (fyrir flugmanninn og a\u00F0sto\u00F0arflugmanninn) og einhvern fj\u00F6lda s\u00E6tara\u00F0a fyrir far\u00FEega \u00E1 1. og 2. farr\u00FDmi. Hver s\u00E6tar\u00F6\u00F0 \u00E1 1. farr\u00FDmi hefur fj\u00F6gur s\u00E6ti. Hver s\u00E6tar\u00F6\u00F0 \u00E1 2. farr\u00FDmi hefur fimm s\u00E6ti.';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>B\u00FA\u00F0u til form\u00FAlu (h\u00E9r fyrir ne\u00F0an) sem reiknar heildarfj\u00F6lda s\u00E6ta \u00ED flugv\u00E9linni eftir \u00FEv\u00ED sem r\u00F6\u00F0unum er breytt (h\u00E9r fyrir ofan).</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">File: %1</span><span id="Plane_getRows">file (%1)</span><span id="Plane_rows1">File 1\u00AA classe: %1</span><span id="Plane_getRows1">file 1\u00AA classe (%1)</span><span id="Plane_rows2">File 2\u00AA classe: %1</span><span id="Plane_getRows2">File 2\u00AA classe (%1)</span><span id="Plane_seats">Sedili: %1</span><span id="Plane_placeholder">?</span><span id="Plane_setSeats">sedili =</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">Calcolo posti aereo</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += 'Un aeroplano ha un numero di file contenenti i posti a sedere dei passeggeri. Ogni fila, contiene quattro posti a sedere.';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += 'Un aeroplano ha due posti a sedere nella cabina di pilotaggio (per il pilota e co-pilota), e un numero di file con i posti a sedere dei passeggeri. Ogni fila contiene quattro posti.';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += 'Un aereo ha due posti nella cabina di pilotaggio (per il pilota e il co-pilota), e un numero di file in prima e seconda classe, con i posti a sedere dei passeggeri. Ogni fila della prima classe contiene quattro posti. Quelle invece della seconda classe, ne contengono cinque.';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>Costruisci una formula (sotto) che calcola il numero totale di posti a sedere su un aeroplano, cos\u00EC come cambiano le file di posti (sopra).</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">\u5217\u306E\u6570: %1</span><span id="Plane_getRows">\u5217\u306E\u6570 (%1)</span><span id="Plane_rows1">\u30D5\u30A1\u30FC\u30B9\u30C8\u30AF\u30E9\u30B9\u306E\u5217\u6570: %1</span><span id="Plane_getRows1">\u30D5\u30A1\u30FC\u30B9\u30C8\u30AF\u30E9\u30B9\u306E\u5217\u6570 (%1)</span><span id="Plane_rows2">\u30BB\u30AB\u30F3\u30C9\u30AF\u30E9\u30B9\u306E\u5217\u6570: %1</span><span id="Plane_getRows2">\u30BB\u30AB\u30F3\u30C9\u30AF\u30E9\u30B9\u306E\u5217\u6570 (%1)</span><span id="Plane_seats">\u5EA7\u5E2D\u306E\u6570: %1</span><span id="Plane_placeholder">?</span><span id="Plane_setSeats">\u5EA7\u5E2D\u306E\u6570 =</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">\u98DB\u884C\u6A5F\u5EA7\u5E2D\u8A08\u7B97\u6A5F</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += '\u98DB\u884C\u6A5F\u306B\u4E57\u5BA2\u306E\u5EA7\u5E2D\u306E\u5217\u304C\u3042\u308A\u307E\u3059\u3002\u305D\u308C\u305E\u308C\u306E\u5217\u306B 4 \u3064\u306E\u5EA7\u5E2D\u304C\u3042\u308A\u307E\u3059\u3002';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += '\u98DB\u884C\u6A5F\u306B\u306F\u3001\u64CD\u7E26\u5BA4\u306E 2 \u3064\u306E\u5EA7\u5E2D (\u64CD\u7E26\u58EB\u3068\u526F\u64CD\u7E26\u58EB) \u3068\u3001\u4E57\u5BA2\u306E\u5EA7\u5E2D\u306E\u5217\u304C\u3042\u308A\u307E\u3059\u3002\u305D\u308C\u305E\u308C\u306E\u5217\u306B 4 \u3064\u306E\u5EA7\u5E2D\u304C\u3042\u308A\u307E\u3059\u3002';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += '\u98DB\u884C\u6A5F\u306B\u306F\u3001\u64CD\u7E26\u5BA4\u306E 2 \u3064\u306E\u5EA7\u5E2D (\u64CD\u7E26\u58EB\u3068\u526F\u64CD\u7E26\u58EB) \u3068\u3001\u30D5\u30A1\u30FC\u30B9\u30C8\u30AF\u30E9\u30B9\u3068\u30BB\u30AB\u30F3\u30C9\u30AF\u30E9\u30B9\u306E\u4E57\u5BA2\u306E\u5EA7\u5E2D\u306E\u5217\u304C\u3042\u308A\u307E\u3059\u3002\u305D\u308C\u305E\u308C\u306E\u5217\u306B\u3001\u30D5\u30A1\u30FC\u30B9\u30C8\u30AF\u30E9\u30B9\u3067\u306F 4 \u3064\u306E\u5EA7\u5E2D\u3001\u30BB\u30AB\u30F3\u30C9\u30AF\u30E9\u30B9\u3067\u306F 5 \u3064\u306E\u5EA7\u5E2D\u304C\u3042\u308A\u307E\u3059\u3002';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>\u98DB\u884C\u6A5F\u306E\u5EA7\u5E2D\u306E\u6570\u3092\u8A08\u7B97\u3059\u308B\u5F0F\u3092\u3001\u4E0A\u3067\u5217\u306E\u6570\u3092\u5909\u66F4\u3057\u3066\u3082\u6B63\u3057\u304F\u306A\u308B\u3088\u3046\u306B\u3001\u4E0B\u306B\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">\uD589 \uC218: %1</span><span id="Plane_getRows">\uD589 \uC218 (%1)</span><span id="Plane_rows1">1\uB4F1\uC11D \uD589 \uC218: %1</span><span id="Plane_getRows1">1\uB4F1\uC11D \uD589 \uC218 (%1)</span><span id="Plane_rows2">2\uB4F1\uC11D \uD589 \uC218: %1</span><span id="Plane_getRows2">2\uB4F1\uC11D \uD589 \uC218 (%1)</span><span id="Plane_seats">\uC88C\uC11D \uC218: %1</span><span id="Plane_placeholder">?</span><span id="Plane_setSeats">\uC88C\uC11D\uC218 =</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">\uBE44\uD589\uAE30 \uC88C\uC11D \uACC4\uC0B0\uAE30</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += '\uBE44\uD589\uAE30\uB294 \uC2B9\uAC1D \uC88C\uC11D\uC758 \uD589 \uC218\uAC00 \uC788\uC2B5\uB2C8\uB2E4. \uAC01 \uD589\uC5D0\uB294 \uC2DC\uD2B8 \uB124 \uAC1C\uAC00 \uD3EC\uD568\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4.';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += '\uBE44\uD589\uAE30\uB294 \uBE44\uD589 \uAC11\uD310(\uC870\uC885\uC0AC\uC640 \uBD80\uC870\uC885\uC0AC\uC6A9)\uC5D0\uC11C \uC88C\uC11D \uB450 \uAC1C\uAC00 \uC788\uACE0, \uC2B9\uAC1D \uC88C\uC11D\uC758 \uD589 \uC218\uAC00 \uC788\uC2B5\uB2C8\uB2E4. \uAC01 \uD589\uC5D0\uB294 \uC2DC\uD2B8 \uB124 \uAC1C\uAC00 \uD3EC\uD568\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4.';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += '\uBE44\uD589\uAE30\uB294 \uBE44\uD589 \uAC11\uD310(\uC870\uC885\uC0AC\uC640 \uBD80\uC870\uC885\uC0AC\uC6A9)\uC5D0\uC11C \uC88C\uC11D \uB450 \uAC1C\uAC00 \uC788\uACE0, 1\uB4F1\uC11D\uACFC 2\uB4F1\uC11D \uC2B9\uAC1D \uC88C\uC11D\uC758 \uD589 \uC218\uAC00 \uC788\uC2B5\uB2C8\uB2E4. \uAC01 1\uB4F1\uC11D \uD589\uC5D0\uB294 \uC2DC\uD2B8 \uB124 \uAC1C\uAC00 \uD3EC\uD568\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4. \uAC01 2\uB4F1\uC11D \uD589\uC5D0\uB294 \uC2DC\uD2B8 \uB2E4\uC12F \uAC1C\uAC00 \uD3EC\uD568\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4.';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>\uD589\uC774 \uBC14\uB010(\uC704) \uBE44\uD589\uAE30\uC5D0 \uC88C\uC11D\uC758 \uCD1D \uC218\uB97C \uACC4\uC0B0\uD558\uB294 \uACF5\uC2DD(\uC544\uB798)\uC744 \uAD6C\uCD95\uD558\uC138\uC694.</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">Baris: %1</span><span id="Plane_getRows">baris (%1)</span><span id="Plane_rows1">Baris kelas pertama: %1</span><span id="Plane_getRows1">baris kelas pertama (%1)</span><span id="Plane_rows2">Baris kelas kedua: %1</span><span id="Plane_getRows2">baris kelas kedua (%1)</span><span id="Plane_seats">Tempat duduk: %1</span><span id="Plane_placeholder">?</span><span id="Plane_setSeats">tempat duduk =</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">Pengira Tempat Duduk Kapal Terbang</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += 'Sebuah kapal terbang mempunyai sebilangan baris tempat duduk penumpang. Setiap baris mengandungi empat tempat duduk.';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += 'Sebuah kapal terbang mempunyai tempat duduk di kokpit (untuk juruterbang dan pembantunya) dan sebilangan baris tempat duduk penumpang. Setiap baris mengandungi empat tempat duduk.';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += 'Sebuah kapal terbang mempunyai tempat duduk di kokpit (untuk juruterbang dan pembantunya) dan sebilangan baris tempat duduk penumpang kelas pertama dan kelas kedua. Setiap baris kelas pertama mengandungi empat tempat duduk. Setiap baris kelas pertama mengandungi lima tempat duduk.';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>Wujudkan formula (di bawah) yang mengira jumlah tempat duduk di dalam kapal terbang sedangkan baris-barisnya diubah (di atas).</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">Rader: %1</span><span id="Plane_getRows">rader (%1)</span><span id="Plane_rows1">Rader i f\u00F8rste klasse: %1</span><span id="Plane_getRows1">Rader i f\u00F8rste klasse (%1)</span><span id="Plane_rows2">Rader i andre klasse: %1</span><span id="Plane_getRows2">Rader i andre klasse (%1)</span><span id="Plane_seats">Seter: %1</span><span id="Plane_placeholder">?</span><span id="Plane_setSeats">seter =</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">Flysetekalkulator</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += 'Et fly har et antall rader med passasjerseter. Hver rad inneholder fire seter.';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += 'Et fly har to seter i cockpit (for piloten og andrepiloten), og et antall rader med passasjerseter. Hver rad inneholder fire seter.';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += 'Et fly har to seter i cockpit (for piloten og andrepiloten), og et antall rader med passasjerseter p\u00E5 f\u00F8rste og andre klasse. Hver av radene p\u00E5 f\u00F8rste klasse har fire seter. Hver av radene p\u00E5 andre klasse har fem seter.';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>Bygg en formel (under) som beregner det totale antall seter p\u00E5 flyet etter hvert som radene endres (over).</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">Rijen: %1</span><span id="Plane_getRows">rijen (%1)</span><span id="Plane_rows1">Rijen 1e klas: %1</span><span id="Plane_getRows1">Rijen 1e klas (%1)</span><span id="Plane_rows2">Rijen 2e klas: %1</span><span id="Plane_getRows2">Rijen 2e klas (%1)</span><span id="Plane_seats">Zitplaatsen: %1</span><span id="Plane_placeholder">?</span><span id="Plane_setSeats">stoelen=</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">Vliegtuigstoelencalculator</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += 'Een vliegtuig heeft een aantal rijen met stoelen. Iedere rij heeft vier stoelen.';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += 'Een vliegtuig heeft twee stoelen in de cockpit (voor de piloot en de copiloot) en een aantal rijen met stoelen voor passagiers. Iedere rij bevat vier stoelen.';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += 'Een vliegtuig heeft twee stoelen in de cockpit (voor de piloot en de copiloot) en een aantal rijen voor 1e klasse en 2e klasse passagiers. Iedere rij in de 1e klasse heeft vier stoelen. Iedere rij in de 2e klasse heeft vijf stoelen.';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>Maak hieronder een formule die het totale aantal stoelen in het vliegtuig berekent als het aantal rijen hierboven wordt aangepast.</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">Rz\u0119d\u00F3w: %1</span><span id="Plane_getRows">rz\u0119d\u00F3w (%1)</span><span id="Plane_rows1">Rz\u0119d\u00F3w w pierwszej klasie: %1</span><span id="Plane_getRows1">Rz\u0119d\u00F3w w pierwszej klasie (%1)</span><span id="Plane_rows2">Rz\u0119d\u00F3w w drugiej klasie: %1</span><span id="Plane_getRows2">Rz\u0119d\u00F3w w drugiej klasie (%1)</span><span id="Plane_seats">Siedze\u0144: %1</span><span id="Plane_placeholder">?</span><span id="Plane_setSeats">siedze\u0144 =</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">Kalkulator miejsc w samolocie.</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += 'Samolot ma kilka rz\u0119d\u00F3w siedze\u0144 pasa\u017Cer\u00F3w. Ka\u017Cdy rz\u0105d zawiera cztery miejsca.';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += 'Samolot ma dwa miejsca w kabinie pilot\u00F3w (dla pierwszego i drugiego pilota) oraz rz\u0119dy siedze\u0144 dla pasa\u017Cer\u00F3w. Ka\u017Cdy taki rz\u0105d sk\u0142ada si\u0119 z czterech siedze\u0144.';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += 'Samolot ma dwa miejsca w kabinie pilot\u00F3w (dla pierwszego i drugiego pilota) oraz rz\u0119dy siedze\u0144 dla pasa\u017Cer\u00F3w pierwszej i drugiej klasy. Ka\u017Cdy rz\u0105d pierwszej klasy sk\u0142ada si\u0119 z czterech siedze\u0144. Ka\u017Cdy rz\u0105d drugiej klasy sk\u0142ada si\u0119 z pi\u0119ciu siedze\u0144.';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>Zbuduj wz\u00F3r (poni\u017Cej), kt\u00F3ry pozwala obliczy\u0107 \u0142\u0105czn\u0105 liczb\u0119 siedze\u0144 w samolocie w funkcji zmieniaj\u0105cej si\u0119 liczby rz\u0119d\u00F3w (powy\u017Cej).</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">Linie: %1</span><span id="Plane_getRows">linie (%1)</span><span id="Plane_rows1">linie \u00EBd prima classa: %1</span><span id="Plane_getRows1">linie \u00EBd prima classa (%1)</span><span id="Plane_rows2">linie \u00EBd seconda classa: %1</span><span id="Plane_getRows2">linie \u00EBd seconda classa (%1)</span><span id="Plane_seats">Sedij: %1</span><span id="Plane_placeholder">?</span><span id="Plane_setSeats">sedij =</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">Calcolator \u00EBd sedij d\'avion</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += 'N\'avion a l\'ha un n\u00F9mer \u00EBd file \u00EBd sedij da pass\u00EBg\u00E9. Minca fila a l\'ha quatr sedij.';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += 'N\'avion a l\'ha doi sedij ant la cabin-a \u00EBd pilotage (p\u00EBr \u00EBl pil\u00F2ta e \u00EBl c\u00F2-pil\u00F2ta), e un ch\u00E8ich n\u00F9mer \u00EBd file \u00EBd sedij pr\'ij passag\u00E9. Minca fila a conten quatr sedij.';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += 'N\'avion a l\'ha doi sedij ant la cabin-a \u00EBd pilotage (p\u00EBr \u00EBl pil\u00F2ta e \u00EBl c\u00F2-pil\u00F2ta) e un ch\u00E8ich n\u00F9mer \u00EBd file \u00EBd sedij pr\'ij passag\u00E9 \u00EBd prima e sconda classa. Minca fila \u00EBd prima classa a conten quatr sedij. Minca fila \u00EBd seconda classa a conten sinch sedij.';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>Fabrich\u00E9 na f\u00F3rmola (s\u00EC-sota) ch\'a fa \'l cont d\u00EBl n\u00F9mer total \u00EBd sedij ant l\'avion cand che \u00EBl n\u00F9mer dle file a cangia (s\u00EC-dzora).</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">Filas: %1</span><span id="Plane_getRows">filas (%1)</span><span id="Plane_rows1">filas na primeira classe: %1</span><span id="Plane_getRows1">filas na primeira classe (%1)</span><span id="Plane_rows2">filas na segunda classe: %1</span><span id="Plane_getRows2">filas na segunda classe (%1)</span><span id="Plane_seats">Assentos: %1</span><span id="Plane_placeholder">?</span><span id="Plane_setSeats">assentos =</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">Calculadora de Assentos em Avi\u00E3o</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += 'Um avi\u00E3o tem um n\u00FAmero de filas de assentos para os passageiros. Cada fila cont\u00E9m quatro assentos.';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += 'Um avi\u00E3o tem dois assentos na cabine de comando (para o piloto e o copiloto) e um n\u00FAmero de filas de assentos para os passageiros. Cada fila cont\u00E9m quatro assentos.';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += 'Um avi\u00E3o tem dois assentos na cabine de comando (para o piloto e o copiloto) e um n\u00FAmero de filas de assentos na primeira e na segunda classe. Cada fila da primeira classe cont\u00E9m quatro assentos. Cada fila da segunda classe cont\u00E9m cinco assentos.';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>Elabore uma f\u00F3rmula (abaixo) que calcule o n\u00FAmero total de assentos no avi\u00E3o a medida que as filas s\u00E3o alteradas (acima).</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">R\u00E2nduri: %1</span><span id="Plane_getRows">r\u00E2nduri (%1)</span><span id="Plane_rows1">r\u00E2nduri de clasa I: %1</span><span id="Plane_getRows1">r\u00E2nduri de clasa I (%1)</span><span id="Plane_rows2">r\u00E2nduri de clasa a II-a: %1</span><span id="Plane_getRows2">r\u00E2nduri de clasa a II-a (%1)</span><span id="Plane_seats">Scaune: %1</span><span id="Plane_placeholder">?</span><span id="Plane_setSeats">scaune =</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">Calculator pentru locurile dintr-un avion</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += 'Un avion are un num\u0103r de r\u00E2nduri cu scaune pentru pasageri. Fiecare r\u00E2nd con\u021Bine patru scaune.';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += 'Un avion are dou\u0103 scaune \u00EEn carling\u0103 (pentru pilot \u0219i copilot) \u0219i un num\u0103r de r\u00E2nduri cu scaune pentru pasageri. Fiecare r\u00E2nd con\u021Bine patru scaune.';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += 'Un avion are dou\u0103 scaune \u00EEn carling\u0103 (pentru pilot \u0219i copilot) \u0219i un num\u0103r de r\u00E2nduri cu scaune de clasa I \u0219i clasa a II-a pentru pasageri. Fiecare r\u00E2nd de clasa I con\u021Bine patru scaune. Fiecare r\u00E2nd de clasa a II-a con\u021Bine cinci scaune.';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>Construie\u0219te o formul\u0103 (mai jos) care calculeaz\u0103 num\u0103rul total de locuri dintr-un avion \u00EEn timp ce r\u00E2ndurile se schimb\u0103 (mai sus).</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">\u0420\u044F\u0434\u043E\u0432: %1</span><span id="Plane_getRows">\u0440\u044F\u0434\u044B (%1)</span><span id="Plane_rows1">\u0420\u044F\u0434\u043E\u0432 1-\u0433\u043E \u043A\u043B\u0430\u0441\u0441\u0430: %1</span><span id="Plane_getRows1">\u0440\u044F\u0434\u044B 1-\u0433\u043E \u043A\u043B\u0430\u0441\u0441\u0430 (%1)</span><span id="Plane_rows2">\u0420\u044F\u0434\u043E\u0432 2-\u0433\u043E \u043A\u043B\u0430\u0441\u0441\u0430: %1</span><span id="Plane_getRows2">\u0440\u044F\u0434\u044B 2-\u0433\u043E \u043A\u043B\u0430\u0441\u0441\u0430 (%1)</span><span id="Plane_seats">\u041C\u0435\u0441\u0442: %1</span><span id="Plane_placeholder">?</span><span id="Plane_setSeats">\u043C\u0435\u0441\u0442\u0430 =</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">\u041A\u0430\u043B\u044C\u043A\u0443\u043B\u044F\u0442\u043E\u0440 \u043F\u043E\u0441\u0430\u0434\u043E\u0447\u043D\u044B\u0445 \u043C\u0435\u0441\u0442 \u0432 \u0441\u0430\u043C\u043E\u043B\u0451\u0442\u0435</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += '\u0412 \u0441\u0430\u043C\u043E\u043B\u0451\u0442\u0435 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0440\u044F\u0434\u043E\u0432 \u0441 \u043F\u0430\u0441\u0441\u0430\u0436\u0438\u0440\u0441\u043A\u0438\u043C\u0438 \u043C\u0435\u0441\u0442\u0430\u043C\u0438. \u0412 \u043A\u0430\u0436\u0434\u043E\u043C \u0440\u044F\u0434\u0443 4 \u043C\u0435\u0441\u0442\u0430.';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += '\u0412 \u0441\u0430\u043C\u043E\u043B\u0451\u0442\u0435 2 \u043C\u0435\u0441\u0442\u0430 \u0434\u043B\u044F \u043F\u0438\u043B\u043E\u0442\u0430 \u0438 \u0435\u0433\u043E \u043F\u043E\u043C\u043E\u0449\u043D\u0438\u043A\u0430, \u0430 \u0442\u0430\u043A\u0436\u0435 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0440\u044F\u0434\u043E\u0432 \u0441 \u043F\u0430\u0441\u0441\u0430\u0436\u0438\u0440\u0441\u043A\u0438\u043C\u0438 \u043C\u0435\u0441\u0442\u0430\u043C\u0438. \u0412 \u043A\u0430\u0436\u0434\u043E\u043C \u0440\u044F\u0434\u0443 4 \u043C\u0435\u0441\u0442\u0430.';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += '\u0412 \u0441\u0430\u043C\u043E\u043B\u0451\u0442\u0435 2 \u043C\u0435\u0441\u0442\u0430 \u0434\u043B\u044F \u043F\u0438\u043B\u043E\u0442\u0430 \u0438 \u0435\u0433\u043E \u043F\u043E\u043C\u043E\u0449\u043D\u0438\u043A\u0430, \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0440\u044F\u0434\u043E\u0432 \u0441 \u043F\u0430\u0441\u0441\u0430\u0436\u0438\u0440\u0441\u043A\u0438\u043C\u0438 \u043C\u0435\u0441\u0442\u0430\u043C\u0438 \u043F\u0435\u0440\u0432\u043E\u0433\u043E \u043A\u043B\u0430\u0441\u0441\u0430, \u0430 \u0442\u0430\u043A\u0436\u0435 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0440\u044F\u0434\u043E\u0432 \u0441 \u043F\u0430\u0441\u0441\u0430\u0436\u0438\u0440\u0441\u043A\u0438\u043C\u0438 \u043C\u0435\u0441\u0442\u0430\u043C\u0438 \u0432\u0442\u043E\u0440\u043E\u0433\u043E \u043A\u043B\u0430\u0441\u0441\u0430. \u0412 \u043A\u0430\u0436\u0434\u043E\u043C \u0440\u044F\u0434\u0443 \u043F\u0435\u0440\u0432\u043E\u0433\u043E \u043A\u043B\u0430\u0441\u0441\u0430 4 \u043C\u0435\u0441\u0442\u0430. \u0412 \u043A\u0430\u0436\u0434\u043E\u043C \u0440\u044F\u0434\u0443 \u0432\u0442\u043E\u0440\u043E\u0433\u043E \u043A\u043B\u0430\u0441\u0441\u0430 5 \u043C\u0435\u0441\u0442.';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>\u041F\u043E\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u0444\u043E\u0440\u043C\u0443\u043B\u0443 \u0432 \u043E\u0431\u043B\u0430\u0441\u0442\u0438 \u043D\u0438\u0436\u0435, \u043A\u043E\u0442\u043E\u0440\u0430\u044F \u043F\u043E\u043C\u043E\u0436\u0435\u0442 \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u0442\u044C \u043E\u0431\u0449\u0435\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043C\u0435\u0441\u0442 \u0432 \u0441\u0430\u043C\u043E\u043B\u0451\u0442\u0435 (\u043A\u0430\u043A \u043D\u0430 \u0440\u0438\u0441\u0443\u043D\u043A\u0435 \u0432\u044B\u0448\u0435).</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">Fileras: %1</span><span id="Plane_getRows">fileras (%1)</span><span id="Plane_rows1">fileras de primu classi: %1</span><span id="Plane_getRows1">fileras de primu classi (%1)</span><span id="Plane_rows2">fileras de segunda classi: %1</span><span id="Plane_getRows2">fileras de segunda classi (%1)</span><span id="Plane_seats">Cadironis: %1</span><span id="Plane_placeholder">?</span><span id="Plane_setSeats">cadironis =</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">Fai su contu de is cadironis de unu apar\u00E8chiu</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += 'Unu apar\u00E8chiu tenit unas cantu fileras de cadironis po passigeris. D\u00F2nnia filera tenit cuatru cadironis.';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += 'Unu apar\u00E8chiu tenit duus cadironis in sa cabina de cumandu (po su pilota e su co-pilota), e unas cantu fileras de cadironis po passigeris. D\u00F2nnia filera tenit cuatru cadironis.';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += 'Unu apar\u00E8chiu tenit duus cadironis in sa cabina de cumandu (po su pilota e su co-pilota), e unas cantu fileras de cadironis po passigeris de prima classi e de segunda classi. D\u00F2nnia filera de prima classi tenit cuatru cadironis. D\u00F2nnia filera de segunda classi tenit cincu cadironis.';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>Cuncorda una formula (innoi asuta) chi cumpudit su numeru totali de postus a setzi in s\'aparechiu, a segunda de comenti mudant is fileras de postus (innoi in susu)</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">Rader: %1</span><span id="Plane_getRows">rader (%1)</span><span id="Plane_rows1">Rader i f\u00F6rsta klass: %1</span><span id="Plane_getRows1">Rader i f\u00F6rsta klass (%1)</span><span id="Plane_rows2">Rader i andra klass: %1</span><span id="Plane_getRows2">Rader i andra klass (%1)</span><span id="Plane_seats">S\u00E4ten: %1</span><span id="Plane_placeholder">?</span><span id="Plane_setSeats">s\u00E4ten =</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">Plans\u00E4teskalkylator</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += 'Ett flygplan har ett antal rader med passagerars\u00E4ten. Varje rad inneh\u00E5ller fyra s\u00E4ten.';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += 'Ett flygplan har tv\u00E5 s\u00E4ten i cockpiten (ett f\u00F6r piloten och ett f\u00F6r andrepiloten) och ett antal rader med passagerars\u00E4ten. Varje rad inneh\u00E5ller fyra s\u00E4ten.';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += 'Ett flygplan har tv\u00E5 s\u00E4ten i cockpiten (ett f\u00F6r piloten och ett f\u00F6r andrepiloten) och ett antal rader med passagerars\u00E4ten i f\u00F6rsta och andra klass. Varje rad i f\u00F6rsta klass inneh\u00E5ller fyra s\u00E4ten. Varje rad i andra klass inneh\u00E5ller fem s\u00E4ten.';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>Bygg en formel (nedan) som ber\u00E4knar det totala antalet s\u00E4ten p\u00E5 flygplanet n\u00E4r raderna \u00E4ndras (ovan).</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">%1 \u0E41\u0E16\u0E27</span><span id="Plane_getRows">\u0E08\u0E33\u0E19\u0E27\u0E19\u0E41\u0E16\u0E27 (%1)</span><span id="Plane_rows1">\u0E0A\u0E31\u0E49\u0E19\u0E40\u0E1F\u0E34\u0E23\u0E4C\u0E2A\u0E04\u0E25\u0E32\u0E2A %1 \u0E41\u0E16\u0E27</span><span id="Plane_getRows1">\u0E08\u0E33\u0E19\u0E27\u0E19\u0E41\u0E16\u0E27\u0E0A\u0E31\u0E49\u0E19\u0E40\u0E1F\u0E34\u0E23\u0E4C\u0E2A\u0E04\u0E25\u0E32\u0E2A (%1)</span><span id="Plane_rows2">\u0E0A\u0E31\u0E49\u0E19\u0E18\u0E38\u0E23\u0E01\u0E34\u0E08 %1 \u0E41\u0E16\u0E27</span><span id="Plane_getRows2">\u0E08\u0E33\u0E19\u0E27\u0E19\u0E41\u0E16\u0E27\u0E0A\u0E31\u0E49\u0E19\u0E18\u0E38\u0E23\u0E01\u0E34\u0E08 (%1)</span><span id="Plane_seats">\u0E04\u0E33\u0E19\u0E27\u0E13\u0E44\u0E14\u0E49\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14 %1 \u0E17\u0E35\u0E48\u0E19\u0E31\u0E48\u0E07</span><span id="Plane_placeholder">?</span><span id="Plane_setSeats">\u0E08\u0E33\u0E19\u0E27\u0E19\u0E17\u0E35\u0E48\u0E19\u0E31\u0E48\u0E07 =</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">\u0E23\u0E30\u0E1A\u0E1A\u0E04\u0E33\u0E19\u0E27\u0E13\u0E17\u0E35\u0E48\u0E19\u0E31\u0E48\u0E07\u0E1A\u0E19\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E1A\u0E34\u0E19</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += '\u0E20\u0E32\u0E22\u0E43\u0E19\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E1A\u0E34\u0E19\u0E1B\u0E23\u0E30\u0E01\u0E2D\u0E1A\u0E44\u0E1B\u0E14\u0E49\u0E27\u0E22\u0E41\u0E16\u0E27\u0E02\u0E2D\u0E07\u0E17\u0E35\u0E48\u0E19\u0E31\u0E48\u0E07\u0E1C\u0E39\u0E49\u0E42\u0E14\u0E22\u0E2A\u0E32\u0E23 \u0E43\u0E19\u0E41\u0E15\u0E48\u0E25\u0E30\u0E41\u0E16\u0E27\u0E08\u0E30\u0E21\u0E35 4 \u0E17\u0E35\u0E48\u0E19\u0E31\u0E48\u0E07';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += '\u0E20\u0E32\u0E22\u0E43\u0E19\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E1A\u0E34\u0E19\u0E08\u0E30\u0E21\u0E35\u0E17\u0E35\u0E48\u0E19\u0E31\u0E48\u0E07\u0E19\u0E31\u0E01\u0E1A\u0E34\u0E19\u0E2D\u0E22\u0E39\u0E48 2 \u0E17\u0E35\u0E48 (\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E19\u0E31\u0E01\u0E1A\u0E34\u0E19 \u0E41\u0E25\u0E30\u0E1C\u0E39\u0E49\u0E0A\u0E48\u0E27\u0E22\u0E19\u0E31\u0E01\u0E1A\u0E34\u0E19) \u0E41\u0E25\u0E30\u0E21\u0E35\u0E41\u0E16\u0E27\u0E17\u0E35\u0E48\u0E19\u0E31\u0E48\u0E07\u0E1C\u0E39\u0E49\u0E42\u0E14\u0E22\u0E2A\u0E32\u0E23\u0E2D\u0E22\u0E39\u0E48\u0E08\u0E33\u0E19\u0E27\u0E19\u0E2B\u0E19\u0E36\u0E48\u0E07 \u0E43\u0E19\u0E41\u0E15\u0E48\u0E25\u0E30\u0E41\u0E16\u0E27\u0E08\u0E30\u0E21\u0E35 4 \u0E17\u0E35\u0E48\u0E19\u0E31\u0E48\u0E07';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += '\u0E20\u0E32\u0E22\u0E43\u0E19\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E1A\u0E34\u0E19\u0E08\u0E30\u0E21\u0E35\u0E17\u0E35\u0E48\u0E19\u0E31\u0E48\u0E07\u0E19\u0E31\u0E01\u0E1A\u0E34\u0E19\u0E2D\u0E22\u0E39\u0E48 2 \u0E17\u0E35\u0E48 (\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E19\u0E31\u0E01\u0E1A\u0E34\u0E19 \u0E41\u0E25\u0E30\u0E1C\u0E39\u0E49\u0E0A\u0E48\u0E27\u0E22\u0E19\u0E31\u0E01\u0E1A\u0E34\u0E19) \u0E41\u0E25\u0E30\u0E08\u0E30\u0E21\u0E35\u0E41\u0E16\u0E27\u0E17\u0E35\u0E48\u0E19\u0E31\u0E48\u0E07\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E1C\u0E39\u0E49\u0E42\u0E14\u0E22\u0E2A\u0E32\u0E23 "\u0E0A\u0E31\u0E49\u0E19\u0E40\u0E1F\u0E34\u0E23\u0E4C\u0E2A\u0E04\u0E25\u0E32\u0E2A" \u0E41\u0E25\u0E30 "\u0E0A\u0E31\u0E49\u0E19\u0E18\u0E38\u0E23\u0E01\u0E34\u0E08" \u0E2D\u0E22\u0E39\u0E48\u0E08\u0E33\u0E19\u0E27\u0E19\u0E2B\u0E19\u0E36\u0E48\u0E07 \u0E42\u0E14\u0E22\u0E43\u0E19\u0E0A\u0E31\u0E49\u0E19\u0E40\u0E1F\u0E34\u0E23\u0E4C\u0E2A\u0E04\u0E25\u0E32\u0E2A\u0E08\u0E30\u0E21\u0E35\u0E41\u0E16\u0E27\u0E25\u0E30 4 \u0E17\u0E35\u0E48\u0E19\u0E31\u0E48\u0E07 \u0E2A\u0E48\u0E27\u0E19\u0E43\u0E19\u0E0A\u0E31\u0E49\u0E19\u0E18\u0E38\u0E23\u0E01\u0E34\u0E08\u0E08\u0E30\u0E21\u0E35\u0E41\u0E16\u0E27\u0E25\u0E30 5 \u0E17\u0E35\u0E48\u0E19\u0E31\u0E48\u0E07';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>\u0E2A\u0E23\u0E49\u0E32\u0E07\u0E2A\u0E39\u0E15\u0E23\u0E04\u0E33\u0E19\u0E27\u0E13 (\u0E14\u0E49\u0E32\u0E19\u0E25\u0E48\u0E32\u0E07) \u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E04\u0E33\u0E19\u0E27\u0E13\u0E2B\u0E32\u0E08\u0E33\u0E19\u0E27\u0E19\u0E17\u0E35\u0E48\u0E19\u0E31\u0E48\u0E07\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14\u0E1A\u0E19\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E1A\u0E34\u0E19 \u0E15\u0E32\u0E21\u0E08\u0E33\u0E19\u0E27\u0E19\u0E41\u0E16\u0E27\u0E17\u0E35\u0E48\u0E40\u0E1B\u0E25\u0E35\u0E48\u0E22\u0E19\u0E44\u0E1B (\u0E14\u0E49\u0E32\u0E19\u0E1A\u0E19)</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">S\u0131ralar: %1</span><span id="Plane_getRows">s\u0131ralar (%1)</span><span id="Plane_rows1">Birinci s\u0131n\u0131f s\u0131ralar: (%1)</span><span id="Plane_getRows1">Birinci s\u0131n\u0131f s\u0131ralar (%1)</span><span id="Plane_rows2">\u0130kinci s\u0131n\u0131f s\u0131ralar: %1</span><span id="Plane_getRows2">\u0130kinci s\u0131n\u0131f s\u0131ralar (%1)</span><span id="Plane_seats">Koltuklar: %1</span><span id="Plane_placeholder">?</span><span id="Plane_setSeats">koltuklar =</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">U\u00E7ak Koltu\u011Fu Hesaplay\u0131c\u0131</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += 'Bir u\u00E7a\u011F\u0131n belirli say\u0131da koltuk s\u0131ras\u0131 vard\u0131r. Her s\u0131ra d\u00F6rt koltuk i\u00E7erir.';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += 'Bir u\u00E7a\u011F\u0131n u\u00E7u\u015F g\u00FCvertesinde iki koltu\u011Fu (pilot ve yard\u0131mc\u0131 pilot i\u00E7in), ve belirli say\u0131da koltuk s\u0131ras\u0131 vard\u0131r. Her s\u0131ra d\u00F6rt koltuk i\u00E7erir.';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += 'Bir u\u00E7a\u011F\u0131n u\u00E7u\u015F g\u00FCvertesinde iki koltu\u011Fu (pilot ve yard\u0131mc\u0131 pilot i\u00E7in), ve belirli say\u0131da birinci s\u0131n\u0131f ve ikinci s\u0131n\u0131f yolcu koltu\u011Fu s\u0131ras\u0131 vard\u0131r. Her birinci s\u0131n\u0131f s\u0131ra d\u00F6rt koltuk i\u00E7erir. Her ikinci s\u0131n\u0131f s\u0131ra be\u015F koltuk i\u00E7erir.';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>S\u0131ralar(\u00FCstte) de\u011Fi\u015Ftik\u00E7e u\u00E7aktaki toplam koltuk say\u0131s\u0131n\u0131 hesaplayan bir form\u00FCl(altta) olu\u015Fturun.</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">\u0420\u044F\u0434\u043A\u0438: %1</span><span id="Plane_getRows">\u0440\u044F\u0434\u043A\u0438 (%1)</span><span id="Plane_rows1">\u0440\u044F\u0434\u0456\u0432 1-\u0433\u043E \u043A\u043B\u0430\u0441\u0443: %1</span><span id="Plane_getRows1">\u0440\u044F\u0434\u0456\u0432 1-\u0433\u043E \u043A\u043B\u0430\u0441\u0443 (%1)</span><span id="Plane_rows2">\u0440\u044F\u0434\u0456\u0432 2-\u0433\u043E \u043A\u043B\u0430\u0441\u0443: %1</span><span id="Plane_getRows2">\u0440\u044F\u0434\u0456\u0432 2-\u0433\u043E \u043A\u043B\u0430\u0441\u0443 (%1)</span><span id="Plane_seats">\u041C\u0456\u0441\u0446\u044C: %1</span><span id="Plane_placeholder">?</span><span id="Plane_setSeats">\u043C\u0456\u0441\u0446\u044C=</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">\u041A\u0430\u043B\u044C\u043A\u0443\u043B\u044F\u0442\u043E\u0440 \u043C\u0456\u0441\u0446\u044C \u0443 \u043B\u0456\u0442\u0430\u043A\u0443</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += '\u041B\u0456\u0442\u0430\u043A \u043C\u0430\u0454 \u043A\u0456\u043B\u044C\u043A\u0430 \u0440\u044F\u0434\u0456\u0432 \u043F\u0430\u0441\u0430\u0436\u0438\u0440\u0441\u044C\u043A\u0438\u0445 \u0441\u0438\u0434\u0456\u043D\u044C. \u041A\u043E\u0436\u0435\u043D \u0440\u044F\u0434 \u043C\u0456\u0441\u0442\u0438\u0442\u044C \u0447\u043E\u0442\u0438\u0440\u0438 \u043C\u0456\u0441\u0446\u044F.';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += '\u041B\u0456\u0442\u0430\u043A \u043C\u0430\u0454 \u0434\u0432\u0430 \u043C\u0456\u0441\u0446\u044F \u0432 \u043A\u0430\u0431\u0456\u043D\u0456 \u0435\u043A\u0456\u043F\u0430\u0436\u0443 (\u043F\u0456\u043B\u043E\u0442 \u0456 \u0434\u0440\u0443\u0433\u0438\u0439 \u043F\u0456\u043B\u043E\u0442), \u0456 \u043A\u0456\u043B\u044C\u043A\u0430 \u0440\u044F\u0434\u0456\u0432 \u043F\u0430\u0441\u0430\u0436\u0438\u0440\u0441\u044C\u043A\u0438\u0445 \u0441\u0438\u0434\u0456\u043D\u044C. \u041A\u043E\u0436\u0435\u043D \u0440\u044F\u0434\u043E\u043A \u043C\u0456\u0441\u0442\u0438\u0442\u044C \u0447\u043E\u0442\u0438\u0440\u0438 \u043C\u0456\u0441\u0446\u044F.';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += '\u041B\u0456\u0442\u0430\u043A \u043C\u0430\u0454 \u0434\u0432\u0430 \u043C\u0456\u0441\u0446\u044F \u0432 \u043A\u0430\u0431\u0456\u043D\u0456 \u0435\u043A\u0456\u043F\u0430\u0436\u0443 (\u043F\u0456\u043B\u043E\u0442 \u0456 \u0434\u0440\u0443\u0433\u0438\u0439 \u043F\u0456\u043B\u043E\u0442), \u0456 \u043A\u0456\u043B\u044C\u043A\u0430 \u0440\u044F\u0434\u0456\u0432 1-\u0433\u043E \u043A\u043B\u0430\u0441\u0443 2-\u0433\u043E \u043A\u043B\u0430\u0441\u0443 \u043F\u0430\u0441\u0430\u0436\u0438\u0440\u0441\u044C\u043A\u0438\u0445 \u043C\u0456\u0441\u0446\u044C. \u041A\u043E\u0436\u043D\u0438\u0439 \u0440\u044F\u0434 1-\u0433\u043E \u043A\u043B\u0430\u0441\u0443 \u043C\u0456\u0441\u0442\u0438\u0442\u044C \u0447\u043E\u0442\u0438\u0440\u0438 \u043C\u0456\u0441\u0446\u044F. \u041A\u043E\u0436\u0435\u043D \u0440\u044F\u0434 2-\u0433\u043E \u043A\u043B\u0430\u0441\u0443 \u043C\u0456\u0441\u0442\u0438\u0442\u044C \u043F\'\u044F\u0442\u044C \u043C\u0456\u0441\u0446\u044C.';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>\u041F\u043E\u0431\u0443\u0434\u0443\u0432\u0430\u0442\u0438 \u0444\u043E\u0440\u043C\u0443\u043B\u0443 (\u043D\u0438\u0436\u0447\u0435), \u044F\u043A\u0430 \u043E\u0431\u0447\u0438\u0441\u043B\u044E\u0454 \u043A\u0456\u043B\u044C\u043A\u0456\u0441\u0442\u044C \u043C\u0456\u0441\u0446\u044C \u043D\u0430 \u043B\u0456\u0442\u0430\u043A\u0443 \u043F\u0440\u0438 \u0437\u043C\u0456\u043D\u0456 \u0440\u044F\u0434\u043A\u0456\u0432 (\u0434\u0438\u0432. \u0432\u0438\u0449\u0435).</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">S\u1ED1 h\u00E0ng gh\u1EBF: %1</span><span id="Plane_getRows">\u0111\u1EBFm s\u1ED1 h\u00E0ng gh\u1EBF (%1)</span><span id="Plane_rows1">H\u00E0ng h\u1EA1ng nh\u1EA5t: %1</span><span id="Plane_getRows1">s\u1ED1 h\u00E0ng h\u1EA1ng nh\u1EA5t (%1)</span><span id="Plane_rows2">H\u00E0ng h\u1EA1ng hai: %1</span><span id="Plane_getRows2">s\u1ED1 h\u00E0ng h\u1EA1ng hai (%1)</span><span id="Plane_seats">S\u1ED1 ch\u1ED7 ng\u1ED3i: %1</span><span id="Plane_placeholder">?</span><span id="Plane_setSeats">T\u00EDnh s\u1ED1 ch\u1ED7 ng\u1ED3i =</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">M\u00E1y bay gh\u1EBF m\u00E1y t\u00EDnh</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += 'M\u00E1y bay c\u00F3 m\u1ED9t s\u1ED1 h\u00E0ng gh\u1EBF h\u00E0nh kh\u00E1ch. M\u1ED7i h\u00E0ng c\u00F3 b\u1ED1n ch\u1ED7 ng\u1ED3i.';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += 'M\u1ED9t m\u00E1y bay c\u00F3 hai gh\u1EBF trong bu\u1ED3ng l\u00E1i (d\u00E0nh cho phi c\u00F4ng tr\u01B0\u1EDFng v\u00E0 phi c\u00F4ng ph\u1EE5), v\u00E0 m\u1ED9t lo\u1EA1t h\u00E0ng gh\u1EBF cho h\u00E0nh kh\u00E1ch. M\u1ED7i h\u00E0ng c\u00F3 b\u1ED1n gh\u1EBF (b\u1ED1n ch\u1ED7 ng\u1ED3i).';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += 'M\u1ED9t chi\u1EBFc m\u00E1y bay n\u00E0y c\u00F3 hai ch\u1ED7 ng\u1ED3i \u1EDF s\u00E0n (cho phi c\u00F4ng tr\u01B0\u1EDFng v\u00E0 phi c\u00F4ng ph\u00F3), v\u00E0 m\u1ED9t s\u1ED1 h\u00E0ng gh\u1EBF h\u1EA1ng 1 v\u00E0 h\u1EA1ng 2. M\u1ED7i h\u00E0ng h\u1EA1ng 1 c\u00F3 b\u1ED1n ch\u1ED7 ng\u1ED3i. M\u1ED7i h\u00E0ng h\u1EA1ng 2 c\u00F3 n\u0103m ch\u1ED7 ng\u1ED3i.';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>D\u01B0\u1EDBi \u0111\u00E2y h\u00E3y t\u1EA1o c\u00F4ng th\u1EE9c t\u00EDnh s\u1ED1 ch\u1ED7 ng\u1ED3i tr\u00EAn m\u00E1y bay \u0111\u1EC3 n\u00F3 thay \u0111\u1ED5i t\u00F9y theo s\u1ED1 l\u01B0\u1EE3ng h\u00E0ng gh\u1EBF (h\u00ECnh tr\u00EAn).</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">\u884C\uFF1A%1</span><span id="Plane_getRows">\u884C (%1)</span><span id="Plane_rows1">\u5934\u7B49\u884C\uFF1A%1</span><span id="Plane_getRows1">\u5934\u7B49\u884C\uFF08%1\uFF09</span><span id="Plane_rows2">\u7ECF\u6D4E\u7B49\u884C\uFF1A%1</span><span id="Plane_getRows2">\u7ECF\u6D4E\u7B49\u884C\uFF08%1\uFF09</span><span id="Plane_seats">\u5EA7\u4F4D\uFF1A%1</span><span id="Plane_placeholder">\uFF1F</span><span id="Plane_setSeats">\u5EA7\u4F4D\uFF1D</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">\u98DE\u673A\u5EA7\u4F4D\u8BA1\u7B97\u5668</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += '\u4E00\u67B6\u98DE\u673A\u6709\u4E00\u5B9A\u91CF\u884C\u6570\u7684\u4E58\u5BA2\u5EA7\u4F4D\uFF0C\u6BCF\u884C\u5171\u56DB\u5EA7\u3002';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += '\u4E00\u67B6\u98DE\u673A\u9664\u4E86\u6709\u4E24\u4E2A\u5EA7\u4F4D\u4F9B\u6B63\u526F\u9A7E\u9A76\u5458\uFF0C\u8FD8\u6709\u4E00\u5B9A\u91CF\u884C\u6570\u7684\u4E58\u5BA2\u5EA7\u4F4D\u3002\u6BCF\u884C\u5171\u56DB\u5EA7\u3002';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += '\u4E00\u67B6\u98DE\u673A\u9664\u4E86\u6709\u4E24\u4E2A\u5EA7\u4F4D\u4F9B\u6B63\u526F\u9A7E\u9A76\u5458\uFF0C\u8FD8\u6709\u4E00\u5B9A\u91CF\u884C\u6570\u7684\u5934\u7B49\u53CA\u7ECF\u6D4E\u4E58\u5BA2\u5EA7\u4F4D\u3002\u5934\u7B49\u6BCF\u884C\u5171\u56DB\u5EA7\uFF0C\u7ECF\u6D4E\u6BCF\u884C\u5171\u4E94\u5EA7\u3002';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>\u4E8E\u4E0B\u65B9\u5199\u51FA\u4E00\u6761\u516C\u5F0F\u4EE5\u8BA1\u7B97\u98DE\u673A\u4E0A\u7684\u5EA7\u4F4D\u603B\u6570\u3002</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
// This file was automatically generated from template.soy.
|
|
||||||
// Please don't edit this file by hand.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview Templates in namespace planepage.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (typeof planepage == 'undefined') { var planepage = {}; }
|
|
||||||
|
|
||||||
|
|
||||||
planepage.messages = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<div style="display: none"><span id="Plane_rows">\u6392\uFF1A%1</span><span id="Plane_getRows">\u6392\uFF08%1\uFF09</span><span id="Plane_rows1">\u982D\u7B49\u8259\uFF1A%1 \u6392</span><span id="Plane_getRows1">\u982D\u7B49\u8259\uFF08%1\uFF09</span><span id="Plane_rows2">\u7D93\u6FDF\u8259\uFF1A%1 \u6392</span><span id="Plane_getRows2">\u7D93\u6FDF\u8259\uFF08%1\uFF09</span><span id="Plane_seats">\u5EA7\u4F4D\uFF1A%1</span><span id="Plane_placeholder">\uFF1F</span><span id="Plane_setSeats">\u5EA7\u4F4D\uFF1D</span></div>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.messages.soyTemplateName = 'planepage.messages';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.start = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
var output = planepage.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ > <a href="../index.html">Demos</a>‏ > <span id="title">\u98DB\u6A5F\u5EA7\u4F4D\u8A08\u7B97\u5668</span> ';
|
|
||||||
var iLimit47 = opt_ijData.maxLevel + 1;
|
|
||||||
for (var i47 = 1; i47 < iLimit47; i47++) {
|
|
||||||
output += ' ' + ((i47 == opt_ijData.level) ? '<span class="tab" id="selected">' + soy.$$escapeHtml(i47) + '</span>' : (i47 < opt_ijData.level) ? '<a class="tab previous" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>' : '<a class="tab" href="?lang=' + soy.$$escapeHtml(opt_ijData.lang) + '&level=' + soy.$$escapeHtml(i47) + '">' + soy.$$escapeHtml(i47) + '</a>');
|
|
||||||
}
|
|
||||||
output += '</h1></td><td class="farSide"><span ' + ((opt_ijData.lang == 'en') ? 'id="languageBorder"' : '') + ' style="padding: 10px"><select id="languageMenu"></select></span></td></tr></table><script src="slider.js"><\/script><svg id="plane" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="600" height="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="243" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>' + ((opt_ijData.level > 1) ? '<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272" />' : '') + '</svg><p>';
|
|
||||||
switch (opt_ijData.level) {
|
|
||||||
case 1:
|
|
||||||
output += '\u4E00\u67B6\u98DB\u6A5F\u6709\u4E00\u5B9A\u91CF\u884C\u6578\u7684\u4E58\u5BA2\u5EA7\u4F4D\uFF0C\u6BCF\u6392\u90FD\u5305\u542B\u56DB\u500B\u5E2D\u4F4D\u3002';
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
output += '\u4E00\u67B6\u98DB\u6A5F\u9664\u4E86\u6709\u5169\u500B\u5EA7\u4F4D\u4F9B\u6B63\u526F\u6A5F\u5E2B\uFF0C\u9084\u6709\u4E00\u5B9A\u91CF\u884C\u6578\u7684\u4E58\u5BA2\u5EA7\u4F4D\u3002\u6BCF\u6392\u90FD\u5305\u542B\u56DB\u500B\u5E2D\u4F4D\u3002';
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
output += '\u4E00\u67B6\u98DB\u6A5F\u9664\u4E86\u6709\u5169\u500B\u5EA7\u4F4D\u4F9B\u6B63\u526F\u6A5F\u5E2B\uFF0C\u9084\u6709\u4E00\u5B9A\u91CF\u884C\u6578\u7684\u982D\u7B49\u53CA\u7D93\u6FDF\u4E58\u5BA2\u5EA7\u4F4D\u3002\u982D\u7B49\u8259\u6BCF\u6392\u90FD\u5305\u542B\u56DB\u500B\u5E2D\u4F4D\uFF0C\u7D93\u6FDF\u8259\u6BCF\u6392\u90FD\u5305\u542B\u4E94\u500B\u5E2D\u4F4D\u3002\u3002';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
output += '</p><p>\u65BC\u4E0B\u65B9\u5BEB\u51FA\u4E00\u689D\u516C\u5F0F\u4EE5\u8A08\u7B97\u98DB\u6A5F\u4E0A\u7684\u5EA7\u4F4D\u7E3D\u6578\u3002</p><script src="../../blockly_compressed.js"><\/script><script src="../../blocks_compressed.js"><\/script><script src="../../javascript_compressed.js"><\/script><script src="../../msg/js/' + soy.$$escapeHtml(opt_ijData.lang) + '.js"><\/script><script src="blocks.js"><\/script>' + planepage.toolbox(null, null, opt_ijData) + '<div id="blockly"></div>';
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.start.soyTemplateName = 'planepage.start';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
planepage.toolbox = function(opt_data, opt_ignored, opt_ijData) {
|
|
||||||
return '<xml id="toolbox" style="display: none"><block type="math_number"></block><block type="math_arithmetic"><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block>' + ((opt_ijData.level <= 2) ? '<block type="plane_get_rows"></block>' : '<block type="plane_get_rows1st"></block><block type="plane_get_rows2nd"></block>') + '</xml>';
|
|
||||||
};
|
|
||||||
if (goog.DEBUG) {
|
|
||||||
planepage.toolbox.soyTemplateName = 'planepage.toolbox';
|
|
||||||
}
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.8 KiB |
@@ -1,19 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta name="google" value="notranslate">
|
|
||||||
<title>Blockly Demo:</title>
|
|
||||||
<link rel="stylesheet" href="style.css">
|
|
||||||
<script src="soy/soyutils.js"></script>
|
|
||||||
<script src="plane.js"></script>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<script>
|
|
||||||
document.write(planepage.start({}, null,
|
|
||||||
{lang: Plane.LANG,
|
|
||||||
level: Plane.LEVEL,
|
|
||||||
maxLevel: Plane.MAX_LEVEL}));
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,429 +0,0 @@
|
|||||||
/**
|
|
||||||
* @license
|
|
||||||
* Copyright 2012 Google LLC
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview JavaScript for Blockly's Plane Seat Calculator demo.
|
|
||||||
*/
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a namespace for the application.
|
|
||||||
*/
|
|
||||||
var Plane = {};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Lookup for names of supported languages. Keys should be in ISO 639 format.
|
|
||||||
*/
|
|
||||||
Plane.LANGUAGE_NAME = {
|
|
||||||
'ar': 'العربية',
|
|
||||||
'be-tarask': 'Taraškievica',
|
|
||||||
'br': 'Brezhoneg',
|
|
||||||
'ca': 'Català',
|
|
||||||
'da': 'Dansk',
|
|
||||||
'de': 'Deutsch',
|
|
||||||
'el': 'Ελληνικά',
|
|
||||||
'en': 'English',
|
|
||||||
'es': 'Español',
|
|
||||||
'fa': 'فارسی',
|
|
||||||
'fr': 'Français',
|
|
||||||
'he': 'עברית',
|
|
||||||
'hrx': 'Hunsrik',
|
|
||||||
'hu': 'Magyar',
|
|
||||||
'ia': 'Interlingua',
|
|
||||||
'is': 'Íslenska',
|
|
||||||
'it': 'Italiano',
|
|
||||||
'ja': '日本語',
|
|
||||||
'ko': '한국어',
|
|
||||||
'ms': 'Bahasa Melayu',
|
|
||||||
'nb': 'Norsk Bokmål',
|
|
||||||
'nl': 'Nederlands, Vlaams',
|
|
||||||
'pl': 'Polski',
|
|
||||||
'pms': 'Piemontèis',
|
|
||||||
'pt-br': 'Português Brasileiro',
|
|
||||||
'ro': 'Română',
|
|
||||||
'ru': 'Русский',
|
|
||||||
'sc': 'Sardu',
|
|
||||||
'sv': 'Svenska',
|
|
||||||
'th': 'ภาษาไทย',
|
|
||||||
'tr': 'Türkçe',
|
|
||||||
'uk': 'Українська',
|
|
||||||
'vi': 'Tiếng Việt',
|
|
||||||
'zh-hans': '简体中文',
|
|
||||||
'zh-hant': '正體中文'
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* List of RTL languages.
|
|
||||||
*/
|
|
||||||
Plane.LANGUAGE_RTL = ['ar', 'fa', 'he'];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Main Blockly workspace.
|
|
||||||
* @type {Blockly.WorkspaceSvg}
|
|
||||||
*/
|
|
||||||
Plane.workspace = null;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Extracts a parameter from the URL.
|
|
||||||
* If the parameter is absent default_value is returned.
|
|
||||||
* @param {string} name The name of the parameter.
|
|
||||||
* @param {string} defaultValue Value to return if paramater not found.
|
|
||||||
* @return {string} The parameter value or the default value if not found.
|
|
||||||
*/
|
|
||||||
Plane.getStringParamFromUrl = function(name, defaultValue) {
|
|
||||||
var val = location.search.match(new RegExp('[?&]' + name + '=([^&]+)'));
|
|
||||||
return val ? decodeURIComponent(val[1].replace(/\+/g, '%20')) : defaultValue;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Extracts a numeric parameter from the URL.
|
|
||||||
* If the parameter is absent or less than min_value, min_value is
|
|
||||||
* returned. If it is greater than max_value, max_value is returned.
|
|
||||||
* @param {string} name The name of the parameter.
|
|
||||||
* @param {number} minValue The minimum legal value.
|
|
||||||
* @param {number} maxValue The maximum legal value.
|
|
||||||
* @return {number} A number in the range [min_value, max_value].
|
|
||||||
*/
|
|
||||||
Plane.getNumberParamFromUrl = function(name, minValue, maxValue) {
|
|
||||||
var val = Number(Plane.getStringParamFromUrl(name, 'NaN'));
|
|
||||||
return isNaN(val) ? minValue : Math.min(Math.max(minValue, val), maxValue);
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the language of this user from the URL.
|
|
||||||
* @return {string} User's language.
|
|
||||||
*/
|
|
||||||
Plane.getLang = function() {
|
|
||||||
var lang = Plane.getStringParamFromUrl('lang', '');
|
|
||||||
if (Plane.LANGUAGE_NAME[lang] === undefined) {
|
|
||||||
// Default to English.
|
|
||||||
lang = 'en';
|
|
||||||
}
|
|
||||||
return lang;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Is the current language (Plane.LANG) an RTL language?
|
|
||||||
* @return {boolean} True if RTL, false if LTR.
|
|
||||||
*/
|
|
||||||
Plane.isRtl = function() {
|
|
||||||
return Plane.LANGUAGE_RTL.indexOf(Plane.LANG) !== -1;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Load blocks saved in session/local storage.
|
|
||||||
* @param {string} defaultXml Text representation of default blocks.
|
|
||||||
*/
|
|
||||||
Plane.loadBlocks = function(defaultXml) {
|
|
||||||
try {
|
|
||||||
var loadOnce = window.sessionStorage.loadOnceBlocks;
|
|
||||||
} catch(e) {
|
|
||||||
// Firefox sometimes throws a SecurityError when accessing sessionStorage.
|
|
||||||
// Restarting Firefox fixes this, so it looks like a bug.
|
|
||||||
var loadOnce = null;
|
|
||||||
}
|
|
||||||
if (loadOnce) {
|
|
||||||
// Language switching stores the blocks during the reload.
|
|
||||||
delete window.sessionStorage.loadOnceBlocks;
|
|
||||||
var xml = Blockly.Xml.textToDom(loadOnce);
|
|
||||||
Blockly.Xml.domToWorkspace(xml, Plane.workspace);
|
|
||||||
} else if (defaultXml) {
|
|
||||||
// Load the editor with default starting blocks.
|
|
||||||
var xml = Blockly.Xml.textToDom(defaultXml);
|
|
||||||
Blockly.Xml.domToWorkspace(xml, Plane.workspace);
|
|
||||||
}
|
|
||||||
Plane.workspace.clearUndo();
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Save the blocks and reload with a different language.
|
|
||||||
*/
|
|
||||||
Plane.changeLanguage = function() {
|
|
||||||
// Store the blocks for the duration of the reload.
|
|
||||||
// This should be skipped for the index page, which has no blocks and does
|
|
||||||
// not load Blockly.
|
|
||||||
// MSIE 11 does not support sessionStorage on file:// URLs.
|
|
||||||
if (typeof Blockly !== 'undefined' && window.sessionStorage) {
|
|
||||||
var xml = Blockly.Xml.workspaceToDom(Plane.workspace);
|
|
||||||
var text = Blockly.Xml.domToText(xml);
|
|
||||||
window.sessionStorage.loadOnceBlocks = text;
|
|
||||||
}
|
|
||||||
|
|
||||||
var languageMenu = document.getElementById('languageMenu');
|
|
||||||
var newLang = encodeURIComponent(
|
|
||||||
languageMenu.options[languageMenu.selectedIndex].value);
|
|
||||||
var search = window.location.search;
|
|
||||||
if (search.length <= 1) {
|
|
||||||
search = '?lang=' + newLang;
|
|
||||||
} else if (search.match(/[?&]lang=[^&]*/)) {
|
|
||||||
search = search.replace(/([?&]lang=)[^&]*/, '$1' + newLang);
|
|
||||||
} else {
|
|
||||||
search = search.replace(/\?/, '?lang=' + newLang + '&');
|
|
||||||
}
|
|
||||||
|
|
||||||
window.location = window.location.protocol + '//' +
|
|
||||||
window.location.host + window.location.pathname + search;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Gets the message with the given key from the document.
|
|
||||||
* @param {string} key The key of the document element.
|
|
||||||
* @return {string} The textContent of the specified element,
|
|
||||||
* or an error message if the element was not found.
|
|
||||||
*/
|
|
||||||
Plane.getMsg = function(key) {
|
|
||||||
var element = document.getElementById(key);
|
|
||||||
if (element) {
|
|
||||||
var text = element.textContent;
|
|
||||||
// Convert newline sequences.
|
|
||||||
text = text.replace(/\\n/g, '\n');
|
|
||||||
return text;
|
|
||||||
} else {
|
|
||||||
return '[Unknown message: ' + key + ']';
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* User's language (e.g. "en").
|
|
||||||
* @type {string}
|
|
||||||
*/
|
|
||||||
Plane.LANG = Plane.getLang();
|
|
||||||
|
|
||||||
Plane.MAX_LEVEL = 3;
|
|
||||||
Plane.LEVEL = Plane.getNumberParamFromUrl('level', 1, Plane.MAX_LEVEL);
|
|
||||||
|
|
||||||
Plane.rows1st = 0;
|
|
||||||
Plane.rows2nd = 0;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Redraw the rows and update blocks when the slider has moved.
|
|
||||||
* @param {number} value New slider position.
|
|
||||||
*/
|
|
||||||
Plane.sliderChange = function(value) {
|
|
||||||
var newRows = Math.round(value * 410 / 20);
|
|
||||||
Plane.redraw(newRows);
|
|
||||||
|
|
||||||
function updateBlocks(blocks) {
|
|
||||||
for (var i = 0, block; block = blocks[i]; i++) {
|
|
||||||
block.customUpdate && block.customUpdate();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
updateBlocks(Plane.workspace.getAllBlocks(false), true);
|
|
||||||
updateBlocks(Plane.workspace.flyout_.workspace_.getAllBlocks(false));
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Change the text of a label.
|
|
||||||
* @param {string} id ID of element to change.
|
|
||||||
* @param {string} text New text.
|
|
||||||
*/
|
|
||||||
Plane.setText = function(id, text) {
|
|
||||||
var el = document.getElementById(id);
|
|
||||||
while (el.firstChild) {
|
|
||||||
el.removeChild(el.firstChild);
|
|
||||||
}
|
|
||||||
el.appendChild(document.createTextNode(text));
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Display a checkmark or cross next to the answer.
|
|
||||||
* @param {?boolean} ok True for checkmark, false for cross, null for nothing.
|
|
||||||
*/
|
|
||||||
Plane.setCorrect = function(ok) {
|
|
||||||
var yes = document.getElementById('seatYes');
|
|
||||||
var no = document.getElementById('seatNo');
|
|
||||||
yes.style.display = 'none';
|
|
||||||
no.style.display = 'none';
|
|
||||||
if (ok === true) {
|
|
||||||
yes.style.display = 'block';
|
|
||||||
} else if (ok === false) {
|
|
||||||
no.style.display = 'block';
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Initialize Blockly and the SVG plane.
|
|
||||||
*/
|
|
||||||
Plane.init = function() {
|
|
||||||
Plane.initLanguage();
|
|
||||||
|
|
||||||
// Fixes viewport for small screens.
|
|
||||||
var viewport = document.querySelector('meta[name="viewport"]');
|
|
||||||
if (viewport && screen.availWidth < 725) {
|
|
||||||
viewport.setAttribute('content',
|
|
||||||
'width=725, initial-scale=.35, user-scalable=no');
|
|
||||||
}
|
|
||||||
|
|
||||||
Plane.workspace = Blockly.inject('blockly',
|
|
||||||
{media: '../../media/',
|
|
||||||
rtl: Plane.isRtl(),
|
|
||||||
toolbox: document.getElementById('toolbox')});
|
|
||||||
|
|
||||||
var defaultXml =
|
|
||||||
'<xml xmlns="https://developers.google.com/blockly/xml">' +
|
|
||||||
' <block type="plane_set_seats" deletable="false" x="70" y="70">' +
|
|
||||||
' </block>' +
|
|
||||||
'</xml>';
|
|
||||||
Plane.loadBlocks(defaultXml);
|
|
||||||
|
|
||||||
Plane.workspace.addChangeListener(Plane.recalculate);
|
|
||||||
Plane.workspace.addChangeListener(Blockly.Events.disableOrphans);
|
|
||||||
|
|
||||||
// Initialize the slider.
|
|
||||||
var svg = document.getElementById('plane');
|
|
||||||
Plane.rowSlider = new Slider(60, 330, 425, svg, Plane.sliderChange);
|
|
||||||
Plane.rowSlider.setValue(0.225);
|
|
||||||
|
|
||||||
// Draw five 1st class rows.
|
|
||||||
Plane.redraw(5);
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Initialize the page language.
|
|
||||||
*/
|
|
||||||
Plane.initLanguage = function() {
|
|
||||||
// Set the page title with the content of the H1 title.
|
|
||||||
document.title += ' ' + document.getElementById('title').textContent;
|
|
||||||
|
|
||||||
// Set the HTML's language and direction.
|
|
||||||
// document.dir fails in Mozilla, use document.body.parentNode.dir instead.
|
|
||||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=151407
|
|
||||||
var rtl = Plane.isRtl();
|
|
||||||
document.head.parentElement.setAttribute('dir', rtl ? 'rtl' : 'ltr');
|
|
||||||
document.head.parentElement.setAttribute('lang', Plane.LANG);
|
|
||||||
|
|
||||||
// Sort languages alphabetically.
|
|
||||||
var languages = [];
|
|
||||||
for (var lang in Plane.LANGUAGE_NAME) {
|
|
||||||
languages.push([Plane.LANGUAGE_NAME[lang], lang]);
|
|
||||||
}
|
|
||||||
var comp = function(a, b) {
|
|
||||||
// Sort based on first argument ('English', 'Русский', '简体字', etc).
|
|
||||||
if (a[0] > b[0]) return 1;
|
|
||||||
if (a[0] < b[0]) return -1;
|
|
||||||
return 0;
|
|
||||||
};
|
|
||||||
languages.sort(comp);
|
|
||||||
// Populate the language selection menu.
|
|
||||||
var languageMenu = document.getElementById('languageMenu');
|
|
||||||
languageMenu.options.length = 0;
|
|
||||||
for (var i = 0; i < languages.length; i++) {
|
|
||||||
var tuple = languages[i];
|
|
||||||
var lang = tuple[tuple.length - 1];
|
|
||||||
var option = new Option(tuple[0], lang);
|
|
||||||
if (lang === Plane.LANG) {
|
|
||||||
option.selected = true;
|
|
||||||
}
|
|
||||||
languageMenu.options.add(option);
|
|
||||||
}
|
|
||||||
languageMenu.addEventListener('change', Plane.changeLanguage, true);
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Use the blocks to calculate the number of seats.
|
|
||||||
* Display the calculated number.
|
|
||||||
*/
|
|
||||||
Plane.recalculate = function() {
|
|
||||||
// Find the 'set' block and use it as the formula root.
|
|
||||||
var rootBlock = null;
|
|
||||||
var blocks = Plane.workspace.getTopBlocks(false);
|
|
||||||
for (var i = 0, block; block = blocks[i]; i++) {
|
|
||||||
if (block.type === 'plane_set_seats') {
|
|
||||||
rootBlock = block;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
var seats = NaN;
|
|
||||||
Blockly.JavaScript.init(Plane.workspace);
|
|
||||||
var code = Blockly.JavaScript.blockToCode(rootBlock);
|
|
||||||
try {
|
|
||||||
seats = eval(code);
|
|
||||||
} catch (e) {
|
|
||||||
// Allow seats to remain NaN.
|
|
||||||
}
|
|
||||||
Plane.setText('seatText',
|
|
||||||
Plane.getMsg('Plane_seats').replace(
|
|
||||||
'%1', isNaN(seats) ? '?' : seats));
|
|
||||||
Plane.setCorrect(isNaN(seats) ? null : (Plane.answer() === seats));
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Calculate the correct answer.
|
|
||||||
* @return {number} Number of seats.
|
|
||||||
*/
|
|
||||||
Plane.answer = function() {
|
|
||||||
if (Plane.LEVEL === 1) {
|
|
||||||
return Plane.rows1st * 4;
|
|
||||||
} else if (Plane.LEVEL === 2) {
|
|
||||||
return 2 + (Plane.rows1st * 4);
|
|
||||||
} else if (Plane.LEVEL === 3) {
|
|
||||||
return 2 + (Plane.rows1st * 4) + (Plane.rows2nd * 5);
|
|
||||||
}
|
|
||||||
throw 'Unknown level.';
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Redraw the SVG to show a new number of rows.
|
|
||||||
* @param {number} newRows
|
|
||||||
*/
|
|
||||||
Plane.redraw = function(newRows) {
|
|
||||||
var rows1st = Plane.rows1st;
|
|
||||||
var rows2nd = Plane.rows2nd;
|
|
||||||
var svg = document.getElementById('plane');
|
|
||||||
if (newRows !== rows1st) {
|
|
||||||
while (newRows < rows1st) {
|
|
||||||
var row = document.getElementById('row1st' + rows1st);
|
|
||||||
row.parentNode.removeChild(row);
|
|
||||||
rows1st--;
|
|
||||||
}
|
|
||||||
while (newRows > rows1st) {
|
|
||||||
rows1st++;
|
|
||||||
var row = document.createElementNS('http://www.w3.org/2000/svg', 'use');
|
|
||||||
row.id = 'row1st' + rows1st;
|
|
||||||
// Row of 4 seats.
|
|
||||||
row.setAttribute('x', (rows1st - 1) * 20);
|
|
||||||
row.setAttributeNS('http://www.w3.org/1999/xlink',
|
|
||||||
'xlink:href', '#row1st');
|
|
||||||
svg.appendChild(row);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (Plane.LEVEL === 3) {
|
|
||||||
newRows = Math.floor((21 - newRows) * 1.11);
|
|
||||||
while (newRows < rows2nd) {
|
|
||||||
var row = document.getElementById('row2nd' + rows2nd);
|
|
||||||
row.parentNode.removeChild(row);
|
|
||||||
rows2nd--;
|
|
||||||
}
|
|
||||||
while (newRows > rows2nd) {
|
|
||||||
rows2nd++;
|
|
||||||
var row = document.createElementNS('http://www.w3.org/2000/svg', 'use');
|
|
||||||
row.id = 'row2nd' + rows2nd;
|
|
||||||
row.setAttribute('x', 400 - (rows2nd - 1) * 18);
|
|
||||||
row.setAttributeNS('http://www.w3.org/1999/xlink',
|
|
||||||
'xlink:href', '#row2nd');
|
|
||||||
svg.appendChild(row);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (Plane.LEVEL < 3) {
|
|
||||||
Plane.setText('row1stText',
|
|
||||||
Plane.getMsg('Plane_rows').replace('%1', rows1st));
|
|
||||||
} else {
|
|
||||||
Plane.setText('row1stText',
|
|
||||||
Plane.getMsg('Plane_rows1').replace('%1', rows1st));
|
|
||||||
Plane.setText('row2ndText',
|
|
||||||
Plane.getMsg('Plane_rows2').replace('%1', rows2nd));
|
|
||||||
}
|
|
||||||
|
|
||||||
Plane.rows1st = rows1st;
|
|
||||||
Plane.rows2nd = rows2nd;
|
|
||||||
Plane.recalculate();
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
window.addEventListener('load', Plane.init);
|
|
||||||
|
|
||||||
// Load the user's language pack.
|
|
||||||
document.write('<script src="generated/' + Plane.LANG + '.js"></script>\n');
|
|
||||||
@@ -1,273 +0,0 @@
|
|||||||
/**
|
|
||||||
* @license
|
|
||||||
* Copyright 2012 Google LLC
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @fileoverview A slider control in SVG.
|
|
||||||
*/
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Object representing a horizontal slider widget.
|
|
||||||
* @param {number} x The horizontal offset of the slider.
|
|
||||||
* @param {number} y The vertical offset of the slider.
|
|
||||||
* @param {number} width The total width of the slider.
|
|
||||||
* @param {!Element} svgParent The SVG element to append the slider to.
|
|
||||||
* @param {Function=} opt_changeFunc Optional callback function that will be
|
|
||||||
* called when the slider is moved. The current value is passed.
|
|
||||||
* @constructor
|
|
||||||
*/
|
|
||||||
var Slider = function(x, y, width, svgParent, opt_changeFunc) {
|
|
||||||
this.KNOB_Y_ = y - 12;
|
|
||||||
this.KNOB_MIN_X_ = x + 8;
|
|
||||||
this.KNOB_MAX_X_ = x + width - 8;
|
|
||||||
this.TARGET_OVERHANG_ = 20;
|
|
||||||
this.value_ = 0.5;
|
|
||||||
this.changeFunc_ = opt_changeFunc;
|
|
||||||
this.animationTasks_ = [];
|
|
||||||
|
|
||||||
// Draw the slider.
|
|
||||||
/*
|
|
||||||
<line class="sliderTrack" x1="10" y1="35" x2="140" y2="35" />
|
|
||||||
<rect style="opacity: 0" x="5" y="25" width="150" height="20" />
|
|
||||||
<path id="knob"
|
|
||||||
transform="translate(67, 23)"
|
|
||||||
d="m 8,0 l -8,8 v 12 h 16 v -12 z" />
|
|
||||||
<circle style="opacity: 0" r="20" cy="35" cx="75"></circle>
|
|
||||||
*/
|
|
||||||
var track = document.createElementNS(Slider.SVG_NS_, 'line');
|
|
||||||
track.setAttribute('class', 'sliderTrack');
|
|
||||||
track.setAttribute('x1', x);
|
|
||||||
track.setAttribute('y1', y);
|
|
||||||
track.setAttribute('x2', x + width);
|
|
||||||
track.setAttribute('y2', y);
|
|
||||||
svgParent.appendChild(track);
|
|
||||||
this.track_ = track;
|
|
||||||
var rect = document.createElementNS(Slider.SVG_NS_, 'rect');
|
|
||||||
rect.setAttribute('style', 'opacity: 0');
|
|
||||||
rect.setAttribute('x', x - this.TARGET_OVERHANG_);
|
|
||||||
rect.setAttribute('y', y - this.TARGET_OVERHANG_);
|
|
||||||
rect.setAttribute('width', width + 2 * this.TARGET_OVERHANG_);
|
|
||||||
rect.setAttribute('height', 2 * this.TARGET_OVERHANG_);
|
|
||||||
rect.setAttribute('rx', this.TARGET_OVERHANG_);
|
|
||||||
rect.setAttribute('ry', this.TARGET_OVERHANG_);
|
|
||||||
svgParent.appendChild(rect);
|
|
||||||
this.trackTarget_ = rect;
|
|
||||||
var knob = document.createElementNS(Slider.SVG_NS_, 'path');
|
|
||||||
knob.setAttribute('class', 'sliderKnob');
|
|
||||||
knob.setAttribute('d', 'm 0,0 l -8,8 v 12 h 16 v -12 z');
|
|
||||||
svgParent.appendChild(knob);
|
|
||||||
this.knob_ = knob;
|
|
||||||
var circle = document.createElementNS(Slider.SVG_NS_, 'circle');
|
|
||||||
circle.setAttribute('style', 'opacity: 0');
|
|
||||||
circle.setAttribute('r', this.TARGET_OVERHANG_);
|
|
||||||
circle.setAttribute('cy', y);
|
|
||||||
svgParent.appendChild(circle);
|
|
||||||
this.knobTarget_ = circle;
|
|
||||||
this.setValue(0.5);
|
|
||||||
|
|
||||||
// Find the root SVG object.
|
|
||||||
while (svgParent && svgParent.nodeName.toLowerCase() !== 'svg') {
|
|
||||||
svgParent = svgParent.parentNode;
|
|
||||||
}
|
|
||||||
this.SVG_ = svgParent;
|
|
||||||
|
|
||||||
// Bind the events to this slider.
|
|
||||||
Slider.bindEvent_(this.knobTarget_, 'mousedown', this, this.knobMouseDown_);
|
|
||||||
Slider.bindEvent_(this.knobTarget_, 'touchstart', this, this.knobMouseDown_);
|
|
||||||
Slider.bindEvent_(this.trackTarget_, 'mousedown', this, this.rectMouseDown_);
|
|
||||||
Slider.bindEvent_(this.SVG_, 'mouseup', null, Slider.knobMouseUp_);
|
|
||||||
Slider.bindEvent_(this.SVG_, 'touchend', null, Slider.knobMouseUp_);
|
|
||||||
Slider.bindEvent_(this.SVG_, 'mousemove', null, Slider.knobMouseMove_);
|
|
||||||
Slider.bindEvent_(this.SVG_, 'touchmove', null, Slider.knobMouseMove_);
|
|
||||||
Slider.bindEvent_(document, 'mouseover', null, Slider.mouseOver_);
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
Slider.SVG_NS_ = 'http://www.w3.org/2000/svg';
|
|
||||||
|
|
||||||
Slider.activeSlider_ = null;
|
|
||||||
Slider.startMouseX_ = 0;
|
|
||||||
Slider.startKnobX_ = 0;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Start a drag when clicking down on the knob.
|
|
||||||
* @param {!Event} e Mouse-down event.
|
|
||||||
* @private
|
|
||||||
*/
|
|
||||||
Slider.prototype.knobMouseDown_ = function(e) {
|
|
||||||
if (e.type === 'touchstart') {
|
|
||||||
if (e.changedTouches.length !== 1) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
Slider.touchToMouse_(e)
|
|
||||||
}
|
|
||||||
Slider.activeSlider_ = this;
|
|
||||||
Slider.startMouseX_ = this.mouseToSvg_(e).x;
|
|
||||||
Slider.startKnobX_ = 0;
|
|
||||||
var transform = this.knob_.getAttribute('transform');
|
|
||||||
if (transform) {
|
|
||||||
var r = transform.match(/translate\(\s*([-\d.]+)/);
|
|
||||||
if (r) {
|
|
||||||
Slider.startKnobX_ = Number(r[1]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// Stop browser from attempting to drag the knob or
|
|
||||||
// from scrolling/zooming the page.
|
|
||||||
e.preventDefault();
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Stop a drag when clicking up anywhere.
|
|
||||||
* @param {Event} e Mouse-up event.
|
|
||||||
* @private
|
|
||||||
*/
|
|
||||||
Slider.knobMouseUp_ = function(e) {
|
|
||||||
Slider.activeSlider_ = null;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Stop a drag when the mouse enters a node not part of the SVG.
|
|
||||||
* @param {Event} e Mouse-up event.
|
|
||||||
* @private
|
|
||||||
*/
|
|
||||||
Slider.mouseOver_ = function(e) {
|
|
||||||
if (!Slider.activeSlider_) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
var node = e.target;
|
|
||||||
// Find the root SVG object.
|
|
||||||
do {
|
|
||||||
if (node === Slider.activeSlider_.SVG_) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
} while (node = node.parentNode);
|
|
||||||
Slider.knobMouseUp_(e);
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Drag the knob to follow the mouse.
|
|
||||||
* @param {!Event} e Mouse-move event.
|
|
||||||
* @private
|
|
||||||
*/
|
|
||||||
Slider.knobMouseMove_ = function(e) {
|
|
||||||
var thisSlider = Slider.activeSlider_;
|
|
||||||
if (!thisSlider) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (e.type === 'touchmove') {
|
|
||||||
if (e.changedTouches.length !== 1) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
Slider.touchToMouse_(e)
|
|
||||||
}
|
|
||||||
var x = thisSlider.mouseToSvg_(e).x - Slider.startMouseX_ +
|
|
||||||
Slider.startKnobX_;
|
|
||||||
thisSlider.setValue((x - thisSlider.KNOB_MIN_X_) /
|
|
||||||
(thisSlider.KNOB_MAX_X_ - thisSlider.KNOB_MIN_X_));
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Jump to a new value when the track is clicked.
|
|
||||||
* @param {!Event} e Mouse-down event.
|
|
||||||
* @private
|
|
||||||
*/
|
|
||||||
Slider.prototype.rectMouseDown_ = function(e) {
|
|
||||||
if (e.type === 'touchstart') {
|
|
||||||
if (e.changedTouches.length !== 1) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
Slider.touchToMouse_(e)
|
|
||||||
}
|
|
||||||
var x = this.mouseToSvg_(e).x;
|
|
||||||
this.animateValue((x - this.KNOB_MIN_X_) /
|
|
||||||
(this.KNOB_MAX_X_ - this.KNOB_MIN_X_));
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the slider's value (0.0 - 1.0).
|
|
||||||
* @return {number} Current value.
|
|
||||||
*/
|
|
||||||
Slider.prototype.getValue = function() {
|
|
||||||
return this.value_;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Animates the slider's value (0.0 - 1.0).
|
|
||||||
* @param {number} value New value.
|
|
||||||
*/
|
|
||||||
Slider.prototype.animateValue = function(value) {
|
|
||||||
// Clear any ongoing animations.
|
|
||||||
while (this.animationTasks_.length) {
|
|
||||||
clearTimeout(this.animationTasks_.pop());
|
|
||||||
}
|
|
||||||
var duration = 200; // Milliseconds to animate for.
|
|
||||||
var steps = 10; // Number of steps to animate.
|
|
||||||
var oldValue = this.getValue();
|
|
||||||
var thisSlider = this;
|
|
||||||
var stepFunc = function(i) {
|
|
||||||
return function() {
|
|
||||||
var newVal = i * (value - oldValue) / (steps - 1) + oldValue;
|
|
||||||
thisSlider.setValue(newVal);
|
|
||||||
};
|
|
||||||
}
|
|
||||||
for (var i = 0; i < steps; i++) {
|
|
||||||
this.animationTasks_.push(setTimeout(stepFunc(i), i * duration / steps));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Sets the slider's value (0.0 - 1.0).
|
|
||||||
* @param {number} value New value.
|
|
||||||
*/
|
|
||||||
Slider.prototype.setValue = function(value) {
|
|
||||||
this.value_ = Math.min(Math.max(value, 0), 1);
|
|
||||||
var x = this.KNOB_MIN_X_ +
|
|
||||||
(this.KNOB_MAX_X_ - this.KNOB_MIN_X_) * this.value_;
|
|
||||||
this.knob_.setAttribute('transform',
|
|
||||||
'translate(' + x + ',' + this.KNOB_Y_ + ')');
|
|
||||||
this.knobTarget_.setAttribute('cx', x);
|
|
||||||
this.changeFunc_ && this.changeFunc_(this.value_);
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Convert the mouse coordinates into SVG coordinates.
|
|
||||||
* @param {!Object} e Object with x and y mouse coordinates.
|
|
||||||
* @return {!Object} Object with x and y properties in SVG coordinates.
|
|
||||||
* @private
|
|
||||||
*/
|
|
||||||
Slider.prototype.mouseToSvg_ = function(e) {
|
|
||||||
var svgPoint = this.SVG_.createSVGPoint();
|
|
||||||
svgPoint.x = e.clientX;
|
|
||||||
svgPoint.y = e.clientY;
|
|
||||||
var matrix = this.SVG_.getScreenCTM().inverse();
|
|
||||||
return svgPoint.matrixTransform(matrix);
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Bind an event to a function call.
|
|
||||||
* @param {!Node} node Node upon which to listen.
|
|
||||||
* @param {string} name Event name to listen to (e.g. 'mousedown').
|
|
||||||
* @param {Object} thisObject The value of 'this' in the function.
|
|
||||||
* @param {!Function} func Function to call when event is triggered.
|
|
||||||
* @private
|
|
||||||
*/
|
|
||||||
Slider.bindEvent_ = function(node, name, thisObject, func) {
|
|
||||||
var wrapFunc = function(e) {
|
|
||||||
func.apply(thisObject, arguments);
|
|
||||||
};
|
|
||||||
node.addEventListener(name, wrapFunc, false);
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Map the touch event's properties to be compatible with a mouse event.
|
|
||||||
* @param {TouchEvent} e Event to modify.
|
|
||||||
*/
|
|
||||||
Slider.touchToMouse_ = function(e) {
|
|
||||||
var touchPoint = e.changedTouches[0];
|
|
||||||
e.clientX = touchPoint.clientX;
|
|
||||||
e.clientY = touchPoint.clientY;
|
|
||||||
};
|
|
||||||
@@ -1,202 +0,0 @@
|
|||||||
|
|
||||||
Apache License
|
|
||||||
Version 2.0, January 2004
|
|
||||||
http://www.apache.org/licenses/
|
|
||||||
|
|
||||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
||||||
|
|
||||||
1. Definitions.
|
|
||||||
|
|
||||||
"License" shall mean the terms and conditions for use, reproduction,
|
|
||||||
and distribution as defined by Sections 1 through 9 of this document.
|
|
||||||
|
|
||||||
"Licensor" shall mean the copyright owner or entity authorized by
|
|
||||||
the copyright owner that is granting the License.
|
|
||||||
|
|
||||||
"Legal Entity" shall mean the union of the acting entity and all
|
|
||||||
other entities that control, are controlled by, or are under common
|
|
||||||
control with that entity. For the purposes of this definition,
|
|
||||||
"control" means (i) the power, direct or indirect, to cause the
|
|
||||||
direction or management of such entity, whether by contract or
|
|
||||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
||||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
||||||
|
|
||||||
"You" (or "Your") shall mean an individual or Legal Entity
|
|
||||||
exercising permissions granted by this License.
|
|
||||||
|
|
||||||
"Source" form shall mean the preferred form for making modifications,
|
|
||||||
including but not limited to software source code, documentation
|
|
||||||
source, and configuration files.
|
|
||||||
|
|
||||||
"Object" form shall mean any form resulting from mechanical
|
|
||||||
transformation or translation of a Source form, including but
|
|
||||||
not limited to compiled object code, generated documentation,
|
|
||||||
and conversions to other media types.
|
|
||||||
|
|
||||||
"Work" shall mean the work of authorship, whether in Source or
|
|
||||||
Object form, made available under the License, as indicated by a
|
|
||||||
copyright notice that is included in or attached to the work
|
|
||||||
(an example is provided in the Appendix below).
|
|
||||||
|
|
||||||
"Derivative Works" shall mean any work, whether in Source or Object
|
|
||||||
form, that is based on (or derived from) the Work and for which the
|
|
||||||
editorial revisions, annotations, elaborations, or other modifications
|
|
||||||
represent, as a whole, an original work of authorship. For the purposes
|
|
||||||
of this License, Derivative Works shall not include works that remain
|
|
||||||
separable from, or merely link (or bind by name) to the interfaces of,
|
|
||||||
the Work and Derivative Works thereof.
|
|
||||||
|
|
||||||
"Contribution" shall mean any work of authorship, including
|
|
||||||
the original version of the Work and any modifications or additions
|
|
||||||
to that Work or Derivative Works thereof, that is intentionally
|
|
||||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
||||||
or by an individual or Legal Entity authorized to submit on behalf of
|
|
||||||
the copyright owner. For the purposes of this definition, "submitted"
|
|
||||||
means any form of electronic, verbal, or written communication sent
|
|
||||||
to the Licensor or its representatives, including but not limited to
|
|
||||||
communication on electronic mailing lists, source code control systems,
|
|
||||||
and issue tracking systems that are managed by, or on behalf of, the
|
|
||||||
Licensor for the purpose of discussing and improving the Work, but
|
|
||||||
excluding communication that is conspicuously marked or otherwise
|
|
||||||
designated in writing by the copyright owner as "Not a Contribution."
|
|
||||||
|
|
||||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
||||||
on behalf of whom a Contribution has been received by Licensor and
|
|
||||||
subsequently incorporated within the Work.
|
|
||||||
|
|
||||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
||||||
this License, each Contributor hereby grants to You a perpetual,
|
|
||||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
||||||
copyright license to reproduce, prepare Derivative Works of,
|
|
||||||
publicly display, publicly perform, sublicense, and distribute the
|
|
||||||
Work and such Derivative Works in Source or Object form.
|
|
||||||
|
|
||||||
3. Grant of Patent License. Subject to the terms and conditions of
|
|
||||||
this License, each Contributor hereby grants to You a perpetual,
|
|
||||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
||||||
(except as stated in this section) patent license to make, have made,
|
|
||||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
||||||
where such license applies only to those patent claims licensable
|
|
||||||
by such Contributor that are necessarily infringed by their
|
|
||||||
Contribution(s) alone or by combination of their Contribution(s)
|
|
||||||
with the Work to which such Contribution(s) was submitted. If You
|
|
||||||
institute patent litigation against any entity (including a
|
|
||||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
||||||
or a Contribution incorporated within the Work constitutes direct
|
|
||||||
or contributory patent infringement, then any patent licenses
|
|
||||||
granted to You under this License for that Work shall terminate
|
|
||||||
as of the date such litigation is filed.
|
|
||||||
|
|
||||||
4. Redistribution. You may reproduce and distribute copies of the
|
|
||||||
Work or Derivative Works thereof in any medium, with or without
|
|
||||||
modifications, and in Source or Object form, provided that You
|
|
||||||
meet the following conditions:
|
|
||||||
|
|
||||||
(a) You must give any other recipients of the Work or
|
|
||||||
Derivative Works a copy of this License; and
|
|
||||||
|
|
||||||
(b) You must cause any modified files to carry prominent notices
|
|
||||||
stating that You changed the files; and
|
|
||||||
|
|
||||||
(c) You must retain, in the Source form of any Derivative Works
|
|
||||||
that You distribute, all copyright, patent, trademark, and
|
|
||||||
attribution notices from the Source form of the Work,
|
|
||||||
excluding those notices that do not pertain to any part of
|
|
||||||
the Derivative Works; and
|
|
||||||
|
|
||||||
(d) If the Work includes a "NOTICE" text file as part of its
|
|
||||||
distribution, then any Derivative Works that You distribute must
|
|
||||||
include a readable copy of the attribution notices contained
|
|
||||||
within such NOTICE file, excluding those notices that do not
|
|
||||||
pertain to any part of the Derivative Works, in at least one
|
|
||||||
of the following places: within a NOTICE text file distributed
|
|
||||||
as part of the Derivative Works; within the Source form or
|
|
||||||
documentation, if provided along with the Derivative Works; or,
|
|
||||||
within a display generated by the Derivative Works, if and
|
|
||||||
wherever such third-party notices normally appear. The contents
|
|
||||||
of the NOTICE file are for informational purposes only and
|
|
||||||
do not modify the License. You may add Your own attribution
|
|
||||||
notices within Derivative Works that You distribute, alongside
|
|
||||||
or as an addendum to the NOTICE text from the Work, provided
|
|
||||||
that such additional attribution notices cannot be construed
|
|
||||||
as modifying the License.
|
|
||||||
|
|
||||||
You may add Your own copyright statement to Your modifications and
|
|
||||||
may provide additional or different license terms and conditions
|
|
||||||
for use, reproduction, or distribution of Your modifications, or
|
|
||||||
for any such Derivative Works as a whole, provided Your use,
|
|
||||||
reproduction, and distribution of the Work otherwise complies with
|
|
||||||
the conditions stated in this License.
|
|
||||||
|
|
||||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
||||||
any Contribution intentionally submitted for inclusion in the Work
|
|
||||||
by You to the Licensor shall be under the terms and conditions of
|
|
||||||
this License, without any additional terms or conditions.
|
|
||||||
Notwithstanding the above, nothing herein shall supersede or modify
|
|
||||||
the terms of any separate license agreement you may have executed
|
|
||||||
with Licensor regarding such Contributions.
|
|
||||||
|
|
||||||
6. Trademarks. This License does not grant permission to use the trade
|
|
||||||
names, trademarks, service marks, or product names of the Licensor,
|
|
||||||
except as required for reasonable and customary use in describing the
|
|
||||||
origin of the Work and reproducing the content of the NOTICE file.
|
|
||||||
|
|
||||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
||||||
agreed to in writing, Licensor provides the Work (and each
|
|
||||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
||||||
implied, including, without limitation, any warranties or conditions
|
|
||||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
||||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
||||||
appropriateness of using or redistributing the Work and assume any
|
|
||||||
risks associated with Your exercise of permissions under this License.
|
|
||||||
|
|
||||||
8. Limitation of Liability. In no event and under no legal theory,
|
|
||||||
whether in tort (including negligence), contract, or otherwise,
|
|
||||||
unless required by applicable law (such as deliberate and grossly
|
|
||||||
negligent acts) or agreed to in writing, shall any Contributor be
|
|
||||||
liable to You for damages, including any direct, indirect, special,
|
|
||||||
incidental, or consequential damages of any character arising as a
|
|
||||||
result of this License or out of the use or inability to use the
|
|
||||||
Work (including but not limited to damages for loss of goodwill,
|
|
||||||
work stoppage, computer failure or malfunction, or any and all
|
|
||||||
other commercial damages or losses), even if such Contributor
|
|
||||||
has been advised of the possibility of such damages.
|
|
||||||
|
|
||||||
9. Accepting Warranty or Additional Liability. While redistributing
|
|
||||||
the Work or Derivative Works thereof, You may choose to offer,
|
|
||||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
||||||
or other liability obligations and/or rights consistent with this
|
|
||||||
License. However, in accepting such obligations, You may act only
|
|
||||||
on Your own behalf and on Your sole responsibility, not on behalf
|
|
||||||
of any other Contributor, and only if You agree to indemnify,
|
|
||||||
defend, and hold each Contributor harmless for any liability
|
|
||||||
incurred by, or claims asserted against, such Contributor by reason
|
|
||||||
of your accepting any such warranty or additional liability.
|
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
APPENDIX: How to apply the Apache License to your work.
|
|
||||||
|
|
||||||
To apply the Apache License to your work, attach the following
|
|
||||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
||||||
replaced with your own identifying information. (Don't include
|
|
||||||
the brackets!) The text should be enclosed in the appropriate
|
|
||||||
comment syntax for the file format. We also recommend that a
|
|
||||||
file or class name and description of purpose be included on the
|
|
||||||
same "printed page" as the copyright notice for easier
|
|
||||||
identification within third-party archives.
|
|
||||||
|
|
||||||
Copyright [yyyy] [name of copyright owner]
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
@@ -1,45 +0,0 @@
|
|||||||
// Copyright 2009 Google LLC
|
|
||||||
//
|
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
// you may not use this file except in compliance with the License.
|
|
||||||
// You may obtain a copy of the License at
|
|
||||||
//
|
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
//
|
|
||||||
// Unless required by applicable law or agreed to in writing, software
|
|
||||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
// See the License for the specific language governing permissions and
|
|
||||||
// limitations under the License.
|
|
||||||
|
|
||||||
|
|
||||||
Contents:
|
|
||||||
|
|
||||||
+ SoyToJsSrcCompiler.jar
|
|
||||||
Executable jar that compiles template files into JavaScript files.
|
|
||||||
|
|
||||||
+ SoyMsgExtractor.jar
|
|
||||||
Executable jar that extracts messages from template files into XLF files.
|
|
||||||
|
|
||||||
+ soyutils.js
|
|
||||||
Helper utilities required by all JavaScript code that SoyToJsSrcCompiler
|
|
||||||
generates. Equivalent functionality to soyutils_usegoog.js, but this
|
|
||||||
version does not need Closure Library.
|
|
||||||
|
|
||||||
|
|
||||||
Instructions:
|
|
||||||
|
|
||||||
+ A simple Hello World for JavaScript:
|
|
||||||
http://code.google.com/closure/templates/docs/helloworld_js.html
|
|
||||||
|
|
||||||
+ Complete documentation:
|
|
||||||
http://code.google.com/closure/templates/
|
|
||||||
|
|
||||||
+ Closure Templates project on Google Code:
|
|
||||||
http://code.google.com/p/closure-templates/
|
|
||||||
|
|
||||||
|
|
||||||
Notes:
|
|
||||||
|
|
||||||
+ Closure Templates requires Java 6 or higher:
|
|
||||||
http://www.java.com/
|
|
||||||
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -1,97 +0,0 @@
|
|||||||
body {
|
|
||||||
background-color: #fff;
|
|
||||||
font-family: sans-serif;
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
h1 {
|
|
||||||
font-weight: normal;
|
|
||||||
font-size: 140%;
|
|
||||||
}
|
|
||||||
.farSide {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
html[dir="RTL"] .farSide {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
.tab {
|
|
||||||
padding: 6px 12px;
|
|
||||||
text-decoration: none;
|
|
||||||
color: #000;
|
|
||||||
}
|
|
||||||
#selected {
|
|
||||||
font-weight: bold;
|
|
||||||
background-color: #ddd;
|
|
||||||
border-radius: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Pulse the language menu once to draw attention to it. */
|
|
||||||
#languageBorder {
|
|
||||||
border-radius: 4px;
|
|
||||||
animation: pulse 2s ease-in-out forwards;
|
|
||||||
animation-delay: 2s;
|
|
||||||
}
|
|
||||||
@keyframes pulse {
|
|
||||||
0% { background-color: #fff }
|
|
||||||
50% { background-color: #f00 }
|
|
||||||
100% { background-color: #fff }
|
|
||||||
}
|
|
||||||
|
|
||||||
#blockly {
|
|
||||||
height: 300px;
|
|
||||||
width: 100%;
|
|
||||||
border-style: solid;
|
|
||||||
border-color: #ddd;
|
|
||||||
border-width: 0 1px 1px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* SVG Plane. */
|
|
||||||
#plane {
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
#fuselage {
|
|
||||||
fill: #fff;
|
|
||||||
stroke: #000;
|
|
||||||
}
|
|
||||||
#wing, #tail {
|
|
||||||
fill: #ddd;
|
|
||||||
stroke: #444;
|
|
||||||
}
|
|
||||||
.crew {
|
|
||||||
fill: #f44;
|
|
||||||
stroke: #000;
|
|
||||||
}
|
|
||||||
.seat1st {
|
|
||||||
fill: #88f;
|
|
||||||
stroke: #000;
|
|
||||||
}
|
|
||||||
.seat2nd {
|
|
||||||
fill: #8b8;
|
|
||||||
stroke: #000;
|
|
||||||
}
|
|
||||||
#seatYes, #seatNo {
|
|
||||||
font-size: 40pt;
|
|
||||||
}
|
|
||||||
text {
|
|
||||||
font-family: sans-serif;
|
|
||||||
font-size: 20pt;
|
|
||||||
fill: #444;
|
|
||||||
}
|
|
||||||
html[dir="RTL"] #plane text {
|
|
||||||
text-anchor: end;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Slider. */
|
|
||||||
.sliderTrack {
|
|
||||||
stroke: #aaa;
|
|
||||||
stroke-width: 6px;
|
|
||||||
stroke-linecap: round;
|
|
||||||
}
|
|
||||||
.sliderKnob {
|
|
||||||
fill: #ddd;
|
|
||||||
stroke: #bbc;
|
|
||||||
stroke-width: 1px;
|
|
||||||
stroke-linejoin: round;
|
|
||||||
}
|
|
||||||
.sliderKnob:hover {
|
|
||||||
fill: #eee;
|
|
||||||
}
|
|
||||||
@@ -1,225 +0,0 @@
|
|||||||
{namespace planepage}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* This is a Closure Template.
|
|
||||||
*
|
|
||||||
* See the README.txt for details.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Translated messages for use in JavaScript.
|
|
||||||
*/
|
|
||||||
{template .messages}
|
|
||||||
<div style="display: none">
|
|
||||||
<span id="Plane_rows">{msg meaning="Plane.rows" desc="page text - Total number of rows of seats on an airplane.\n\nParameters:\n* %1 - number of rows of seats on an airplane. It is always an integer greater than or equal to zero."}Rows: %1{/msg}</span>
|
|
||||||
<span id="Plane_getRows">{msg meaning="Plane.getRows" desc="block text - The number of rows on the airplane, to be used in a mathematical equation, such as: 'seats = 4 x '''rows (5)''''.\n\nParameters:\n* %1 - number of rows of seats on an airplane. It is always an integer greater than or equal to zero."}rows (%1){/msg}</span>
|
|
||||||
<span id="Plane_rows1">{msg meaning="Plane.rows1" desc="page text - The number of rows of first-class seats on the airplane. You can see the block at [http://blockly-share.appspot.com/static/apps/plane/plane.html?lang=en&level=3].\n\nParameters:\n* %1 - number of rows of first-class seats on an airplane. It is always an integer greater than or equal to zero."}1st class rows: %1{/msg}</span>
|
|
||||||
<span id="Plane_getRows1">{msg meaning="Plane.getRows1" desc="block text - The number of rows of first-class seats on the, to be used in a mathematical equation. See [http://blockly-share.appspot.com/static/apps/plane/plane.html?lang=en&level=3].\n\nParameters:\n* %1 - number of rows of first-class seats on an airplane. It is always an integer greater than or equal to zero."}1st class rows (%1){/msg}</span>
|
|
||||||
<span id="Plane_rows2">{msg meaning="Plane.rows2" desc="page text - The number of rows of second-class seats on the airplane. %1 is an integer greater or equal to zero. See [http://blockly-share.appspot.com/static/apps/plane/plane.html?lang=en&level=3].\n\nParameters:\n* %1 - number of rows of second-class seats on an airplane. It is always an integer greater than or equal to zero."}2nd class rows: %1{/msg}</span>
|
|
||||||
<span id="Plane_getRows2">{msg meaning="Plane.getRows2" desc="block text - The number of rows of second-class (also called 'economy class') seats on the airplane, to be used in a mathematical expression.\n\nParameters:\n* %1 - number of rows of second-class seats on an airplane. It is always an integer greater than or equal to zero."}2nd class rows (%1){/msg}</span>
|
|
||||||
<span id="Plane_seats">{msg meaning="Plane.seats" desc="page text - The total number of seats on the airplane.\n\nParameters:\n* %1 - number of seats on an airplane. It is always either the next message or an integer greater than or equal to zero."}Seats: %1{/msg}</span>
|
|
||||||
<span id="Plane_placeholder">{msg meaning="Plane.placeholder" desc="page text - A word or symbol indicating that this numeric value has not yet been determined."}?{/msg}</span>
|
|
||||||
<span id="Plane_setSeats">{msg meaning="Plane.setSeats" desc="block text - The first half of a mathematical equation determining the number of seats in an airplane, such as: ''''seats =''' 4 x rows'."}seats ={/msg}</span>
|
|
||||||
</div>
|
|
||||||
{/template}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Web page structure.
|
|
||||||
*/
|
|
||||||
{template .start}
|
|
||||||
{call .messages /}
|
|
||||||
<table width="100%">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<h1><a href="https://developers.google.com/blockly/">Blockly</a>‏ >{sp}
|
|
||||||
<a href="../index.html">Demos</a>‏ >{sp}
|
|
||||||
<span id="title">
|
|
||||||
{msg meaning="Plane.plane" desc="title - Specifies that this is Blockly's '''Plane''' (airplane) tutorial. The word 'plane' was chosen over 'airplane' in English because it is shorter and less formal."}
|
|
||||||
Plane Seat Calculator
|
|
||||||
{/msg}
|
|
||||||
</span>
|
|
||||||
{sp} {sp}
|
|
||||||
{for $i in range(1, $ij.maxLevel + 1)}
|
|
||||||
{sp}
|
|
||||||
{if $i == $ij.level}
|
|
||||||
<span class="tab" id="selected">{$i}</span>
|
|
||||||
{else}
|
|
||||||
{if $i < $ij.level}
|
|
||||||
<a class="tab previous" href="?lang={$ij.lang}&level={$i}">{$i}</a>
|
|
||||||
{else}
|
|
||||||
<a class="tab" href="?lang={$ij.lang}&level={$i}">{$i}</a>
|
|
||||||
{/if}
|
|
||||||
{/if}
|
|
||||||
{/for}
|
|
||||||
</h1>
|
|
||||||
</td>
|
|
||||||
<td class="farSide">
|
|
||||||
<span {if $ij.lang == 'en'}id="languageBorder"{/if} style="padding: 10px">
|
|
||||||
<select id="languageMenu"></select>
|
|
||||||
</span>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<script src="slider.js"></script>
|
|
||||||
<svg
|
|
||||||
id="plane"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:svg="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
||||||
version="1.1"
|
|
||||||
width="600"
|
|
||||||
height="320"
|
|
||||||
viewBox="0 110 600 320">
|
|
||||||
<defs>
|
|
||||||
<g id="row1st">
|
|
||||||
<rect
|
|
||||||
class="seat1st"
|
|
||||||
width="10" height="10"
|
|
||||||
x="75" y="243" />
|
|
||||||
<rect
|
|
||||||
class="seat1st"
|
|
||||||
width="10" height="10"
|
|
||||||
x="75" y="254" />
|
|
||||||
<rect
|
|
||||||
class="seat1st"
|
|
||||||
width="10" height="10"
|
|
||||||
x="75" y="272" />
|
|
||||||
<rect
|
|
||||||
class="seat1st"
|
|
||||||
width="10" height="10"
|
|
||||||
x="75" y="283" />
|
|
||||||
</g>
|
|
||||||
<g id="row2nd">
|
|
||||||
<rect
|
|
||||||
class="seat2nd"
|
|
||||||
width="10" height="8"
|
|
||||||
x="75" y="243" />
|
|
||||||
<rect
|
|
||||||
class="seat2nd"
|
|
||||||
width="10" height="8"
|
|
||||||
x="75" y="251" />
|
|
||||||
<rect
|
|
||||||
class="seat2nd"
|
|
||||||
width="10" height="8"
|
|
||||||
x="75" y="269" />
|
|
||||||
<rect
|
|
||||||
class="seat2nd"
|
|
||||||
width="10" height="8"
|
|
||||||
x="75" y="277" />
|
|
||||||
<rect
|
|
||||||
class="seat2nd"
|
|
||||||
width="10" height="8"
|
|
||||||
x="75" y="285" />
|
|
||||||
</g>
|
|
||||||
<linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%">
|
|
||||||
<stop offset="0%" style="stop-color:#fff;stop-opacity:0" />
|
|
||||||
<stop offset="100%" style="stop-color:#fff;stop-opacity:1" />
|
|
||||||
</linearGradient>
|
|
||||||
<linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%">
|
|
||||||
<stop offset="0%" style="stop-color:#fff;stop-opacity:0" />
|
|
||||||
<stop offset="100%" style="stop-color:#fff;stop-opacity:1" />
|
|
||||||
</linearGradient>
|
|
||||||
</defs>
|
|
||||||
<path
|
|
||||||
d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z"
|
|
||||||
id="wing" />
|
|
||||||
<path
|
|
||||||
d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z"
|
|
||||||
id="tail" />
|
|
||||||
<path
|
|
||||||
d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z"
|
|
||||||
id="fuselage" />
|
|
||||||
<rect
|
|
||||||
width="610"
|
|
||||||
height="100"
|
|
||||||
x="-5"
|
|
||||||
y="110"
|
|
||||||
fill="url(#grad1)" />
|
|
||||||
<rect
|
|
||||||
width="610"
|
|
||||||
height="100"
|
|
||||||
x="-5"
|
|
||||||
y="330"
|
|
||||||
fill="url(#grad2)" />
|
|
||||||
<text id="row1stText" x="55" y="380"></text>
|
|
||||||
<text id="row2ndText" x="55" y="420"></text>
|
|
||||||
<text x="55" y="210">
|
|
||||||
<tspan id="seatText"></tspan>
|
|
||||||
<tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan>
|
|
||||||
<tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan>
|
|
||||||
</text>
|
|
||||||
{if $ij.level > 1}
|
|
||||||
<rect
|
|
||||||
id="crew_right" class="crew"
|
|
||||||
width="10" height="10"
|
|
||||||
x="35" y="254" />
|
|
||||||
<rect
|
|
||||||
id="crew_left" class="crew"
|
|
||||||
width="10" height="10"
|
|
||||||
x="35" y="272" />
|
|
||||||
{/if}
|
|
||||||
</svg>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
{switch $ij.level}
|
|
||||||
{case 1}
|
|
||||||
{msg meaning="Plane.description1" desc="instructions - Note that in [http://blockly-share.appspot.com/static/apps/plane/plane.html?lang=en&level=1 this level], there is only one type of seat on the plane."}An airplane has a number of rows of passenger seats. Each row contains four seats.{/msg}
|
|
||||||
{case 2}
|
|
||||||
{msg meaning="Plane.description2" desc="instructions - Note that in [http://blockly-share.appspot.com/static/apps/plane/plane.html?lang=en&level=2 this level], there are two types of seats on this plane."}An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.{/msg}
|
|
||||||
{case 3}
|
|
||||||
{msg meaning="Plane.description3" desc="instructions - Note that in [http://blockly-share.appspot.com/static/apps/plane/plane.html?lang=en&level=3 this level], there are three types of seats on this plane. Be sure to use the same terms for '1st class' and '2nd class' as you did for the earlier messages."}An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.{/msg}
|
|
||||||
{/switch}
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
{msg meaning="Plane.instructions" desc="page text - This text appears below the airplane graphic and above the space for the user to create the formula. The number of rows an the graphic may be changed by the user with a slider. See [http://blockly-share.appspot.com/static/apps/plane/plane.html?lang=en&level=1] for a picture."}Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).{/msg}
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<script src="../../blockly_compressed.js"></script>
|
|
||||||
<script src="../../blocks_compressed.js"></script>
|
|
||||||
<script src="../../javascript_compressed.js"></script>
|
|
||||||
<script src="../../msg/js/{$ij.lang}.js"></script>
|
|
||||||
<script src="blocks.js"></script>
|
|
||||||
{call .toolbox /}
|
|
||||||
<div id="blockly"></div>
|
|
||||||
{/template}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Toolboxes for each level.
|
|
||||||
*/
|
|
||||||
{template .toolbox}
|
|
||||||
<xml xmlns="https://developers.google.com/blockly/xml" id="toolbox" style="display: none">
|
|
||||||
<block type="math_number"></block>
|
|
||||||
<block type="math_arithmetic">
|
|
||||||
<value name="A">
|
|
||||||
<shadow type="math_number">
|
|
||||||
<field name="NUM">1</field>
|
|
||||||
</shadow>
|
|
||||||
</value>
|
|
||||||
<value name="B">
|
|
||||||
<shadow type="math_number">
|
|
||||||
<field name="NUM">1</field>
|
|
||||||
</shadow>
|
|
||||||
</value>
|
|
||||||
</block>
|
|
||||||
<block type="math_arithmetic">
|
|
||||||
<field name="OP">MULTIPLY</field>
|
|
||||||
<value name="A">
|
|
||||||
<shadow type="math_number">
|
|
||||||
<field name="NUM">1</field>
|
|
||||||
</shadow>
|
|
||||||
</value>
|
|
||||||
<value name="B">
|
|
||||||
<shadow type="math_number">
|
|
||||||
<field name="NUM">1</field>
|
|
||||||
</shadow>
|
|
||||||
</value>
|
|
||||||
</block>
|
|
||||||
{if $ij.level <= 2}
|
|
||||||
<block type="plane_get_rows"></block>
|
|
||||||
{else}
|
|
||||||
<block type="plane_get_rows1st"></block>
|
|
||||||
<block type="plane_get_rows2nd"></block>
|
|
||||||
{/if}
|
|
||||||
</xml>
|
|
||||||
{/template}
|
|
||||||
@@ -1,77 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" xml:space="preserve" source-language="en">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<note priority="1" from="description">page text - Total number of rows of seats on an airplane.\n\nParameters:\n* %1 - number of rows of seats on an airplane. It is always an integer greater than or equal to zero.</note>
|
|
||||||
<note priority="1" from="meaning">Plane.rows</note>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<note priority="1" from="description">block text - The first half of a mathematical equation determining the number of seats in an airplane, such as: ''''seats =''' 4 x rows'.</note>
|
|
||||||
<note priority="1" from="meaning">Plane.setSeats</note>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<note priority="1" from="description">instructions - Note that in [http://blockly-share.appspot.com/static/apps/plane/plane.html?lang=en&level=3 this level], there are three types of seats on this plane. Be sure to use the same terms for '1st class' and '2nd class' as you did for the earlier messages.</note>
|
|
||||||
<note priority="1" from="meaning">Plane.description3</note>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<note priority="1" from="description">page text - A word or symbol indicating that this numeric value has not yet been determined.</note>
|
|
||||||
<note priority="1" from="meaning">Plane.placeholder</note>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<note priority="1" from="description">page text - This text appears below the airplane graphic and above the space for the user to create the formula. The number of rows an the graphic may be changed by the user with a slider. See [http://blockly-share.appspot.com/static/apps/plane/plane.html?lang=en&level=1] for a picture.</note>
|
|
||||||
<note priority="1" from="meaning">Plane.instructions</note>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<note priority="1" from="description">instructions - Note that in [http://blockly-share.appspot.com/static/apps/plane/plane.html?lang=en&level=2 this level], there are two types of seats on this plane.</note>
|
|
||||||
<note priority="1" from="meaning">Plane.description2</note>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<note priority="1" from="description">block text - The number of rows of first-class seats on the, to be used in a mathematical equation. See [http://blockly-share.appspot.com/static/apps/plane/plane.html?lang=en&level=3].\n\nParameters:\n* %1 - number of rows of first-class seats on an airplane. It is always an integer greater than or equal to zero.</note>
|
|
||||||
<note priority="1" from="meaning">Plane.getRows1</note>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<note priority="1" from="description">page text - The number of rows of second-class seats on the airplane. %1 is an integer greater or equal to zero. See [http://blockly-share.appspot.com/static/apps/plane/plane.html?lang=en&level=3].\n\nParameters:\n* %1 - number of rows of second-class seats on an airplane. It is always an integer greater than or equal to zero.</note>
|
|
||||||
<note priority="1" from="meaning">Plane.rows2</note>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<note priority="1" from="description">page text - The total number of seats on the airplane.\n\nParameters:\n* %1 - number of seats on an airplane. It is always either the next message or an integer greater than or equal to zero.</note>
|
|
||||||
<note priority="1" from="meaning">Plane.seats</note>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<note priority="1" from="description">title - Specifies that this is Blockly's '''Plane''' (airplane) tutorial. The word 'plane' was chosen over 'airplane' in English because it is shorter and less formal.</note>
|
|
||||||
<note priority="1" from="meaning">Plane.plane</note>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<note priority="1" from="description">block text - The number of rows on the airplane, to be used in a mathematical equation, such as: 'seats = 4 x '''rows (5)''''.\n\nParameters:\n* %1 - number of rows of seats on an airplane. It is always an integer greater than or equal to zero.</note>
|
|
||||||
<note priority="1" from="meaning">Plane.getRows</note>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<note priority="1" from="description">page text - The number of rows of first-class seats on the airplane. You can see the block at [http://blockly-share.appspot.com/static/apps/plane/plane.html?lang=en&level=3].\n\nParameters:\n* %1 - number of rows of first-class seats on an airplane. It is always an integer greater than or equal to zero.</note>
|
|
||||||
<note priority="1" from="meaning">Plane.rows1</note>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<note priority="1" from="description">instructions - Note that in [http://blockly-share.appspot.com/static/apps/plane/plane.html?lang=en&level=1 this level], there is only one type of seat on the plane.</note>
|
|
||||||
<note priority="1" from="meaning">Plane.description1</note>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<note priority="1" from="description">block text - The number of rows of second-class (also called 'economy class') seats on the airplane, to be used in a mathematical expression.\n\nParameters:\n* %1 - number of rows of second-class seats on an airplane. It is always an integer greater than or equal to zero.</note>
|
|
||||||
<note priority="1" from="meaning">Plane.getRows2</note>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="ar">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>الصفوف: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>المقاعد =</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>طائرة بمقعدين في مقطورة الطيّار (للطيار ومساعده) وعدد من المقاعد في صفوف الدرجة الأولى والثانية. كل صف من صفوف الدرجة الأولى يحتوي على أربعة مقاعد. ويحتوي كل صف في الدرجة الثانية على خمسة مقاعد.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>؟</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>لبناء صيغة (أدناه) تقوم بحساب إجمالي عدد المقاعد في الطائرة عند تغيير الصفوف (أعلاه).</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>طائرة بمقعدين في مقطورة الطيّار (للطيار ومساعده) وعدد من الصفوف يحتوي كل صف على أربعة مقاعد.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>صفوف الطبقة الأولى (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>صفوف الفئة الثانية: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>المقاعد: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>آلة حاسبة لمقعد الطائرة</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>الصفوف (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>صفوف الطبقة الأولى: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>هنالك طائرة تحتوي على عدد من صفوف مقاعد الركاب. كل صف يحتوي على أربعة مقاعد.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>صفوف الفئة الثانية: (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="be-tarask">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>Радкоў: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>месцаў =</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>Самалёт мае два месцы ў кабіне экіпажа (пілот і другі пілот), і некалькі пасажырскіх шэрагаў месцаў 1-га кляса і 2-га кляса. Кожны шэраг 1-га кляса утрымлівае чатыры месцы. Кожны шэраг 2-га кляса ўтрымлівае пяць месцаў.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>Пабудаваць формулу (ніжэй), якая падлічвае агульную колькасьць месцаў у самалёце пры зьмене радоў (гл. вышэй).</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Самалёт мае два месцы ў кабіне экіпажа (пілот і другі пілот), і некалькі шэрагаў пасажырскіх сядзеньняў. Кожны шэраг утрымлівае чатыры месцы.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>радкі першага клясу (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>Радкі другога клясу: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>Месцаў: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>Калькулятар месцаў у самалёце</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>радкоў (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>Радкі першага клясу: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Самалёт мае некалькі шэрагаў пасажырскіх сядзеньняў. Кожная шэраг утрымлівае чатыры месцы.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>радкі другога клясу (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="br">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>Renkennadoù : %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>azezennoù =</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>En un nijerez ez eus div azezenn el logell leviañ(evit al loman hag an eil loman), hag un toullad renkennadoù azezennoù tremenidi kentañ hag eil klas. Peder azezenn zo e pep renkennad kentañ klas. Pemp azezenn zo e pemp renkennad eil klas.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>Sevel ur formulenn (amañ dindan) evit jediñ an niver a azezennoù en holl en nijerez pa vez kemmet an niver a renkennadoù (amañ a-us).</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>En un nijerez ez eus div azezenn el logell leviañ(evit al loman hag an eil loman), hag ur toullad renkennadoù azezennoù evit an dremenidi. Peder azezenn zo e pep renkennad.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>Renkennadoù kentañ klas (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>Renkennadoù eil klas : %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>Azezennoù : %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>Jederez azezenn nijerez</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>renkennadoù (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>Renkennadoù kentañ klas : %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Un nijerez he deus un toullad renkennadoù azezennoù evit ar veajourien. Peder azezenn a zo e pep renkennad.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>Renkennadoù eil klas (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="ca">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>Files: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>seients =</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>Un avió té dos seients en la cabina de vol (pel pilot i copilot) i un nombre de files per seients de passatgers de primera classe i de segona classe. Cada fila de primera classe conté quatre seients. Cada fila de segona classe conté cinc seients.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>Construïu una fórmula (a sota) que calculi el nombre total de seients de l'avió a mida que canviïn les files (a dalt).</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Un avió té dos seients en la cabina de vol (pel pilot i pel copilot) i un nombre de files de seients de passatgers. Cada fila conté quatre seients.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>files de primera classe (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>files de segona classe: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>Seients: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>Calculadora de seients d'avió</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>files (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>files de primera classe: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Un avió té un nombre de files de seients de passatgers. Cada fila conté quatre seients.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>files de segona classe (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="da">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>Rækker: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>sæder =</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>Et fly har to pladser i cockpittet (til pilot og med-pilot), og et antal rækker af 1. klasses og 2. klasses passagersæder. Hver 1. klasses række indeholder fire sæder. Hver 2. klasses række indeholder fem sæder.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>Opbyg en formel (nedenfor), der beregner det samlede antal pladser på flyet, hvis antal rækker ændres (ovenfor).</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Et fly har to pladser i cockpittet (til pilot og med-pilot), og et antal rækker af passagersæder. Hver række indeholder fire sæder.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>1. klasse rækker (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>2. klasse rækker: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>Sæder: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>Flysædelommeregner</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>rækker (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>1. klasse rækker: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Et fly har et antal rækker af passagersæder. Hver række indeholder fire sæder.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>2. klasse rækker (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="de">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>Reihen: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>Sitze =</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>Ein Flugzeug hat zwei Sitze im Pilotenstand (für den Piloten und Co-Piloten) und eine Anzahl an Reihen mit Passagiersitzen der 1. und 2. Klasse. Jede 1.-Klasse-Reihe enthält vier Sitze. Jede 2.-Klasse-Reihe enthält fünf Sitze.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>Erstelle eine Formel (unten), die die gesamte Anzahl an Sitzen im Flugzeug berechnet, wenn die Reihen (oben) geändert werden.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Ein Flugzeug hat zwei Sitze im Pilotenstand (für den Piloten und Co-Piloten) und eine Anzahl an Reihen mit Passagiersitzen. Jede Reihe enthält vier Sitze.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>Reihen der 1. Klasse (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>Reihen der 2. Klasse: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>Sitze: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>Flugzeugsitzrechner</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>Reihen (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>Reihen der 1. Klasse: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Ein Flugzeug hat eine Anzahl an Reihen mit Passagiersitzen. Jede Reihe enthält vier Sitze.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>Reihen der 2. Klasse (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="el">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>Σειρές: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>καθίσματα =</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>Ένα αεροπλάνο έχει δύο καθίσματα στον θάλαμο διακυβέρνησης (για τον κυβερνήτη και τον συγκυβερνήτη), καθώς και έναν αριθμό σειρών καθισμάτων για την 1η και 2η θέση. Κάθε σειρά της 1ης θέσης έχει τέσσερα καθίσματα και κάθε σειρά της 2ης θέσης έχει πέντε καθίσματα.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>;</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>Φτιάξε έναν τύπο (κάτω) που θα υπολογίζει τον συνολικό αριθμό καθισμάτων του αεροπλάνου καθώς αλλάζουν οι σειρές (πάνω).</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Ένα αεροπλάνο έχει δύο καθίσματα στον θάλαμο διακυβέρνησης (για τον κυβερνήτη και τον συγκυβερνήτη), καθώς και έναν αριθμό από σειρές καθισμάτων επιβατών. Κάθε σειρά έχει τέσσερα καθίσματα.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>Σειρές 1ης θέσης (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>Σειρές 2ης θέσης: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>Καθίσματα: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>Υπολογισμός Θέσεων Σε Αεροπλάνο</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>σειρές (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>Σειρές 1ης θέσης: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Ένα αεροπλάνο έχει έναν συγκεκριμένο αριθμό σειρών καθισμάτων επιβατών. Κάθε σειρά έχει τέσσερα καθίσματα.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>Σειρές 2ης θέσης (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="en">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>Rows: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>seats =</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>1st class rows (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>2nd class rows: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>Seats: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>Plane Seat Calculator</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>rows (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>1st class rows: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>An airplane has a number of rows of passenger seats. Each row contains four seats.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>2nd class rows (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="es">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>Filas: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>asientos =</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>Un avión tiene dos asientos en la cabina de vuelo (para el piloto y co-piloto), y un número de filas de asientos para pasajeros de primera y segunda clase. Cada fila de la primera clase contiene cuatro asientos. Cada fila de la segunda clase contiene cinco asientos.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>Construir una fórmula (abajo) que calcule el número total de asientos en el avión cuando las filas sean cambiadas (arriba).</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Un avión tiene dos asientos en la cabina de vuelo (para el piloto y co-piloto), y un número de filas de asientos de pasajeros. Cada fila contiene cuatro asientos.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>Filas de primera clase: (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>Filas de segunda clase: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>Asientos: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>Calculadora de asientos de avión</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>filas (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>Filas de primera clase: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Un avión tiene un número de filas de asientos de pasajeros. Cada fila contiene cuatro asientos.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>Filas de segunda clase: (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="en">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>Ridu: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>istmete arv =</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>Lennuki kokpitis on kaks istet (üks kummalegi piloodile), mingi arv ridu 1. klassi reisijatele ja mingi arv ridu 2. klassi reisijatele. Igas 1. klassi reas on neli istet, igas 2. klassi reas viis istet.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>Ehita plokkidest valem, mis arvutab istmete arvu lennukis õigesti sõltumata ridade arvust (seda saad muuta lennuki juures oleva liuguriga).</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Lennuki kokpitis on kaks istet (üks kummalegi piloodile) ja mingi arv istemridu reisijatele. Igas reas on neli istet.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>1. klassi ridu (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>2. klassi ridu: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>Istmeid: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>Lennukiistmete kalkulaator</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>rows (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>1. klassi ridu: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Lennukis on reisijate istmed mitmes reas. Igas reas on neli istet.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>2. klassi ridu (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="fa">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>ردیف: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>صندلیها =</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>یک هواپیما دو صندلی در کابین خلبان دارد (برای خلبان و کمک خلبان) و تهداد از صندلیها مسافرین درجه یک و درجه دو. هر ردیف درجه یک شامل چهار صندلی است. هر ردیف درجه دو شامل پنج صندلی است.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>؟</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>یک فرمول بسازید (پایین) که تعداد کل صندلیهای هواپیما با تغییر ردیف را حساب کند (بالا).</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>یک هواپیما دو صندلی در عرشهٔ پرواز دارد (برای خلبان و کمک خلبان) و تعدادی صندلی مسافرین. هر ردیف شامل چهار صندلی است.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>اولین کلاس ردیفها (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>دومین کلاس ردیف: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>صندلیها: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>محاسبهگر صندلیهای هواپیما</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>ردیفها (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>اولین ردیف کلاس: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>یک هواپیما تعداد از صندلیهای مسافرین را دارد. هر ردیف شمال چهار صندلی است.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>دومین کلاس ردیفها (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="fr">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>Rangées : %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>sièges =</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>Un avion a deux sièges dans la cabine de pilotage (pour le pilote et le copilote), et un certain nombre de rangées de sièges passager de première et seconde classes. Chaque rangée de première classe contient quatre sièges. Chaque rangée de seconde classe contient cinq sièges.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>Construire une formule (ci-dessous) qui calcule le nombre total de sièges dans l’avion quand le nombre de rangées est modifié (ci-dessus).</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Un avion a deux sièges dans le poste de pilotage (pour le pilote et le copilote), et un certain nombre de rangées de sièges passager. Chaque rangée contient quatre sièges.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>rangées de première classe (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>rangées de seconde classe : %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>Sièges : %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>Calculateur de sièges d’avion</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>rangées (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>rangées de première classe : %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Un avion a un nombre de rangées de sièges passager. Chaque rangée contient quatre sièges.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>rangées de seconde classe (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="he">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>שורות: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>מושבים =</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>במטוס יש שני מושבים עבור הצוות (בשביל הטייס וטייס המשנה), ומספר שורות מושבים במחלקת הנוסעים הראשונה ובמחלקת הנוסעים השנייה. כל שורה במחלקה הראשונה מכילה ארבעה מושבים. כל שורה במחלקה השנייה מכילה חמישה מושבים.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>בנה נוסחה (למטה) אשר תחשב את סך כל המושבים במטוס בהתאם לשינוי מספר השורות (למעלה).</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>במטוס יש שני מושבים עבור הצוות (בשביל הטייס וטייס המשנה), ומספר שורות עם מושבי נוסעים. בכל שורה יש ארבעה מושבים.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>שורות במחלקה ראשונה (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>שורות במחלקה שנייה: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>מושבים: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>מחשבון מושב במטוס</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>שורות (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>שורות במחלקה ראשונה: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>במטוס יש מספר שורות עם מושבי נוסעים. בכל שורה יש ארבעה מושבים.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>שורות במחלקה שנייה: (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="hrx">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>Reihe: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>Sitze =</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>En Fluchzeich hot zwooi Sitze im Pilotstand (für den Pilot und Co-Pilot) und en Oonzohl an Reihe mit Passagiersitze der 1. und 2. Klasse. Jede 1.-Klasse-Reih enthält vier Sitze. Jede 2.-Klasse-Reih enthält fünf Sitze.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>Erstell en Formel (unne), die die gesamte Oonzohl an Sitze im Fluchzeich berechnet, wenn die Reihe (uwe) geännert sin.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>En Fluchzeich hot zwooi Sitze im Pilotestand (für den Pilot und Co-Pilot) und en Oonzohl an Reihe mit Passagiersitze. Jede Reih enthält vier Sitze.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>Reihe von der 1. Klasse (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>Reihe von der 2. Klasse: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>Sitz: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>Fluchzeichsitzrechner</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>Reihe (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>Reihe von der 1. Klasse: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>En Fluchzeich hot en Oonzohl an Reihe mit Passagiersitze. Jede Reih enthält vier Sitze.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>Reihe von der 2. Klasse (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="hu">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>Sorok száma: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>Ülések száma =</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>Egy repülőgépnek 2 ülése van a pilótafülkében (a pilótának és a másodpilótának), az utasok 1. és 2. osztályon utazhatnak. Az 1. osztályon négy szék van egy sorban. A 2. osztályon öt szék van egy sorban.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>Készítsd el a képletet (lent) amivel kiszámolható, hogy hány ülés van összesen a repülőgépen annak függvényében, ahogy (fent) állítod a sorok számát.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Egy repülőgépnek 2 ülése van a pilótafülkében (a pilótának és a másodpilótának), az utasok több sorban ülnek az utastérben. Az utastér minden sorában négy szék van.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>1. osztály sorai (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>2. osztály: %1 sor</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>Ülések száma összesen: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>Repülőgép alkalmazás</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>Sorok száma (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>1. osztály: %1 sor</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Egy repülőgépen az utasok több sorban ülnek az utastérben. Az utastér minden sorában négy szék van.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>2. osztály sorai (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="ia">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>Filas: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>sedes =</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>Un avion ha duo sedes in le cabina (pro le pilota e le copilota) e un numero de filas de sedes pro passageros del prime classe e del secunde classes. Cata fila del prime classe contine quatro sedes. Cata fila del secunde classe contine cinque sedes.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>Construe un formula (ci infra) que calcula le numero total de sedes in le avion quando le numero de filas es cambiate (ci supra).</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Un avion ha duo sedes in le cabina (pro le pilota e le copilota) e un numero de filas de sedes pro passageros. Cata fila contine quatro sedes.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>filas de prime classe (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>Filas de secunde classe: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>Sedes: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>Calculator de sedias de avion</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>filas (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>Filas de prime classe: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Un avion ha un numero de filas de sedes pro passageros. Cata fila contine quatro sedes.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>filas de secunde classe (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="is">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>Raðir: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>sæti =</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>Flugvél er með tvö sæti í stjórnklefa (fyrir flugmanninn og aðstoðarflugmanninn) og einhvern fjölda sætaraða fyrir farþega á 1. og 2. farrými. Hver sætaröð á 1. farrými hefur fjögur sæti. Hver sætaröð á 2. farrými hefur fimm sæti.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>Búðu til formúlu (hér fyrir neðan) sem reiknar heildarfjölda sæta í flugvélinni eftir því sem röðunum er breytt (hér fyrir ofan).</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Flugvél er með tvö sæti í stjórnklefa (fyrir flugmanninn og aðstoðarflugmanninn) og einhvern fjölda sætaraða fyrir farþega. Hver sætaröð hefur fjögur sæti.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>raðir 1. farrými (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>Raðir 2. farrými: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>Sæti: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>Flugsætareiknir</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>raðir (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>Raðir 1. farrými: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Flugvél er með einhvern fjölda sætaraða fyrir farþega. Í hverri röð eru fjögur sæti.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>raðir 2. farrými (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="it">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>File: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>sedili =</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>Un aereo ha due posti nella cabina di pilotaggio (per il pilota e il co-pilota), e un numero di file in prima e seconda classe, con i posti a sedere dei passeggeri. Ogni fila della prima classe contiene quattro posti. Quelle invece della seconda classe, ne contengono cinque.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>Costruisci una formula (sotto) che calcola il numero totale di posti a sedere su un aeroplano, così come cambiano le file di posti (sopra).</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Un aeroplano ha due posti a sedere nella cabina di pilotaggio (per il pilota e co-pilota), e un numero di file con i posti a sedere dei passeggeri. Ogni fila contiene quattro posti.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>file 1ª classe (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>File 2ª classe: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>Sedili: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>Calcolo posti aereo</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>file (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>File 1ª classe: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Un aeroplano ha un numero di file contenenti i posti a sedere dei passeggeri. Ogni fila, contiene quattro posti a sedere.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>File 2ª classe (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="ja">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>列の数: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>座席の数 =</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>飛行機には、操縦室の 2 つの座席 (操縦士と副操縦士) と、ファーストクラスとセカンドクラスの乗客の座席の列があります。それぞれの列に、ファーストクラスでは 4 つの座席、セカンドクラスでは 5 つの座席があります。</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>飛行機の座席の数を計算する式を、上で列の数を変更しても正しくなるように、下に入力してください。</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>飛行機には、操縦室の 2 つの座席 (操縦士と副操縦士) と、乗客の座席の列があります。それぞれの列に 4 つの座席があります。</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>ファーストクラスの列数 (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>セカンドクラスの列数: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>座席の数: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>飛行機座席計算機</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>列の数 (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>ファーストクラスの列数: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>飛行機に乗客の座席の列があります。それぞれの列に 4 つの座席があります。</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>セカンドクラスの列数 (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="ko">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>행 수: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>좌석수 =</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>비행기는 비행 갑판(조종사와 부조종사용)에서 좌석 두 개가 있고, 1등석과 2등석 승객 좌석의 행 수가 있습니다. 각 1등석 행에는 시트 네 개가 포함되어 있습니다. 각 2등석 행에는 시트 다섯 개가 포함되어 있습니다.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>행이 바뀐(위) 비행기에 좌석의 총 수를 계산하는 공식(아래)을 구축하세요.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>비행기는 비행 갑판(조종사와 부조종사용)에서 좌석 두 개가 있고, 승객 좌석의 행 수가 있습니다. 각 행에는 시트 네 개가 포함되어 있습니다.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>1등석 행 수 (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>2등석 행 수: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>좌석 수: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>비행기 좌석 계산기</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>행 수 (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>1등석 행 수: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>비행기는 승객 좌석의 행 수가 있습니다. 각 행에는 시트 네 개가 포함되어 있습니다.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>2등석 행 수 (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="ms">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>Baris: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>tempat duduk =</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>Sebuah kapal terbang mempunyai tempat duduk di kokpit (untuk juruterbang dan pembantunya) dan sebilangan baris tempat duduk penumpang kelas pertama dan kelas kedua. Setiap baris kelas pertama mengandungi empat tempat duduk. Setiap baris kelas pertama mengandungi lima tempat duduk.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>Wujudkan formula (di bawah) yang mengira jumlah tempat duduk di dalam kapal terbang sedangkan baris-barisnya diubah (di atas).</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Sebuah kapal terbang mempunyai tempat duduk di kokpit (untuk juruterbang dan pembantunya) dan sebilangan baris tempat duduk penumpang. Setiap baris mengandungi empat tempat duduk.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>baris kelas pertama (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>Baris kelas kedua: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>Tempat duduk: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>Pengira Tempat Duduk Kapal Terbang</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>baris (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>Baris kelas pertama: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Sebuah kapal terbang mempunyai sebilangan baris tempat duduk penumpang. Setiap baris mengandungi empat tempat duduk.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>baris kelas kedua (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="nb">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>Rader: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>seter =</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>Et fly har to seter i cockpit (for piloten og andrepiloten), og et antall rader med passasjerseter på første og andre klasse. Hver av radene på første klasse har fire seter. Hver av radene på andre klasse har fem seter.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>Bygg en formel (under) som beregner det totale antall seter på flyet etter hvert som radene endres (over).</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Et fly har to seter i cockpit (for piloten og andrepiloten), og et antall rader med passasjerseter. Hver rad inneholder fire seter.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>Rader i første klasse (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>Rader i andre klasse: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>Seter: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>Flysetekalkulator</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>rader (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>Rader i første klasse: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Et fly har et antall rader med passasjerseter. Hver rad inneholder fire seter.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>Rader i andre klasse (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="nl">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>Rijen: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>stoelen=</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>Een vliegtuig heeft twee stoelen in de cockpit (voor de piloot en de copiloot) en een aantal rijen voor 1e klasse en 2e klasse passagiers. Iedere rij in de 1e klasse heeft vier stoelen. Iedere rij in de 2e klasse heeft vijf stoelen.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>Maak hieronder een formule die het totale aantal stoelen in het vliegtuig berekent als het aantal rijen hierboven wordt aangepast.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Een vliegtuig heeft twee stoelen in de cockpit (voor de piloot en de copiloot) en een aantal rijen met stoelen voor passagiers. Iedere rij bevat vier stoelen.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>Rijen 1e klas (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>Rijen 2e klas: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>Zitplaatsen: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>Vliegtuigstoelencalculator</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>rijen (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>Rijen 1e klas: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Een vliegtuig heeft een aantal rijen met stoelen. Iedere rij heeft vier stoelen.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>Rijen 2e klas (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="pl">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>Rzędów: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>siedzeń =</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>Samolot ma dwa miejsca w kabinie pilotów (dla pierwszego i drugiego pilota) oraz rzędy siedzeń dla pasażerów pierwszej i drugiej klasy. Każdy rząd pierwszej klasy składa się z czterech siedzeń. Każdy rząd drugiej klasy składa się z pięciu siedzeń.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>Zbuduj wzór (poniżej), który pozwala obliczyć łączną liczbę siedzeń w samolocie w funkcji zmieniającej się liczby rzędów (powyżej).</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Samolot ma dwa miejsca w kabinie pilotów (dla pierwszego i drugiego pilota) oraz rzędy siedzeń dla pasażerów. Każdy taki rząd składa się z czterech siedzeń.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>Rzędów w pierwszej klasie (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>Rzędów w drugiej klasie: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>Siedzeń: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>Kalkulator miejsc w samolocie.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>rzędów (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>Rzędów w pierwszej klasie: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Samolot ma kilka rzędów siedzeń pasażerów. Każdy rząd zawiera cztery miejsca.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>Rzędów w drugiej klasie (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="pms">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>Linie: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>sedij =</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>N'avion a l'ha doi sedij ant la cabin-a ëd pilotage (për ël pilòta e ël cò-pilòta) e un chèich nùmer ëd file ëd sedij pr'ij passagé ëd prima e sconda classa. Minca fila ëd prima classa a conten quatr sedij. Minca fila ëd seconda classa a conten sinch sedij.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>Fabriché na fórmola (sì-sota) ch'a fa 'l cont dël nùmer total ëd sedij ant l'avion cand che ël nùmer dle file a cangia (sì-dzora).</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>N'avion a l'ha doi sedij ant la cabin-a ëd pilotage (për ël pilòta e ël cò-pilòta), e un chèich nùmer ëd file ëd sedij pr'ij passagé. Minca fila a conten quatr sedij.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>linie ëd prima classa (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>linie ëd seconda classa: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>Sedij: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>Calcolator ëd sedij d'avion</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>linie (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>linie ëd prima classa: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>N'avion a l'ha un nùmer ëd file ëd sedij da passëgé. Minca fila a l'ha quatr sedij.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>linie ëd seconda classa (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="pt-br">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>Filas: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>assentos =</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>Um avião tem dois assentos na cabine de comando (para o piloto e o copiloto) e um número de filas de assentos na primeira e na segunda classe. Cada fila da primeira classe contém quatro assentos. Cada fila da segunda classe contém cinco assentos.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>Elabore uma fórmula (abaixo) que calcule o número total de assentos no avião a medida que as filas são alteradas (acima).</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Um avião tem dois assentos na cabine de comando (para o piloto e o copiloto) e um número de filas de assentos para os passageiros. Cada fila contém quatro assentos.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>filas na primeira classe (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>filas na segunda classe: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>Assentos: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>Calculadora de Assentos em Avião</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>filas (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>filas na primeira classe: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Um avião tem um número de filas de assentos para os passageiros. Cada fila contém quatro assentos.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>filas na segunda classe (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="ro">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>Rânduri: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>scaune =</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>Un avion are două scaune în carlingă (pentru pilot și copilot) și un număr de rânduri cu scaune de clasa I și clasa a II-a pentru pasageri. Fiecare rând de clasa I conține patru scaune. Fiecare rând de clasa a II-a conține cinci scaune.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>Construiește o formulă (mai jos) care calculează numărul total de locuri dintr-un avion în timp ce rândurile se schimbă (mai sus).</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Un avion are două scaune în carlingă (pentru pilot și copilot) și un număr de rânduri cu scaune pentru pasageri. Fiecare rând conține patru scaune.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>rânduri de clasa I (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>rânduri de clasa a II-a: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>Scaune: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>Calculator pentru locurile dintr-un avion</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>rânduri (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>rânduri de clasa I: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Un avion are un număr de rânduri cu scaune pentru pasageri. Fiecare rând conține patru scaune.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>rânduri de clasa a II-a (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="ru">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>Рядов: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>места =</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>В самолёте 2 места для пилота и его помощника, несколько рядов с пассажирскими местами первого класса, а также несколько рядов с пассажирскими местами второго класса. В каждом ряду первого класса 4 места. В каждом ряду второго класса 5 мест.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>Постройте формулу в области ниже, которая поможет рассчитать общее количество мест в самолёте (как на рисунке выше).</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>В самолёте 2 места для пилота и его помощника, а также несколько рядов с пассажирскими местами. В каждом ряду 4 места.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>ряды 1-го класса (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>Рядов 2-го класса: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>Мест: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>Калькулятор посадочных мест в самолёте</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>ряды (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>Рядов 1-го класса: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>В самолёте несколько рядов с пассажирскими местами. В каждом ряду 4 места.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>ряды 2-го класса (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="sc">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>Fileras: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>cadironis =</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>Unu aparèchiu tenit duus cadironis in sa cabina de cumandu (po su pilota e su co-pilota), e unas cantu fileras de cadironis po passigeris de prima classi e de segunda classi. Dònnia filera de prima classi tenit cuatru cadironis. Dònnia filera de segunda classi tenit cincu cadironis.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>Cuncorda una formula (innoi asuta) chi cumpudit su numeru totali de postus a setzi in s'aparechiu, a segunda de comenti mudant is fileras de postus (innoi in susu)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Unu aparèchiu tenit duus cadironis in sa cabina de cumandu (po su pilota e su co-pilota), e unas cantu fileras de cadironis po passigeris. Dònnia filera tenit cuatru cadironis.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>fileras de primu classi (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>fileras de segunda classi: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>Cadironis: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>Fai su contu de is cadironis de unu aparèchiu</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>fileras (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>fileras de primu classi: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Unu aparèchiu tenit unas cantu fileras de cadironis po passigeris. Dònnia filera tenit cuatru cadironis.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>fileras de segunda classi (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="sv">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>Rader: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>säten =</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>Ett flygplan har två säten i cockpiten (ett för piloten och ett för andrepiloten) och ett antal rader med passagerarsäten i första och andra klass. Varje rad i första klass innehåller fyra säten. Varje rad i andra klass innehåller fem säten.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>Bygg en formel (nedan) som beräknar det totala antalet säten på flygplanet när raderna ändras (ovan).</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Ett flygplan har två säten i cockpiten (ett för piloten och ett för andrepiloten) och ett antal rader med passagerarsäten. Varje rad innehåller fyra säten.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>Rader i första klass (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>Rader i andra klass: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>Säten: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>Plansäteskalkylator</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>rader (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>Rader i första klass: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Ett flygplan har ett antal rader med passagerarsäten. Varje rad innehåller fyra säten.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>Rader i andra klass (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="th">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>%1 แถว</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>จำนวนที่นั่ง =</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>ภายในเครื่องบินจะมีที่นั่งนักบินอยู่ 2 ที่ (สำหรับนักบิน และผู้ช่วยนักบิน) และจะมีแถวที่นั่งสำหรับผู้โดยสาร "ชั้นเฟิร์สคลาส" และ "ชั้นธุรกิจ" อยู่จำนวนหนึ่ง โดยในชั้นเฟิร์สคลาสจะมีแถวละ 4 ที่นั่ง ส่วนในชั้นธุรกิจจะมีแถวละ 5 ที่นั่ง</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>สร้างสูตรคำนวณ (ด้านล่าง) เพื่อคำนวณหาจำนวนที่นั่งทั้งหมดบนเครื่องบิน ตามจำนวนแถวที่เปลี่ยนไป (ด้านบน)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>ภายในเครื่องบินจะมีที่นั่งนักบินอยู่ 2 ที่ (สำหรับนักบิน และผู้ช่วยนักบิน) และมีแถวที่นั่งผู้โดยสารอยู่จำนวนหนึ่ง ในแต่ละแถวจะมี 4 ที่นั่ง</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>จำนวนแถวชั้นเฟิร์สคลาส (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>ชั้นธุรกิจ %1 แถว</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>คำนวณได้ทั้งหมด %1 ที่นั่ง</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>ระบบคำนวณที่นั่งบนเครื่องบิน</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>จำนวนแถว (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>ชั้นเฟิร์สคลาส %1 แถว</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>ภายในเครื่องบินประกอบไปด้วยแถวของที่นั่งผู้โดยสาร ในแต่ละแถวจะมี 4 ที่นั่ง</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>จำนวนแถวชั้นธุรกิจ (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="tr">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>Sıralar: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>koltuklar =</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>Bir uçağın uçuş güvertesinde iki koltuğu (pilot ve yardımcı pilot için), ve belirli sayıda birinci sınıf ve ikinci sınıf yolcu koltuğu sırası vardır. Her birinci sınıf sıra dört koltuk içerir. Her ikinci sınıf sıra beş koltuk içerir.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>Sıralar(üstte) değiştikçe uçaktaki toplam koltuk sayısını hesaplayan bir formül(altta) oluşturun.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Bir uçağın uçuş güvertesinde iki koltuğu (pilot ve yardımcı pilot için), ve belirli sayıda koltuk sırası vardır. Her sıra dört koltuk içerir.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>Birinci sınıf sıralar (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>İkinci sınıf sıralar: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>Koltuklar: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>Uçak Koltuğu Hesaplayıcı</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>sıralar (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>Birinci sınıf sıralar: (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Bir uçağın belirli sayıda koltuk sırası vardır. Her sıra dört koltuk içerir.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>İkinci sınıf sıralar (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="uk">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>Рядки: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>місць=</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>Літак має два місця в кабіні екіпажу (пілот і другий пілот), і кілька рядів 1-го класу 2-го класу пасажирських місць. Кожний ряд 1-го класу містить чотири місця. Кожен ряд 2-го класу містить п'ять місць.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>Побудувати формулу (нижче), яка обчислює кількість місць на літаку при зміні рядків (див. вище).</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Літак має два місця в кабіні екіпажу (пілот і другий пілот), і кілька рядів пасажирських сидінь. Кожен рядок містить чотири місця.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>рядів 1-го класу (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>рядів 2-го класу: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>Місць: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>Калькулятор місць у літаку</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>рядки (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>рядів 1-го класу: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Літак має кілька рядів пасажирських сидінь. Кожен ряд містить чотири місця.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>рядів 2-го класу (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="vi">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>Số hàng ghế: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>Tính số chỗ ngồi =</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>Một chiếc máy bay này có hai chỗ ngồi ở sàn (cho phi công trưởng và phi công phó), và một số hàng ghế hạng 1 và hạng 2. Mỗi hàng hạng 1 có bốn chỗ ngồi. Mỗi hàng hạng 2 có năm chỗ ngồi.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>Dưới đây hãy tạo công thức tính số chỗ ngồi trên máy bay để nó thay đổi tùy theo số lượng hàng ghế (hình trên).</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Một máy bay có hai ghế trong buồng lái (dành cho phi công trưởng và phi công phụ), và một loạt hàng ghế cho hành khách. Mỗi hàng có bốn ghế (bốn chỗ ngồi).</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>số hàng hạng nhất (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>Hàng hạng hai: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>Số chỗ ngồi: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>Máy bay ghế máy tính</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>đếm số hàng ghế (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>Hàng hạng nhất: %1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>Máy bay có một số hàng ghế hành khách. Mỗi hàng có bốn chỗ ngồi.</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>số hàng hạng hai (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="zh-hans">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>行:%1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>座位=</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>一架飞机除了有两个座位供正副驾驶员,还有一定量行数的头等及经济乘客座位。头等每行共四座,经济每行共五座。</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>于下方写出一条公式以计算飞机上的座位总数。</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>一架飞机除了有两个座位供正副驾驶员,还有一定量行数的乘客座位。每行共四座。</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>头等行(%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>经济等行:%1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>座位:%1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>飞机座位计算器</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>行 (%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>头等行:%1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>一架飞机有一定量行数的乘客座位,每行共四座。</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>经济等行(%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
||||||
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" source-language="en" target-language="zh-hant">
|
|
||||||
<body>
|
|
||||||
<trans-unit id="286555642257111053" datatype="html">
|
|
||||||
<source>Rows: %1</source>
|
|
||||||
<target>排:%1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="990695256953568910" datatype="html">
|
|
||||||
<source>seats =</source>
|
|
||||||
<target>座位=</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1327005465775917626" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of 1st class and 2nd class passenger seats. Each 1st class row contains four seats. Each 2nd class row contains five seats.</source>
|
|
||||||
<target>一架飛機除了有兩個座位供正副機師,還有一定量行數的頭等及經濟乘客座位。頭等艙每排都包含四個席位,經濟艙每排都包含五個席位。。</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="1649099567159388799" datatype="html">
|
|
||||||
<source>?</source>
|
|
||||||
<target>?</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="3872872459414039837" datatype="html">
|
|
||||||
<source>Build a formula (below) that calculates the total number of seats on the airplane as the rows are changed (above).</source>
|
|
||||||
<target>於下方寫出一條公式以計算飛機上的座位總數。</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="4755413400587385256" datatype="html">
|
|
||||||
<source>An airplane has two seats in the flight deck (for the pilot and co-pilot), and a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>一架飛機除了有兩個座位供正副機師,還有一定量行數的乘客座位。每排都包含四個席位。</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="5622822520334788359" datatype="html">
|
|
||||||
<source>1st class rows (%1)</source>
|
|
||||||
<target>頭等艙(%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6523489254328705062" datatype="html">
|
|
||||||
<source>2nd class rows: %1</source>
|
|
||||||
<target>經濟艙:%1 排</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6636919311618748816" datatype="html">
|
|
||||||
<source>Seats: %1</source>
|
|
||||||
<target>座位:%1</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="6646116297668869388" datatype="html">
|
|
||||||
<source>Plane Seat Calculator</source>
|
|
||||||
<target>飛機座位計算器</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7030918043298347994" datatype="html">
|
|
||||||
<source>rows (%1)</source>
|
|
||||||
<target>排(%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7091637686507441682" datatype="html">
|
|
||||||
<source>1st class rows: %1</source>
|
|
||||||
<target>頭等艙:%1 排</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="7784699858027886282" datatype="html">
|
|
||||||
<source>An airplane has a number of rows of passenger seats. Each row contains four seats.</source>
|
|
||||||
<target>一架飛機有一定量行數的乘客座位,每排都包含四個席位。</target>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="8347578891541780742" datatype="html">
|
|
||||||
<source>2nd class rows (%1)</source>
|
|
||||||
<target>經濟艙(%1)</target>
|
|
||||||
</trans-unit>
|
|
||||||
</body>
|
|
||||||
</file>
|
|
||||||
</xliff>
|
|
||||||
Reference in New Issue
Block a user