Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplified Chinese translation #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
199 changes: 99 additions & 100 deletions index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions play/automatic/automatic.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Automatic Simulation</title>
<title>自动模拟</title>
<link href="automatic.css" rel="stylesheet" type="text/css">
</head>
<body>
Expand All @@ -22,4 +22,4 @@
</html>

<script src="../lib/Mouse.js"></script>
<script src="automatic.js"></script>
<script src="automatic.js"></script>
6 changes: 3 additions & 3 deletions play/automatic/automatic2.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Automatic Simulation - Change Bias</title>
<title>自动模拟 - 改变偏见</title>
<link href="automatic.css" rel="stylesheet" type="text/css">
<link href="doubleslider.css" rel="stylesheet" type="text/css">
</head>
Expand All @@ -15,7 +15,7 @@
<div id="stats_text"></div>
</div>

i'll move if <span class="highlight">less than <span id="bias_text">33%</span></span> of my neighbors are like me
如果 <span class="highlight"><span id="bias_text">33%</span>以下</span> 的邻居和我一样,我就移动出去
<br>
<div id="slider"></div>
<br>
Expand Down Expand Up @@ -59,4 +59,4 @@

window.IS_IN_SIGHT = true;

</script>
</script>
6 changes: 3 additions & 3 deletions play/automatic/automatic3.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Automatic Simulation - Start Biased</title>
<title>自动模拟 - 从偏见开始</title>
<link href="automatic.css" rel="stylesheet" type="text/css">
<link href="doubleslider.css" rel="stylesheet" type="text/css">
</head>
Expand All @@ -15,7 +15,7 @@
<div id="stats_text"></div>
</div>

i'll move if <span class="highlight">less than <span id="bias_text">33%</span></span> of my neighbors are like me
如果 <span class="highlight"><span id="bias_text">33%</span>以下</span> 的邻居和我一样,我就移动出去
<br>
<div id="slider"></div>
<br>
Expand Down Expand Up @@ -55,4 +55,4 @@
}
});

</script>
</script>
8 changes: 4 additions & 4 deletions play/automatic/automatic4.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Automatic Simulation - Nonconformity</title>
<title>自动模拟 - 出格</title>
<link href="automatic.css" rel="stylesheet" type="text/css">
<link href="doubleslider.css" rel="stylesheet" type="text/css">
</head>
Expand All @@ -15,8 +15,8 @@
<div id="stats_text"></div>
</div>

i'll move if <span class="highlight">&lt;<span id="bias_text">33%</span></span>
or <span class="highlight">&gt;<span id="nonconform_text">100%</span></span> of my neighbors are like me
如果 <span class="highlight">&lt;<span id="bias_text">33%</span></span>
或者 <span class="highlight">&gt;<span id="nonconform_text">100%</span></span> 的邻居和我一样,我就移动出去
<br>
<div id="slider"></div>
<br>
Expand Down Expand Up @@ -59,4 +59,4 @@
}
});

</script>
</script>
4 changes: 2 additions & 2 deletions play/automatic/automatic_sandbox.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Automatic Simulation - SANDBOX</title>
<title>自动模拟 - 沙盒</title>
<link href="automatic.css" rel="stylesheet" type="text/css">
<link href="doubleslider.css" rel="stylesheet" type="text/css">
<style type="text/css">
Expand Down Expand Up @@ -100,4 +100,4 @@
}
});

</script>
</script>
Binary file modified play/img/new_board.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified play/img/stats.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified play/img/ui_buttons.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified play/intro/intro_banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions play/manual/manual.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Manual Simulation</title>
<title>手动模拟</title>
<link href="manual.css" rel="stylesheet" type="text/css">
</head>
<body>
Expand All @@ -12,4 +12,4 @@
</html>

<script src="../lib/Mouse.js"></script>
<script src="manual.js"></script>
<script src="manual.js"></script>
Binary file modified play/mini/dragging.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions play/mini/mini_bias_1.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<canvas id="canvas"></canvas>
<br>
<div style="text-align:center; margin:10px 0; color:#777">
wants to move if <span style="color:#dd3939">less than 33%</span> of
如果有 <span style="color:#dd3939">33%以下</span> 的邻居和它们一样
<br>
their neighbors are like them
那么他们想移动到别的地方
</div>
<div id="reset" onclick="reset()">reset</div>

Expand Down
6 changes: 3 additions & 3 deletions play/mini/mini_bias_2.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<canvas id="canvas"></canvas>
<br>
<div style="text-align:center; margin:10px 0; color:#777">
wants to move if <span style="color:#dd3939">less than 50%</span> of
如果有 <span style="color:#dd3939">50%以下</span> 的邻居和它们一样
<br>
their neighbors are like them
那么他们想移动到别的地方
</div>
<div id="reset" onclick="reset()">reset</div>

