Rename "_Plugins.py" to a more appropriate name: "_PluginDialogs.py". Same goes for the classes in the file.

svn: r10742
This commit is contained in:
Brian Matherly
2008-05-19 04:14:11 +00:00
parent 3afbd461c0
commit 007ba8dd49
6 changed files with 54 additions and 48 deletions

View File

@@ -86,6 +86,13 @@ from ReportBase._ReportOptions import ReportOptions
from BasicUtils import name_displayer as _nd
#------------------------------------------------------------------------
#
# Private Constants
#
#------------------------------------------------------------------------
_UNSUPPORTED = _("Unsupported")
#------------------------------------------------------------------------
#
# Private Functions
@@ -195,7 +202,7 @@ class BookItem:
if item[4] == name:
self.translated_name = item[0]
if item[5]:
self.category = Plugins.UNSUPPORTED
self.category = _UNSUPPORTED
else:
self.category = item[1]
self.write_item = item[2]
@@ -748,7 +755,7 @@ class BookReportSelector(ManagedWindow.ManagedWindow):
for book_item in pmgr.get_book_item_list():
if book_item[5]:
category = Plugins.UNSUPPORTED
category = _UNSUPPORTED
else:
category = book_item[1]