diff --git a/ChangeLog b/ChangeLog index 864e0ee3a..ec97889ba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-01-16 Douglas S. Blank + * src/Simple/_SimpleTable.py: added gettext + * data/Makefile.am: added schema files + * po/POTFILES.skip: some files not in POTFILES.in + * po/POTFILES.in: added some missing files + 2008-01-16 Erik De Richter * data/man/nl: added * data/man/nl/gramps.1.in: added diff --git a/data/Makefile.am b/data/Makefile.am index a6877ecbc..be5c0df0c 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -14,6 +14,10 @@ keys_in_files = gramps.keys.in keys_files = $(keys_in_files:.keys.in=.keys) @INTLTOOL_KEYS_RULE@ +schemas_in_files = gramps.schemas.in +schemas_files = $(schemas_in_files:.schemas.in=.schemas) +@INTLTOOL_SCHEMAS_RULE@ + # Rules for files with translatable strings # These are taken care of by the intltool xml_in_files = gramps.xml.in @@ -29,6 +33,9 @@ mime_DATA = $(keys_files) gramps.mime xmldir = $(SHARED_MIME_DIR)/packages xml_DATA = $(xml_files) +schemasdir = $(SHARED_MIME_DIR)/packages +schemas_DATA = $(schemas_files) + pngdir = $(datadir)/icons/gnome/48x48/mimetypes png_DATA = \ gnome-mime-application-x-gramps.png \ @@ -54,12 +61,15 @@ EXTRA_DIST = \ $(mime_DATA) \ $(xml_DATA) \ $(desktop_DATA) \ - $(xml_in_files) + $(xml_in_files) \ + $(schemas_DATA) \ + $(schemas_in_files) CLEANFILES = \ $(desktop_DATA) \ $(keys_files) \ - $(xml_files) + $(xml_files) \ + $(schemas_files) # Conditionally enable/disable gconf schemas or mime types, # or disable both in a packager mode diff --git a/po/POTFILES.in b/po/POTFILES.in index 5305e1acf..ff36a9664 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -52,6 +52,9 @@ src/Utils.py src/UndoHistory.py src/ViewManager.py +# Simple API +src/Simple/_SimpleTable.py + # BasicUtils package src/BasicUtils/_UpdateCallback.py src/BasicUtils/_NameDisplay.py @@ -332,6 +335,7 @@ src/PluginUtils/_PluginMgr.py src/PluginUtils/_Plugins.py src/PluginUtils/_Tool.py src/PluginUtils/_PluginWindows.py +src/PluginUtils/_MenuOptions.py # ReportBase package src/ReportBase/_BareReportDialog.py diff --git a/po/POTFILES.skip b/po/POTFILES.skip new file mode 100644 index 000000000..e34a897c6 --- /dev/null +++ b/po/POTFILES.skip @@ -0,0 +1,4 @@ +src/LdsUtils.py +src/Mime/_WinMime.py +src/ReportBase/_DocReportDialog.py +src/docgen/PdfDoc.py diff --git a/src/Simple/_SimpleTable.py b/src/Simple/_SimpleTable.py index 199a7b090..cce512e72 100644 --- a/src/Simple/_SimpleTable.py +++ b/src/Simple/_SimpleTable.py @@ -23,6 +23,7 @@ Provides a simplified table creation interface """ import copy +from gettext import gettext as _ import gen.lib import Errors