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
be70863b
Commit
be70863b
authored
Jul 28, 2015
by
Neil Fraser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean plane coordinates. Fix RTL alignment.
parent
bcd0422e
Changes
37
Show whitespace changes
Inline
Side-by-side
Showing
37 changed files
with
52 additions
and
49 deletions
+52
-49
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/style.css
demos/plane/style.css
+3
-0
demos/plane/template.soy
demos/plane/template.soy
+14
-14
No files found.
demos/plane/generated/ar.js
View file @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
هنالك طائرة تحتوي على عدد من صفوف مقاعد الركاب. كل صف يحتوي على أربعة مقاعد.
'
;
...
...
demos/plane/generated/be-tarask.js
View file @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Самалёт мае некалькі шэрагаў пасажырскіх сядзеньняў. Кожная шэраг утрымлівае чатыры месцы.
'
;
...
...
demos/plane/generated/br.js
View file @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Un nijerez he deus un toullad renkennadoù azezennoù evit ar veajourien. Peder azezenn a zo e pep renkennad.
'
;
...
...
demos/plane/generated/ca.js
View file @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Un avió té un nombre de files de seients de passatgers. Cada fila conté quatre seients.
'
;
...
...
demos/plane/generated/da.js
View file @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Et fly har et antal rækker af passagersæder. Hver række indeholder fire sæder.
'
;
...
...
demos/plane/generated/de.js
View file @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Ein Flugzeug hat eine Anzahl an Reihen mit Passagiersitzen. Jede Reihe enthält vier Sitze.
'
;
...
...
demos/plane/generated/el.js
View file @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Ένα αεροπλάνο έχει έναν συγκεκριμένο αριθμό σειρών καθισμάτων επιβατών. Κάθε σειρά έχει τέσσερα καθίσματα.
'
;
...
...
demos/plane/generated/en.js
View file @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
An airplane has a number of rows of passenger seats. Each row contains four seats.
'
;
...
...
demos/plane/generated/es.js
View file @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Un avión tiene un número de filas de asientos de pasajeros. Cada fila contiene cuatro asientos.
'
;
...
...
demos/plane/generated/fa.js
View file @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
یک هواپیما تعداد از صندلی
\
u200Cهای مسافرین را دارد. هر ردیف شمال چهار صندلی است.
'
;
...
...
demos/plane/generated/fr.js
View file @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Un avion a un nombre de rangées de sièges passager. Chaque rangée contient quatre sièges.
'
;
...
...
demos/plane/generated/he.js
View file @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
במטוס יש מספר שורות עם מושבי נוסעים. בכל שורה יש ארבעה מושבים.
'
;
...
...
demos/plane/generated/hrx.js
View file @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
En Fluchzeich hot en Oonzohl an Reihe mit Passagiersitze. Jede Reih enthält vier Sitze.
'
;
...
...
demos/plane/generated/hu.js
View file @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Egy repü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 @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Un avion ha un numero de filas de sedes pro passageros. Cata fila contine quatro sedes.
'
;
...
...
demos/plane/generated/is.js
View file @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Flugvé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 @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Un aeroplano ha un numero di file contenenti i posti a sedere dei passeggeri. Ogni fila, contiene quattro posti a sedere.
'
;
...
...
demos/plane/generated/ja.js
View file @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
飛行機に乗客の座席の列があります。それぞれの列に 4 つの座席があります。
'
;
...
...
demos/plane/generated/ko.js
View file @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
비행기는 승객 좌석의 행 수가 있습니다. 각 행에는 시트 네 개가 포함되어 있습니다.
'
;
...
...
demos/plane/generated/ms.js
View file @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Sebuah kapal terbang mempunyai sebilangan baris tempat duduk penumpang. Setiap baris mengandungi empat tempat duduk.
'
;
...
...
demos/plane/generated/nb.js
View file @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Et fly har et antall rader med passasjerseter. Hver rad inneholder fire seter.
'
;
...
...
demos/plane/generated/nl.js
View file @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Een vliegtuig heeft een aantal rijen met stoelen. Iedere rij heeft vier stoelen.
'
;
...
...
demos/plane/generated/pl.js
View file @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Samolot ma kilka rzędów siedzeń pasażerów. Każdy rząd zawiera cztery miejsca.
'
;
...
...
demos/plane/generated/pms.js
View file @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
N
\'
avion a l
\'
ha un nùmer ëd file ëd sedij da passëgé. Minca fila a l
\'
ha quatr sedij.
'
;
...
...
demos/plane/generated/pt-br.js
View file @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Um aviã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 @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Un avion are un număr de rânduri cu scaune pentru pasageri. Fiecare rând conține patru scaune.
'
;
...
...
demos/plane/generated/ru.js
View file @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
В самолёте несколько рядов с пассажирскими местами. В каждом ряду 4 места.
'
;
...
...
demos/plane/generated/sc.js
View file @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Unu aparèchiu tenit unas cantu fileras de cadironis po passigeris. Dònnia filera tenit cuatru cadironis.
'
;
...
...
demos/plane/generated/sv.js
View file @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Ett flygplan har ett antal rader med passagerarsäten. Varje rad innehåller fyra säten.
'
;
...
...
demos/plane/generated/th.js
View file @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
ภายในเครื่องบินประกอบไปด้วยแถวของที่นั่งผู้โดยสาร ในแต่ละแถวจะมี 4 ที่นั่ง
'
;
...
...
demos/plane/generated/tr.js
View file @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Bir uç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 @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Літак має кілька рядів пасажирських сидінь. Кожен ряд містить чотири місця.
'
;
...
...
demos/plane/generated/vi.js
View file @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
Má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 @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
一架飞机有一定量行数的乘客座位,每行共四座。
'
;
...
...
demos/plane/generated/zh-hant.js
View file @
be70863b
...
...
@@ -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="320" viewBox="0 110 600 320"><defs><g id="row1st"><rect class="seat1st" width="10" height="10" x="75" y="24
5" /><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="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="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="24
3" /><rect class="seat1st" width="10" height="10" x="75" y="254" /><rect class="seat1st" width="10" height="10" x="75" y="272" /><rect class="seat1st" width="10" height="10" x="75" y="283" /></g><g id="row2nd"><rect class="seat2nd" width="10" height="8" x="75" y="243" /><rect class="seat2nd" width="10" height="8" x="75" y="251" /><rect class="seat2nd" width="10" height="8" x="75" y="269" /><rect class="seat2nd" width="10" height="8" x="75" y="277" /><rect class="seat2nd" width="10" height="8" x="75" y="285" /></g><linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#fff;stop-opacity:0" /><stop offset="100%" style="stop-color:#fff;stop-opacity:1" /></linearGradient></defs><path d="m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16 z" id="wing" /><path d="m 577,270 22,-93 -27,6 -44,88 44,88 27,6 z" id="tail" /><path d="m 577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407 z" id="fuselage" /><rect width="610" height="100" x="-5" y="110" fill="url(#grad1)" /><rect width="610" height="100" x="-5" y="330" fill="url(#grad2)" /><text id="row1stText" x="55" y="380"></text><text id="row2ndText" x="55" y="420"></text><text x="55" y="210"><tspan id="seatText"></tspan><tspan id="seatYes" style="fill: #0c0;" dy="10">✓</tspan><tspan id="seatNo" style="fill: #f00;" dy="10">✗</tspan></text>
'
+
((
opt_ijData
.
level
>
1
)
?
'
<rect id="crew_right" class="crew" width="10" height="10" x="35" y="254" /><rect id="crew_left" class="crew" width="10" height="10" x="35" y="272
" />
'
:
''
)
+
'
</svg><p>
'
;
switch
(
opt_ijData
.
level
)
{
case
1
:
output
+=
'
一架飛機有一定量行數的乘客座位,每排都包含四個席位。
'
;
...
...
demos/plane/style.css
View file @
be70863b
...
...
@@ -83,6 +83,9 @@ text {
font-size
:
20pt
;
fill
:
#444
;
}
html
[
dir
=
"RTL"
]
#plane
text
{
text-anchor
:
end
;
}
/* Slider. */
.sliderTrack
{
...
...
demos/plane/template.soy
View file @
be70863b
...
...
@@ -76,41 +76,41 @@
<rect
class="seat1st"
width="10" height="10"
x="75" y="24
5
" />
x="75" y="24
3
" />
<rect
class="seat1st"
width="10" height="10"
x="75" y="25
6
" />
x="75" y="25
4
" />
<rect
class="seat1st"
width="10" height="10"
x="75" y="27
4
" />
x="75" y="27
2
" />
<rect
class="seat1st"
width="10" height="10"
x="75" y="28
5
" />
x="75" y="28
3
" />
</g>
<g id="row2nd">
<rect
class="seat2nd"
width="10" height="8"
x="75" y="24
5
" />
x="75" y="24
3
" />
<rect
class="seat2nd"
width="10" height="8"
x="75" y="25
3
" />
x="75" y="25
1
" />
<rect
class="seat2nd"
width="10" height="8"
x="75" y="2
71
" />
x="75" y="2
69
" />
<rect
class="seat2nd"
width="10" height="8"
x="75" y="27
9
" />
x="75" y="27
7
" />
<rect
class="seat2nd"
width="10" height="8"
x="75" y="28
7
" />
x="75" y="28
5
" />
</g>
<linearGradient id="grad1" x1="0%" y1="100%" x2="0%" y2="0%">
<stop offset="0%" style="stop-color:#fff;stop-opacity:0" />
...
...
@@ -122,13 +122,13 @@
</linearGradient>
</defs>
<path
d="
M 404,1 373,15 230,244 230,297 373,524 404,542 330,351 330,189
z"
d="
m 214,270 l 159,-254 31,-16 -74,189 0,162 74,189 -31,16
z"
id="wing" />
<path
d="m 577,2
69
22,-93 -27,6 -44,88 44,88 27,6 z"
d="m 577,2
70
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"
d="m
577,270 l -94,24 h -407 c -38,0 -75,-13 -75,-26 c 0,-13 38,-26 75,-26 h 407
z"
id="fuselage" />
<rect
width="610"
...
...
@@ -153,11 +153,11 @@
<rect
id="crew_right" class="crew"
width="10" height="10"
x="35" y="25
6
" />
x="35" y="25
4
" />
<rect
id="crew_left" class="crew"
width="10" height="10"
x="35" y="27
4
" />
x="35" y="27
2
" />
{/if}
</svg>
...
...
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