diff options
author | Alan Aguiar <alanjas@hotmail.com> | 2012-09-08 08:26:26 (GMT) |
---|---|---|
committer | Alan Aguiar <alanjas@hotmail.com> | 2012-09-08 08:26:26 (GMT) |
commit | e391930c0927e80eb7c244626dc0b2c3c6421b67 (patch) | |
tree | c48ff28a0ebdc708b18ab49526a892bc38dc61fc | |
parent | 261189f47d81f4ddc2c9189f855acdc68cd8ecc8 (diff) |
fix encoding to utf-8
9 files changed, 14 insertions, 8 deletions
diff --git a/libs/dependencies/icalendar-2.1/icalendar/cal.py b/libs/dependencies/icalendar-2.1/icalendar/cal.py index 4a403d7..bab6dc6 100644 --- a/libs/dependencies/icalendar-2.1/icalendar/cal.py +++ b/libs/dependencies/icalendar-2.1/icalendar/cal.py @@ -1,4 +1,4 @@ -# -*- coding: latin-1 -*- +# -*- coding: UTF-8 -*- """ diff --git a/libs/dependencies/icalendar-2.1/icalendar/caselessdict.py b/libs/dependencies/icalendar-2.1/icalendar/caselessdict.py index 8d943f7..6646e99 100644 --- a/libs/dependencies/icalendar-2.1/icalendar/caselessdict.py +++ b/libs/dependencies/icalendar-2.1/icalendar/caselessdict.py @@ -1,4 +1,4 @@ -# -*- coding: latin-1 -*- +# -*- coding: UTF-8 -*- class CaselessDict(dict): """ diff --git a/libs/dependencies/icalendar-2.1/icalendar/parser.py b/libs/dependencies/icalendar-2.1/icalendar/parser.py index 3251247..c83d84b 100644 --- a/libs/dependencies/icalendar-2.1/icalendar/parser.py +++ b/libs/dependencies/icalendar-2.1/icalendar/parser.py @@ -1,4 +1,4 @@ -# -*- coding: latin-1 -*- +# -*- coding: UTF-8 -*- """ This module parses and generates contentlines as defined in RFC 2445 diff --git a/libs/dependencies/icalendar-2.1/icalendar/prop.py b/libs/dependencies/icalendar-2.1/icalendar/prop.py index e4fb812..9722bf0 100644 --- a/libs/dependencies/icalendar-2.1/icalendar/prop.py +++ b/libs/dependencies/icalendar-2.1/icalendar/prop.py @@ -1,4 +1,4 @@ -# -*- coding: latin-1 -*- +# -*- coding: UTF-8 -*- """ diff --git a/libs/dev/mechanize-0.2.5/mechanize/_beautifulsoup.py b/libs/dev/mechanize-0.2.5/mechanize/_beautifulsoup.py index 0040140..1634a3b 100644 --- a/libs/dev/mechanize-0.2.5/mechanize/_beautifulsoup.py +++ b/libs/dev/mechanize-0.2.5/mechanize/_beautifulsoup.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- + """Beautiful Soup Elixir and Tonic "The Screen-Scraper's Friend" diff --git a/libs/dev/mechanize-0.2.5/mechanize/_gzip.py b/libs/dev/mechanize-0.2.5/mechanize/_gzip.py index 7e9d6a0..093a9fb 100644 --- a/libs/dev/mechanize-0.2.5/mechanize/_gzip.py +++ b/libs/dev/mechanize-0.2.5/mechanize/_gzip.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- + from cStringIO import StringIO import _response diff --git a/libs/dev/mechanize-0.2.5/mechanize/_msiecookiejar.py b/libs/dev/mechanize-0.2.5/mechanize/_msiecookiejar.py index 8af11c0..8108ca5 100644 --- a/libs/dev/mechanize-0.2.5/mechanize/_msiecookiejar.py +++ b/libs/dev/mechanize-0.2.5/mechanize/_msiecookiejar.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- + """Microsoft Internet Explorer cookie loading on Windows. Copyright 2002-2003 Johnny Lee <typo_pl@hotmail.com> (MSIE Perl code) diff --git a/timelinelib/wxgui/components/cattree.py b/timelinelib/wxgui/components/cattree.py index 35b53d0..d02bfdd 100644 --- a/timelinelib/wxgui/components/cattree.py +++ b/timelinelib/wxgui/components/cattree.py @@ -231,8 +231,8 @@ def delete_category(parent_ctrl, db, cat, fn_handle_db_error): update_warning = _("Events belonging to '%s' will no longer " "belong to a category.") % cat.name else: - update_warning = _("Events belonging to '%s' will now belong " - "to '%s'.") % (cat.name, cat.parent.name) + update_warning = _("Events belonging to '%(name)s' will now belong ") + "to '%(parent)s'.") % {'name': cat.name, 'parent': cat.parent.name) question = "%s\n\n%s" % (delete_warning, update_warning) if _ask_question(question, parent_ctrl) == wx.YES: try: diff --git a/timelinelib/wxgui/dialogs/eventeditor.py b/timelinelib/wxgui/dialogs/eventeditor.py index def61f3..37cc9a0 100644 --- a/timelinelib/wxgui/dialogs/eventeditor.py +++ b/timelinelib/wxgui/dialogs/eventeditor.py @@ -445,8 +445,8 @@ class IconEditor(wx.Panel): self.MAX_SIZE = (128, 128) # Controls self.img_icon = wx.StaticBitmap(self, size=self.MAX_SIZE) - label = _("Images will be scaled to fit inside a %ix%i box.") - description = wx.StaticText(self, label=label % self.MAX_SIZE) + label = _("Images will be scaled to fit inside a 128x128 box.") + description = wx.StaticText(self, label=label) btn_select = wx.Button(self, wx.ID_OPEN) btn_clear = wx.Button(self, wx.ID_CLEAR) self.Bind(wx.EVT_BUTTON, self._btn_select_on_click, btn_select) |