diff options
author | Stéphane Loeuillet <leroutier@gmail.com> | 2007-10-28 14:27:44 +0100 |
---|---|---|
committer | Stéphane Loeuillet <leroutier@leroutier-desktop.(none)> | 2007-10-28 14:27:44 +0100 |
commit | 0ab0c1af511a933de83e36a36300ca608f94cff4 (patch) | |
tree | 3a8921efafb7a32c5632c6bcef7f1d0981c06a4a | |
parent | 8fd96c54f62ece3ecd692f5975e2aaa1bfe77f3d (diff) |
Handle i18n inside XML mime file (comments about mime-types)
-rw-r--r-- | data/Makefile.am | 9 | ||||
-rw-r--r-- | data/swfdec.xml.in (renamed from data/swfdec.xml) | 6 | ||||
-rw-r--r-- | po/POTFILES.in | 1 |
3 files changed, 10 insertions, 6 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index b558e63..e85ceef 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,15 +1,18 @@ EXTRA_DIST = \ swfdec-player.desktop.in\ - swfdec.xml + swfdec.xml.in desktop_in_files = swfdec-player.desktop.in desktopdir = $(datadir)/applications desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) @INTLTOOL_DESKTOP_RULE@ +mime_in_files = swfdec.xml.in mimedir = $(datadir)/mime/packages -mime_DATA = swfdec.xml +mime_DATA = $(mime_in_files:.xml.in=.xml) +@INTLTOOL_XML_RULE@ CLEANFILES = \ - swfdec-player.desktop + swfdec-player.desktop \ + swfdec.xml diff --git a/data/swfdec.xml b/data/swfdec.xml.in index f72e935..34be08e 100644 --- a/data/swfdec.xml +++ b/data/swfdec.xml.in @@ -3,19 +3,19 @@ <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> <mime-type type="application/x-shockwave-flash"> - <comment>Adobe/Macromedia Flash animation</comment> + <_comment>Adobe/Macromedia Flash animation</_comment> <glob pattern="*.swf"/> </mime-type> <mime-type type="video/x-flv"> - <comment>Adobe/Macromedia Flash video</comment> + <_comment>Adobe/Macromedia Flash video</_comment> <glob pattern="*.flv"/> <alias type="video/flv"/> <alias type="flv-application/octet-stream"/> </mime-type> <mime-type type="application/futuresplash"> - <comment>???</comment> + <_comment>???</_comment> <glob pattern="*.spl"/> </mime-type> diff --git a/po/POTFILES.in b/po/POTFILES.in index 23e9ed4..0f707ea 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -2,6 +2,7 @@ # Please keep this file sorted alphabetically. [encoding: UTF-8] data/swfdec-player.desktop.in +data/swfdec.xml.in player/swfdec-player.c player/swfdec-player.ui player/swfdec-window-handlers.c |