From f9e35fbfe668fabc0e319cacd63f6ba74c4a7c50 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Tue, 24 Feb 2009 15:55:10 +0000 Subject: fixed some broken strings --- diff --git a/GUI_Components/Edit_Pane.py b/GUI_Components/Edit_Pane.py index 7a31162..8a890c7 100644 --- a/GUI_Components/Edit_Pane.py +++ b/GUI_Components/Edit_Pane.py @@ -139,7 +139,8 @@ class Edit_Pane(Pane): return article def set_working_article(self, article): - self.editarticle.articletitle.set_markup("" + _("Theme:") + " %s \n" + _("Article:") + " %s"%(article.article_theme, article.article_title)) + self.editarticle.articletitle.set_markup(" %s %s \n %s %s" % \ + (_("Theme:"), article.article_theme, _("Article:"), article.article_title)) self.editarticle.textbox.set_article(article) self.editarticle.article_theme = _("Wikipedia Articles") diff --git a/GUI_Components/Format_Pane.py b/GUI_Components/Format_Pane.py index 511d633..d4bba35 100644 --- a/GUI_Components/Format_Pane.py +++ b/GUI_Components/Format_Pane.py @@ -95,5 +95,6 @@ class Format_Pane(Pane): return article def set_working_article(self, article): - self.panel.articletitle.set_markup("" + _("Theme:") + " %s \n" + _("Article:") + " %s"%(article.article_theme, article.article_title)) + self.panel.articletitle.set_markup(" %s %s \n %s %s" % \ + (_("Theme:"), article.article_theme, _("Article:"), article.article_title)) self.panel.textbox.set_article(article) diff --git a/GUI_Components/Image_Pane.py b/GUI_Components/Image_Pane.py index 35ba451..71d244d 100644 --- a/GUI_Components/Image_Pane.py +++ b/GUI_Components/Image_Pane.py @@ -105,7 +105,8 @@ class Image_Pane(Pane): def set_working_article(self, article): print "working received, title %s theme %s " % (article.article_title, article.article_theme) - self.editarticle.articletitle.set_markup("" + _("Theme:") + " %s \n" + _("Article:") + " %s"%(article.article_theme, article.article_title)) + self.editarticle.articletitle.set_markup(" %s %s \n %s %s"% \ + (_("Theme:"), article.article_theme, _("Article:"), article.article_title)) if article == None: article = Article() self.editarticle.textbox.set_article(article) diff --git a/GUI_Components/Library_Pane.py b/GUI_Components/Library_Pane.py index 85bbdf6..1ecb7d6 100644 --- a/GUI_Components/Library_Pane.py +++ b/GUI_Components/Library_Pane.py @@ -21,9 +21,9 @@ class Library_Pane(Pane): def __init__(self): Pane.__init__(self) - self.wikis = {"English Wikipedia" : "en.wikipedia.org", - "Simple English Wikipedia" : "simple.wikipedia.org", - "German Wikipedia": "de.wikipedia.org"} + self.wikis = {_("English Wikipedia") : "en.wikipedia.org", + _("Simple English Wikipedia") : "simple.wikipedia.org", + _("German Wikipedia") : "de.wikipedia.org"} self.toolbar = gtk.Toolbar() diff --git a/activity/activity.info b/activity/activity.info index 8de7891..51bb6d2 100644 --- a/activity/activity.info +++ b/activity/activity.info @@ -1,8 +1,8 @@ [Activity] name = InfoSlicer -activity_version = 1 +activity_version = 2 host_version = 1 icon = slicelogo -service_name = org.sugarlabs.infoslicer -class = sugaractivity.sugaractivity +bundle_id = org.sugarlabs.infoslicer +exec = sugar-activity sugaractivity.sugaractivity show_launcher = yes diff --git a/po/InfoSlicer.pot b/po/InfoSlicer.pot index 473f391..503def3 100644 --- a/po/InfoSlicer.pot +++ b/po/InfoSlicer.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-02-24 10:19-0500\n" +"POT-Creation-Date: 2009-02-24 10:54-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -65,12 +65,14 @@ msgid "" msgstr "" #: GUI_Components/Edit_Pane.py:142 GUI_Components/Format_Pane.py:98 -#: GUI_Components/Image_Pane.py:108 +#: GUI_Components/Image_Pane.py:108 GUI_Components/Edit_Pane.py:143 +#: GUI_Components/Format_Pane.py:99 GUI_Components/Image_Pane.py:109 msgid "Theme:" msgstr "" #: GUI_Components/Edit_Pane.py:142 GUI_Components/Format_Pane.py:98 -#: GUI_Components/Image_Pane.py:108 +#: GUI_Components/Image_Pane.py:108 GUI_Components/Edit_Pane.py:143 +#: GUI_Components/Format_Pane.py:99 GUI_Components/Image_Pane.py:109 msgid "Article:" msgstr "" @@ -90,7 +92,7 @@ msgstr "" msgid "Please select a Wikipedia article from the menu above" msgstr "" -#: GUI_Components/Image_Pane.py:113 +#: GUI_Components/Image_Pane.py:113 GUI_Components/Image_Pane.py:114 msgid "My Articles" msgstr "" @@ -129,7 +131,8 @@ msgstr "" #: GUI_Components/Image_Pane.py:114 GUI_Components/Image_Pane.py:115 #: sugaractivity.py:68 sugaractivity.py:69 sugaractivity.py:73 #: Infoslicer_GUI.py:384 Infoslicer_GUI.py:385 Infoslicer_GUI.py:388 -#: Infoslicer_GUI.py:396 Infoslicer_GUI.py:398 +#: Infoslicer_GUI.py:396 Infoslicer_GUI.py:398 GUI_Components/Edit_Pane.py:145 +#: GUI_Components/Image_Pane.py:116 msgid "Wikipedia Articles" msgstr "" @@ -161,3 +164,14 @@ msgid "" "package and click 'Publish'." msgstr "" +#: GUI_Components/Library_Pane.py:24 +msgid "English Wikipedia" +msgstr "" + +#: GUI_Components/Library_Pane.py:25 +msgid "Simple English Wikipedia" +msgstr "" + +#: GUI_Components/Library_Pane.py:26 +msgid "German Wikipedia" +msgstr "" -- cgit v0.9.1