Expand All @@ -24,4 +24,4 @@
<script>
NONCONFORM = 1.00;
BIAS = 0.50;
</script>
</script>
6 changes: 3 additions & 3 deletions play/mini/mini_bored.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<canvas id="canvas"></canvas>
<br>
<div style="text-align:center; margin:10px 0; color:#777; font-size:15px">
<span style="color:#dd3939">meh:</span>
all neighbors are like me. (also meh if i've got no neighbors)
<span style="color:#dd3939">无聊:</span>
每个邻居都和我一样(没有邻居也无聊)。
</div>

<script>
Expand All @@ -18,4 +18,4 @@
</script>
<script src="../lib/Mouse.js"></script>
<script src="mini.js"></script>
<script src="mini_blah.js"></script>
<script src="mini_blah.js"></script>
6 changes: 3 additions & 3 deletions play/mini/mini_happy.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<canvas id="canvas"></canvas>
<br>
<div style="text-align:center; margin:10px 0; color:#777; font-size:15px">
<span style="color:#dd3939">happy:</span>
2 out of 6 neighbors are like me. exactly 1/3.
<span style="color:#dd3939">高兴:</span>
6个邻居中有2个和我一样。正好是1/3。
</div>

<script>
Expand All @@ -18,4 +18,4 @@
</script>
<script src="../lib/Mouse.js"></script>
<script src="mini.js"></script>
<script src="mini_blah.js"></script>
<script src="mini_blah.js"></script>
6 changes: 3 additions & 3 deletions play/mini/mini_nonconform.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<canvas id="canvas"></canvas>
<br>
<div style="text-align:center; margin:10px 0; color:#777">
wants to move if <span style="color:#dd3939">more than 90%</span> of
如果有 <span style="color:#dd3939">90%以上</span> 的邻居和我一样
<br>
their neighbors are like them
那么我想移动到别的地方
</div>
<div id="reset" onclick="reset()">reset</div>

Expand All @@ -25,4 +25,4 @@
<script>
NONCONFORM = 0.90;
BIAS = 0.00;
</script>
</script>
6 changes: 3 additions & 3 deletions play/mini/mini_unhappy.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<canvas id="canvas"></canvas>
<br>
<div style="text-align:center; margin:10px 0; color:#777; font-size:15px">
<span style="color:#dd3939">unhappy:</span>
only 1 out of 6 neighbors are like me. less than 1/3.
<span style="color:#dd3939">不高兴:</span>
6个邻居中只有1个和我一样。少于1/3。
</div>

<script>
Expand All @@ -18,4 +18,4 @@
</script>
<script src="../lib/Mouse.js"></script>
<script src="mini.js"></script>
<script src="mini_blah.js"></script>
<script src="mini_blah.js"></script>
22 changes: 11 additions & 11 deletions play/outro/outro.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<div id="intro_shading"></div>
<div id="share_text">

SHARE<span style="position:relative;top:-5px">:</span>
分享<span style="position:relative;top:-5px">:</span>

<a data-popup-url="https://www.facebook.com/sharer.php?u=http%3A%2F%2Fncase.me%2Fpolygons%2F&amp;t=Parable of the Polygons: a playable post on how harmless choices can make a harmful world."
data-popup-width="626" data-popup-height="436"
Expand Down Expand Up @@ -93,21 +93,21 @@

</div>
<div id="pd_text">
<span style="font-size:35px; color:#fff">this playable post is
<a target="_blank" href="http://creativecommons.org/publicdomain/zero/1.0/" style="color:#fff">public domain</a>.
<span style="font-size:35px; color:#fff">这篇可玩页面属于
<a target="_blank" href="http://creativecommons.org/publicdomain/zero/1.0/" style="color:#fff">公有领域</a>.
</span>
<div style="width:600px; margin:5px auto; font-size:18px; letter-spacing:0; font-weight:normal">
please feel free to use this in your classrooms,
make video/picture/text adaptations,
or modify the <a href="https://github.com/ncase/polygons" target="_blank">source code</a>!
attribution is not mandatory, but super appreciated.
we are <a href="http://vihart.com/" target="_blank">vi hart</a> and <a href="http://ncase.me/" target="_blank">nicky case</a>.
请自由在教室使用,
或者做成视频、图片或文章。
或者您可以修改 <a href="https://github.com/ncase/polygons" target="_blank">源代码</a>!
我们不是必须要求署名,但是超级欢迎。
我们是 <a href="http://vihart.com/" target="_blank">vi hart</a> <a href="http://ncase.me/" target="_blank">nicky case</a>.
</div>
<div style="width:600px; margin:25px auto; font-size:18px; letter-spacing:0; font-weight:normal">
show us how you're using and remixing Parable of the Polygons!
想展示您如何重新创作这个作品吗?
<br>
tweet us at
<a href="https://twitter.com/vihartvihart" target="_blank">@vihartvihart</a> and
在推特上通知我们:
<a href="https://twitter.com/vihartvihart" target="_blank">@vihartvihart</a>
<a href="https://twitter.com/ncasenmare" target="_blank">@ncasenmare</a>.
</div>
</div>
Expand Down