diff options
| author | glatzor@ubuntu.com <> | 2006-07-22 18:41:40 +0200 |
|---|---|---|
| committer | glatzor@ubuntu.com <> | 2006-07-22 18:41:40 +0200 |
| commit | 4e6c88a25b555e6be432e44ca6c4d2dfeb8dbfa8 (patch) | |
| tree | df1dec9b361ce13601801a723d52e499c1b51781 | |
| parent | 16c3025952c0828ed474acb724b05f04df12fa30 (diff) | |
| download | python-apt-4e6c88a25b555e6be432e44ca6c4d2dfeb8dbfa8.tar.gz | |
* add the mime handler for sources.list
* fix the translation for the moved files
| -rw-r--r-- | data/mime/apt.xml.in | 8 | ||||
| -rw-r--r-- | po/POTFILES.in | 11 | ||||
| -rwxr-xr-x | setup.py | 6 |
3 files changed, 20 insertions, 5 deletions
diff --git a/data/mime/apt.xml.in b/data/mime/apt.xml.in new file mode 100644 index 00000000..6861cde9 --- /dev/null +++ b/data/mime/apt.xml.in @@ -0,0 +1,8 @@ +<?xml version="1.0"?> +<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'> + <mime-type type="text/x-apt-sources-list"> + <sub-class-of type="text/plain"/> + <comment>Software sources list</comment> + <glob pattern="sources.list"/> + </mime-type> +</mime-info> diff --git a/po/POTFILES.in b/po/POTFILES.in index c74e2d16..b383e84c 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -12,13 +12,14 @@ UpdateManager/fakegconf.py UpdateManager/ReleaseNotesViewer.py UpdateManager/GtkProgress.py UpdateManager/UpdateManager.py -data/UpdateManager.glade -data/SoftwareProperties.glade -data/SoftwarePropertiesDialogs.glade +data/mime/apt.xml.in +data/glade/UpdateManager.glade +data/glade/SoftwareProperties.glade +data/glade/SoftwarePropertiesDialogs.glade data/update-manager.desktop.in data/update-manager.schemas.in data/software-properties.desktop.in -[type: gettext/rfc822deb] channels/Ubuntu.info.in -[type: gettext/rfc822deb] channels/Debian.info.in +[type: gettext/rfc822deb] data/channels/Ubuntu.info.in +[type: gettext/rfc822deb] data/channels/Debian.info.in [type: python] update-manager [type: python] software-properties @@ -36,6 +36,8 @@ for size in glob.glob("data/icons/*"): print ICONS +os.system("intltool-merge -d po data/mime/apt.xml.in"\ + " build/apt.xml") os.system("intltool-merge -d po data/update-manager.schemas.in"\ " build/update-manager.schemas") @@ -75,5 +77,9 @@ setup(name='update-manager', ('share/gconf/schemas', glob.glob("build/*.schemas") ), + ('share/mime/packages', + ["build/apt.xml"] + ) + ] + I18NFILES + HELPFILES + ICONS, ) |
