From d9d3f155aeea1cd8328e2d1c25c980cc4ab58e99 Mon Sep 17 00:00:00 2001 From: Rafael Ortiz Date: Wed, 13 Jun 2012 21:23:26 +0000 Subject: setting tooltips for translation --- diff --git a/pippy_app.py b/pippy_app.py index f8d4ae5..f103036 100644 --- a/pippy_app.py +++ b/pippy_app.py @@ -138,7 +138,7 @@ class PippyActivity(ViewSourceActivity, groupthink.sugar_tools.GroupActivity): gobutton = ToolButton(label=_("_Run!")) gobutton.props.accelerator = _('r') gobutton.set_icon_widget(goicon_bw) - gobutton.set_tooltip("Run") + gobutton.set_tooltip(_("Run!")) gobutton.connect('clicked', self.flash_cb, dict({'bw': goicon_bw, 'color': goicon_color})) gobutton.connect('clicked', self.gobutton_cb) @@ -155,7 +155,7 @@ class PippyActivity(ViewSourceActivity, groupthink.sugar_tools.GroupActivity): stopbutton.connect('clicked', self.flash_cb, dict({'bw': stopicon_bw, 'color': stopicon_color})) stopbutton.connect('clicked', self.stopbutton_cb) - stopbutton.set_tooltip("Stop Running") + stopbutton.set_tooltip(_("Stop")) actions_toolbar.insert(stopbutton, -1) # The "clear" button @@ -170,7 +170,7 @@ class PippyActivity(ViewSourceActivity, groupthink.sugar_tools.GroupActivity): clearbutton.connect('clicked', self.clearbutton_cb) clearbutton.connect('clicked', self.flash_cb, dict({'bw': clearicon_bw, 'color': clearicon_color})) - clearbutton.set_tooltip("Clear") + clearbutton.set_tooltip(_("Clear")) actions_toolbar.insert(clearbutton, -1) activity_toolbar.show() diff --git a/po/Pippy.pot b/po/Pippy.pot index c9bfb3f..95d2d9c 100644 --- a/po/Pippy.pot +++ b/po/Pippy.pot @@ -8,18 +8,15 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-10-08 00:32-0400\n" +"POT-Creation-Date: 2012-06-13 16:22-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" -#: activity/activity.info:2 -msgid "Pippy" -msgstr "" - #: activity.py:49 #, python-format msgid "%s Source" @@ -33,11 +30,15 @@ msgstr "" msgid "Edit" msgstr "" +#: activity/activity.info:2 +msgid "Pippy" +msgstr "" + #: library/pippy/game.py:36 msgid "PAUSED" msgstr "" -#: library/pippy/sound.py:48 +#: library/pippy/sound.py:54 msgid "Cannot find TamTamEdit sound library. Did you install TamTamEdit?" msgstr "" @@ -65,6 +66,10 @@ msgstr "" msgid "r" msgstr "" +#: pippy_app.py:141 +msgid "Run!" +msgstr "" + #: pippy_app.py:152 msgid "_Stop" msgstr "" @@ -73,6 +78,10 @@ msgstr "" msgid "s" msgstr "" +#: pippy_app.py:158 +msgid "Stop" +msgstr "" + #: pippy_app.py:167 msgid "_Clear" msgstr "" @@ -81,6 +90,10 @@ msgstr "" msgid "c" msgstr "" +#: pippy_app.py:173 +msgid "Clear" +msgstr "" + #: pippy_app.py:197 msgid "Examples" msgstr "" -- cgit v0.9.1