Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ardublockly
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
ardublockly
Commits
195389a6
Commit
195389a6
authored
Jul 27, 2015
by
carlosperate
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase the plane svg height and move the text to a second row.
parent
ac2344a0
Changes
36
Hide whitespace changes
Inline
Side-by-side
Showing
36 changed files
with
40 additions
and
40 deletions
+40
-40
demos/plane/generated/ar.js
demos/plane/generated/ar.js
+1
-1
demos/plane/generated/be-tarask.js
demos/plane/generated/be-tarask.js
+1
-1
demos/plane/generated/br.js
demos/plane/generated/br.js
+1
-1
demos/plane/generated/ca.js
demos/plane/generated/ca.js
+1
-1
demos/plane/generated/da.js
demos/plane/generated/da.js
+1
-1
demos/plane/generated/de.js
demos/plane/generated/de.js
+1
-1
demos/plane/generated/el.js
demos/plane/generated/el.js
+1
-1
demos/plane/generated/en.js
demos/plane/generated/en.js
+1
-1
demos/plane/generated/es.js
demos/plane/generated/es.js
+1
-1
demos/plane/generated/fa.js
demos/plane/generated/fa.js
+1
-1
demos/plane/generated/fr.js
demos/plane/generated/fr.js
+1
-1
demos/plane/generated/he.js
demos/plane/generated/he.js
+1
-1
demos/plane/generated/hrx.js
demos/plane/generated/hrx.js
+1
-1
demos/plane/generated/hu.js
demos/plane/generated/hu.js
+1
-1
demos/plane/generated/ia.js
demos/plane/generated/ia.js
+1
-1
demos/plane/generated/is.js
demos/plane/generated/is.js
+1
-1
demos/plane/generated/it.js
demos/plane/generated/it.js
+1
-1
demos/plane/generated/ja.js
demos/plane/generated/ja.js
+1
-1
demos/plane/generated/ko.js
demos/plane/generated/ko.js
+1
-1
demos/plane/generated/ms.js
demos/plane/generated/ms.js
+1
-1
demos/plane/generated/nb.js
demos/plane/generated/nb.js
+1
-1
demos/plane/generated/nl.js
demos/plane/generated/nl.js
+1
-1
demos/plane/generated/pl.js
demos/plane/generated/pl.js
+1
-1
demos/plane/generated/pms.js
demos/plane/generated/pms.js
+1
-1
demos/plane/generated/pt-br.js
demos/plane/generated/pt-br.js
+1
-1
demos/plane/generated/ro.js
demos/plane/generated/ro.js
+1
-1
demos/plane/generated/ru.js
demos/plane/generated/ru.js
+1
-1
demos/plane/generated/sc.js
demos/plane/generated/sc.js
+1
-1
demos/plane/generated/sv.js
demos/plane/generated/sv.js
+1
-1
demos/plane/generated/th.js
demos/plane/generated/th.js
+1
-1
demos/plane/generated/tr.js
demos/plane/generated/tr.js
+1
-1
demos/plane/generated/uk.js
demos/plane/generated/uk.js
+1
-1
demos/plane/generated/vi.js
demos/plane/generated/vi.js
+1
-1
demos/plane/generated/zh-hans.js
demos/plane/generated/zh-hans.js
+1
-1
demos/plane/generated/zh-hant.js
demos/plane/generated/zh-hant.js
+1
-1
demos/plane/template.soy
demos/plane/template.soy
+5
-5
No files found.
demos/plane/generated/ar.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
هنالك طائرة تحتوي على عدد من صفوف مقاعد الركاب. كل صف يحتوي على أربعة مقاعد.
'
;
...
...
demos/plane/generated/be-tarask.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Самалёт мае некалькі шэрагаў пасажырскіх сядзеньняў. Кожная шэраг утрымлівае чатыры месцы.
'
;
...
...
demos/plane/generated/br.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Un nijerez he deus un toullad renkennadoù azezennoù evit ar veajourien. Peder azezenn a zo e pep renkennad.
'
;
...
...
demos/plane/generated/ca.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Un avió té un nombre de files de seients de passatgers. Cada fila conté quatre seients.
'
;
...
...
demos/plane/generated/da.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Et fly har et antal rækker af passagersæder. Hver række indeholder fire sæder.
'
;
...
...
demos/plane/generated/de.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Ein Flugzeug hat eine Anzahl an Reihen mit Passagiersitzen. Jede Reihe enthält vier Sitze.
'
;
...
...
demos/plane/generated/el.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Ένα αεροπλάνο έχει έναν συγκεκριμένο αριθμό σειρών καθισμάτων επιβατών. Κάθε σειρά έχει τέσσερα καθίσματα.
'
;
...
...
demos/plane/generated/en.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
An airplane has a number of rows of passenger seats. Each row contains four seats.
'
;
...
...
demos/plane/generated/es.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Un avión tiene un número de filas de asientos de pasajeros. Cada fila contiene cuatro asientos.
'
;
...
...
demos/plane/generated/fa.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
یک هواپیما تعداد از صندلی
\
u200Cهای مسافرین را دارد. هر ردیف شمال چهار صندلی است.
'
;
...
...
demos/plane/generated/fr.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Un avion a un nombre de rangées de sièges passager. Chaque rangée contient quatre sièges.
'
;
...
...
demos/plane/generated/he.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
במטוס יש מספר שורות עם מושבי נוסעים. בכל שורה יש ארבעה מושבים.
'
;
...
...
demos/plane/generated/hrx.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
En Fluchzeich hot en Oonzohl an Reihe mit Passagiersitze. Jede Reih enthält vier Sitze.
'
;
...
...
demos/plane/generated/hu.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
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.
'
;
...
...
demos/plane/generated/ia.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</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.
'
;
...
...
demos/plane/generated/is.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Flugvél er með einhvern fjölda sætaraða fyrir farþega. Í hverri röð eru fjögur sæti.
'
;
...
...
demos/plane/generated/it.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</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.
'
;
...
...
demos/plane/generated/ja.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
飛行機に乗客の座席の列があります。それぞれの列に 4 つの座席があります。
'
;
...
...
demos/plane/generated/ko.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
비행기는 승객 좌석의 행 수가 있습니다. 각 행에는 시트 네 개가 포함되어 있습니다.
'
;
...
...
demos/plane/generated/ms.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Sebuah kapal terbang mempunyai sebilangan baris tempat duduk penumpang. Setiap baris mengandungi empat tempat duduk.
'
;
...
...
demos/plane/generated/nb.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Et fly har et antall rader med passasjerseter. Hver rad inneholder fire seter.
'
;
...
...
demos/plane/generated/nl.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Een vliegtuig heeft een aantal rijen met stoelen. Iedere rij heeft vier stoelen.
'
;
...
...
demos/plane/generated/pl.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Samolot ma kilka rzędów siedzeń pasażerów. Każdy rząd zawiera cztery miejsca.
'
;
...
...
demos/plane/generated/pms.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
N
\'
avion a l
\'
ha un nùmer ëd file ëd sedij da passëgé. Minca fila a l
\'
ha quatr sedij.
'
;
...
...
demos/plane/generated/pt-br.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Um avião tem um número de filas de assentos para os passageiros. Cada fila contém quatro assentos.
'
;
...
...
demos/plane/generated/ro.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Un avion are un număr de rânduri cu scaune pentru pasageri. Fiecare rând conține patru scaune.
'
;
...
...
demos/plane/generated/ru.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
В самолёте несколько рядов с пассажирскими местами. В каждом ряду 4 места.
'
;
...
...
demos/plane/generated/sc.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Unu aparèchiu tenit unas cantu fileras de cadironis po passigeris. Dònnia filera tenit cuatru cadironis.
'
;
...
...
demos/plane/generated/sv.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Ett flygplan har ett antal rader med passagerarsäten. Varje rad innehåller fyra säten.
'
;
...
...
demos/plane/generated/th.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
ภายในเครื่องบินประกอบไปด้วยแถวของที่นั่งผู้โดยสาร ในแต่ละแถวจะมี 4 ที่นั่ง
'
;
...
...
demos/plane/generated/tr.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Bir uçağın belirli sayıda koltuk sırası vardır. Her sıra dört koltuk içerir.
'
;
...
...
demos/plane/generated/uk.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Літак має кілька рядів пасажирських сидінь. Кожен ряд містить чотири місця.
'
;
...
...
demos/plane/generated/vi.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Máy bay có một số hàng ghế hành khách. Mỗi hàng có bốn chỗ ngồi.
'
;
...
...
demos/plane/generated/zh-hans.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
一架飞机有一定量行数的乘客座位,每行共四座。
'
;
...
...
demos/plane/generated/zh-hant.js
View file @
195389a6
...
...
@@ -15,7 +15,7 @@ planepage.start = function(opt_data, opt_ignored, opt_ijData) {
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="
256" viewBox="0 142 600 256"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 z" id="fuselage" /><rect width="610" height="100" x="-5" y="142" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="298" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="350" y="38
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
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="245" /><rect class="seat1st" width="10" height="10" x="75" y="256" /><rect class="seat1st" width="10" height="10" x="75" y="274" /><rect class="seat1st" width="10" height="10" x="75" y="285" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="245" /><rect class="seat2nd" width="10" height="8" x="75" y="253" /><rect class="seat2nd" width="10" height="8" x="75" y="271" /><rect class="seat2nd" width="10" height="8" x="75" y="279" /><rect class="seat2nd" width="10" height="8" x="75" y="287" /></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 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189 z" id="wing" /><path d="m 577,269 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 483,296 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 l 94,24 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="42
0"></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="256" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="274" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
一架飛機有一定量行數的乘客座位,每排都包含四個席位。
'
;
...
...
demos/plane/template.soy
View file @
195389a6
...
...
@@ -69,8 +69,8 @@
xmlns:xlink="http://www.w3.org/1999/xlink"
version="1.1"
width="600"
height="
256
"
viewBox="0 1
42 600 256
">
height="
320
"
viewBox="0 1
10 600 320
">
<defs>
<g id="row1st">
<rect
...
...
@@ -134,16 +134,16 @@
width="610"
height="100"
x="-5"
y="1
42
"
y="1
10
"
fill="url(#grad1)" />
<rect
width="610"
height="100"
x="-5"
y="
298
"
y="
330
"
fill="url(#grad2)" />
<text id="row1stText" x="55" y="380"></text>
<text id="row2ndText" x="
350" y="38
0"></text>
<text id="row2ndText" x="
55" y="42
0"></text>
<text x="55" y="210">
<tspan id="seatText"></tspan>
<tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment