* src/plugins/Calendar.py (Calendar.__getitem__,

Widget.__getitem__): No translation for exception messages.
* src/po/template.po: Update.
* src/po/ru.po: Update.


svn: r5973
This commit is contained in:
Alex Roitman 2006-02-23 00:47:20 +00:00
parent 429cb7b4ee
commit 4e5c3b529f
4 changed files with 1692 additions and 1389 deletions

View File

@ -1,3 +1,9 @@
2006-02-22 Alex Roitman <shura@gramps-project.org>
* src/plugins/Calendar.py (Calendar.__getitem__,
Widget.__getitem__): No translation for exception messages.
* src/po/template.po: Update.
* src/po/ru.po: Update.
2006-02-22 Arturas Sleinius <asleiniu@one.lt>
* src/dates/Date_lt.py: new Lithuanian date handler
* src/po/lt.po: updated Lithuanian translation

View File

@ -118,7 +118,7 @@ class Calendar(Report.Report):
# otherwise it is a option:
return self.options_class.options_dict[item]
else:
raise AttributeError, (_("no widget named '%s'") % item)
raise AttributeError, ("no widget named '%s'" % item)
def define_graphics_styles(self):
""" Set up the report. Could be moved up to Report. """
@ -373,7 +373,7 @@ class Widget:
if key in self.settings:
return self.settings[key]
else:
raise AttributeError, (_("no widget attribute named '%s'") % key)
raise AttributeError, ("no widget attribute named '%s'" % key)
def __setitem__(self, key, value):
self.settings[key] = value
def setup(self, args = {}):
@ -576,7 +576,7 @@ class NewReportOptions(ReportOptions.ReportOptions):
if keyword in self.options_dict:
return self.options_dict[keyword]
else:
raise AttributeError, (_("no widget named '%s'") % keyword)
raise AttributeError, ("no widget named '%s'" % keyword)
def __setitem__(self, keyword, value):
""" This could be moved up to ReportOptions """

File diff suppressed because it is too large Load Diff

View File

@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: GRAMPS VERSION\n"
"POT-Creation-Date: Sat Feb 18 22:21:36 2006\n"
"POT-Creation-Date: Wed Feb 22 16:37:12 2006\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"
@ -19,11 +19,11 @@ msgstr ""
msgid "Select a media object"
msgstr ""
#: AddMedia.py:123 ImageSelect.py:198
#: AddMedia.py:123 ImageSelect.py:200
msgid "Cannot import %s"
msgstr ""
#: AddMedia.py:124 ImageSelect.py:199
#: AddMedia.py:124 ImageSelect.py:201
msgid "The filename supplied could not be found."
msgstr ""
@ -255,7 +255,7 @@ msgid "Likely Father"
msgstr ""
#: ChooseParents.py:840
msgid "Matches likely fathersn"
msgid "Matches likely fathers"
msgstr ""
#: ChooseParents.py:847
@ -7691,14 +7691,6 @@ msgstr ""
msgid "Creates a book containing several reports."
msgstr ""
#: plugins/Calendar.py:121 plugins/Calendar.py:579
msgid "no widget named '%s'"
msgstr ""
#: plugins/Calendar.py:376
msgid "no widget attribute named '%s'"
msgstr ""
#: plugins/Calendar.py:400
msgid "Type a number or click the spinner"
msgstr ""