diff options
author | Gonzalo Odiard <gonzalo@nautilus.localdomain> | 2010-02-05 04:05:35 (GMT) |
---|---|---|
committer | Gonzalo Odiard <gonzalo@nautilus.localdomain> | 2010-02-05 04:05:35 (GMT) |
commit | 868ea57212c9f71315c62fefc6c83d8ccec6ae24 (patch) | |
tree | 996bba0fa3a2cb49144d16f71c007816b4082847 | |
parent | 91805ef146ccdf10956f3e41f0e160dca2c7ad4d (diff) |
- Corrijo keep error
- Corrijo imagen de las teclas de juego, el texto explicativo y los codigos de las teclas
- Subo version a 8
-rw-r--r-- | activity/activity.info | 2 | ||||
-rw-r--r-- | dominoactivity.py | 7 | ||||
-rw-r--r-- | dominoview.py | 2 | ||||
-rw-r--r-- | icons/gamekeys.svg | 138 | ||||
-rw-r--r-- | locale/es/LC_MESSAGES/org.laptop.Domino.mo | bin | 1948 -> 1941 bytes | |||
-rw-r--r-- | po/es.po | 4 |
6 files changed, 93 insertions, 60 deletions
diff --git a/activity/activity.info b/activity/activity.info index 30ab30c..f75a949 100644 --- a/activity/activity.info +++ b/activity/activity.info @@ -3,5 +3,5 @@ name = Domino service_name = org.laptop.Domino icon = domino-icon class = dominoactivity.Domino -activity_version = 9 +activity_version = 8 host_version = 1 diff --git a/dominoactivity.py b/dominoactivity.py index ac3f20d..0ccb3e8 100644 --- a/dominoactivity.py +++ b/dominoactivity.py @@ -313,15 +313,15 @@ class Domino(activity.Activity): def on_keypress(self, widget, event): key = gtk.gdk.keyval_name(event.keyval) - # Agrego las teclas de juego de la XO (Triangulo arriba = KP_Page_Up , X = KP_Page_Down, Circulo = KP_End + # Agrego las teclas de juego de la XO (Circulo arriba = KP_Page_Up , X = KP_Page_Down, Check = KP_End if key in ('KP_Up','KP_Right','KP_Down','KP_Left','KP_Page_Up','KP_Page_Down','KP_End', 'space','KP_8','KP_6','KP_2','KP_4','Escape','Return','Up','Down','Left','Right'): if (key in ('KP_Page_Up')): - key = 'Return' + key = 'space' if (key in ('KP_Page_Down')): key = 'Escape' if (key in ('KP_End')): - key = 'space' + key = 'Return' if (key in ('Up', 'KP_8')): key = 'KP_Up' @@ -489,4 +489,3 @@ class Domino(activity.Activity): - diff --git a/dominoview.py b/dominoview.py index ee8fa85..ba3e7a0 100644 --- a/dominoview.py +++ b/dominoview.py @@ -208,7 +208,7 @@ class DominoTableView(): y = y + altoRenglon ctx.move_to (x+80,y) - ctx.show_text (_("And use triangle to select, circle to rotate")) + ctx.show_text (_("And use check to select, circle to rotate")) y = y + altoRenglon ctx.move_to (x+80,y) diff --git a/icons/gamekeys.svg b/icons/gamekeys.svg index 9e783ba..52ff4ec 100644 --- a/icons/gamekeys.svg +++ b/icons/gamekeys.svg @@ -2,64 +2,98 @@ <!-- Created with Inkscape (http://www.inkscape.org/) --> <svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.0" width="55" height="55" viewBox="0 0 55 55" id="svg120" - xml:space="preserve"><defs - id="defs133"> + xml:space="preserve" + inkscape:version="0.47 r22583" + sodipodi:docname="gamekeys.svg"><metadata + id="metadata2918"><rdf:RDF><cc:Work + rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><sodipodi:namedview + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1" + objecttolerance="10" + gridtolerance="10" + guidetolerance="10" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-width="1280" + inkscape:window-height="950" + id="namedview2916" + showgrid="false" + showguides="true" + inkscape:guide-bbox="true" + inkscape:zoom="12.136524" + inkscape:cx="28.064884" + inkscape:cy="26.619366" + inkscape:window-x="0" + inkscape:window-y="25" + inkscape:window-maximized="1" + inkscape:current-layer="svg120" /><defs + id="defs133"><inkscape:perspective + sodipodi:type="inkscape:persp3d" + inkscape:vp_x="0 : 27.5 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_z="55 : 27.5 : 1" + inkscape:persp3d-origin="27.5 : 18.333333 : 1" + id="perspective2920" /> </defs><g - id="g845"><g - id="g841"><path - d="m 20.880505,26.979242 a 9.5145051,9.5145052 0 1 1 -19.0290102,0 9.5145051,9.5145052 0 1 1 19.0290102,0 z" - id="path1012" - style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.97098964;stroke-opacity:1" /><rect - width="10.069767" - height="10.069767" - ry="0" - x="6.3311167" - y="21.944357" - id="rect1016" - style="fill:none;stroke:#000000;stroke-width:0.93023288;stroke-linecap:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /></g><g - id="g833"><path - d="m 36.983953,44.158 a 9.5145051,9.5145052 0 1 1 -19.02901,0 9.5145051,9.5145052 0 1 1 19.02901,0 z" - id="path1012-6" - style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.97098964;stroke-opacity:1" /><g - transform="translate(1.0165042,0.69535529)" - id="g1140"><rect - width="12.211441" - height="0.12092438" - x="-18.201794" - y="49.360634" - transform="matrix(0.70612764,-0.70808457,0.70808457,0.70612764,0,0)" - id="rect1116" - style="fill:none;stroke:#000000;stroke-width:0.87907565;stroke-linecap:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /><rect - width="12.211441" - height="0.12092438" - x="-55.526817" - y="-12.156536" - transform="matrix(-0.70808457,-0.70612764,0.70612764,-0.70808457,0,0)" - id="rect1116-3" - style="fill:none;stroke:#000000;stroke-width:0.87907565;stroke-linecap:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /></g></g><g - transform="translate(-1.2158963,0.30024171)" - id="g1152" - style="fill:#ffffff;fill-opacity:1"><path - d="m 21.099138,28.013649 a 9.7593393,9.8383617 0 1 1 -19.5186784,0 9.7593393,9.8383617 0 1 1 19.5186784,0 z" - transform="matrix(0.97491283,0,0,0.96708227,17.630029,-16.423399)" - id="path1012-5" - style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-opacity:1" /><path - d="M 32.24138,9.1266136 24.391901,22.905285 16.383961,9.2181013 32.24138,9.1266136 z" - transform="matrix(0.66942893,0,0,-0.67776695,12.409739,20.722717)" - id="path1150" - style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1.48459351;stroke-linecap:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /></g><g - id="g825"><path - d="m 53.262689,26.979242 a 9.5145051,9.5145052 0 1 1 -19.02901,0 9.5145051,9.5145052 0 1 1 19.02901,0 z" - id="path1012-1" - style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.97098964;stroke-opacity:1" /><path - d="m 48.980848,26.979242 a 5.232664,5.2326642 0 1 1 -10.465328,0 5.232664,5.2326642 0 1 1 10.465328,0 z" - id="path1063" - style="fill:none;stroke:#000000;stroke-width:1.03467202;stroke-linecap:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /></g></g></svg>
\ No newline at end of file + id="g841" + style="stroke-width:1.4;stroke-miterlimit:4;stroke-dasharray:none"><path + style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1.4;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" + id="path1012" + d="m 20.880505,26.979242 a 9.5145051,9.5145052 0 1 1 -19.0290102,0 9.5145051,9.5145052 0 1 1 19.0290102,0 z" /><rect + style="fill:none;stroke:#000000;stroke-width:1.4;stroke-linecap:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" + id="rect1016" + y="21.944357" + x="6.3311167" + ry="0" + height="10.069767" + width="10.069767" /></g><g + id="g3726"><path + style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1.4;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" + id="path1012-6" + d="m 36.983953,44.158 a 9.5145051,9.5145052 0 1 1 -19.02901,0 9.5145051,9.5145052 0 1 1 19.02901,0 z" /><rect + width="12.211441" + height="0.12092438" + x="-17.976383" + y="50.571415" + transform="matrix(0.70612764,-0.70808457,0.70808457,0.70612764,0,0)" + id="rect1116" + style="fill:none;stroke:#000000;stroke-width:1.4;stroke-linecap:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /><rect + width="12.211441" + height="0.12092438" + x="-56.737598" + y="-11.931125" + transform="matrix(-0.70808457,-0.70612764,0.70612764,-0.70808457,0,0)" + id="rect1116-3" + style="fill:none;stroke:#000000;stroke-width:1.39999999999999991;stroke-linecap:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /></g><g + id="g825" + transform="translate(-16.278736,-16.056127)" + style="stroke-width:1.39999998;stroke-miterlimit:4;stroke-dasharray:none"><path + style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1.39999998;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" + id="path1012-1" + d="m 53.262689,26.979242 a 9.5145051,9.5145052 0 1 1 -19.02901,0 9.5145051,9.5145052 0 1 1 19.02901,0 z" /><path + style="fill:none;stroke:#000000;stroke-width:1.39999998;stroke-linecap:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" + id="path1063" + d="m 48.980848,26.979242 a 5.232664,5.2326642 0 1 1 -10.465328,0 5.232664,5.2326642 0 1 1 10.465328,0 z" /></g><g + id="g3722"><path + style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1.4;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" + id="path1012-5" + d="m 53.298344,27.035549 a 9.5145051,9.5145052 0 1 1 -19.02901,0 9.5145051,9.5145052 0 1 1 19.02901,0 z" /><path + sodipodi:nodetypes="ccc" + id="path2942" + d="m 39.302852,28.386119 3.378233,3.790212 6.426882,-9.393135" + style="fill:none;stroke:#000000;stroke-width:1.39999999999999991;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" /></g></svg>
\ No newline at end of file diff --git a/locale/es/LC_MESSAGES/org.laptop.Domino.mo b/locale/es/LC_MESSAGES/org.laptop.Domino.mo Binary files differindex 9ffb7f8..a9fabc9 100644 --- a/locale/es/LC_MESSAGES/org.laptop.Domino.mo +++ b/locale/es/LC_MESSAGES/org.laptop.Domino.mo @@ -86,8 +86,8 @@ msgid "You can use the cursors to move too." msgstr "Tambien puedes usar los cursores" #: /home/gonzalo/Activities/Domino.activity/dominoview.py:211 -msgid "And use triangle to select, circle to rotate" -msgstr "El triangulo para seleccionar, el circulo para girar" +msgid "And use check to select, circle to rotate" +msgstr "El tilde para seleccionar, el circulo para girar" #: /home/gonzalo/Activities/Domino.activity/dominoview.py:215 msgid "and X to use another piece." |