Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Ortiz <rafael@activitycentral.com>2012-06-13 21:23:26 (GMT)
committer Rafael Ortiz <rafael@activitycentral.com>2012-06-13 21:23:26 (GMT)
commitd9d3f155aeea1cd8328e2d1c25c980cc4ab58e99 (patch)
tree323af341112b05babb56d07973bfc06abf335368
parent9dbe5c3b13d94e0cae294459ce72ff677c0e26e8 (diff)
setting tooltips for translation
-rw-r--r--pippy_app.py6
-rw-r--r--po/Pippy.pot25
2 files changed, 22 insertions, 9 deletions
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 = _('<alt>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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\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 "<alt>r"
msgstr ""
+#: pippy_app.py:141
+msgid "Run!"
+msgstr ""
+
#: pippy_app.py:152
msgid "_Stop"
msgstr ""
@@ -73,6 +78,10 @@ msgstr ""
msgid "<alt>s"
msgstr ""
+#: pippy_app.py:158
+msgid "Stop"
+msgstr ""
+
#: pippy_app.py:167
msgid "_Clear"
msgstr ""
@@ -81,6 +90,10 @@ msgstr ""
msgid "<alt>c"
msgstr ""
+#: pippy_app.py:173
+msgid "Clear"
+msgstr ""
+
#: pippy_app.py:197
msgid "Examples"
msgstr ""