Browsing Khmer translation

1 of 1264 results
1.
<p>You can control a kig construction by means of a "pykig"
python script, that can be executed with the command
<code>pykig.py</code>. Here is a nice example
(<code>hexagons.kpy</code>) you can try:
<code><pre>
kigdocument.hideobjects()
def hexagons (c, v, n):
hexagon = PolygonBCV (c, v, 6)
if n &lt;= 0:
hexagon.show()
for i in range(6):
PolygonSide (hexagon, i, True)
return
cnew = MidPoints (c, v)
hexagons (cnew, v, n-1)
for k in [2,4]:
v1 = PolygonVertex (hexagon, k)
cnew = MidPoints (c, v1)
hexagons (cnew, v1, n-1)
hexagons (Point(0,0), Point(1,0), 5)
</pre></code>
i18n: file: tips:2
i18n: ectx: @info:tipoftheday
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.
There are leading/trailing spaces here. Each one represents a space character. Enter a space in the equivalent position in the translation.
<p>អ្នក​អាច​ត្រួតពិនិត្យ​កា​រស្ថាបនា​តាម​មធ្យោបាយ​របស់​ស្គ្រីប python "pykig"
ដែល​អាច​ត្រូវ​បាន​ប្រតិបត្តិ​ជា​មួយនឹង​ពាក្យ​បញ្ជា
<code>pykig.py</code> ។ នេះ​ជា​ឧទាហរណ៍​ដ៏​ល្អ​មួយ
(<code>hexagons.kpy</code>) ដែល​អ្នក​អាច​សាកល្បង​បាន ៖
<code><pre>
kigdocument.hideobjects()
def hexagons (c, v, n):
hexagon = PolygonBCV (c, v, 6)
if n &lt;= 0:
hexagon.show()
for i in range(6):
PolygonSide (hexagon, i, True)
return
cnew = MidPoints (c, v)
hexagons (cnew, v, n-1)
for k in [2,4]:
v1 = PolygonVertex (hexagon, k)
cnew = MidPoints (c, v1)
hexagons (cnew, v1, n-1)
hexagons (Point(0,0), Point(1,0), 5)
</pre></code>
Translated by vannak eng
Located in tips.cpp:3
1 of 1264 results

This translation is managed by Ubuntu Khmer Localization Team, assigned by Ubuntu Translators.

You are not logged in. Please log in to work on translations.