From 95b044a5c6efac08471ccda8647df6165fb7cbdf Mon Sep 17 00:00:00 2001 From: Monroe Linden Date: Thu, 10 Dec 2009 16:03:39 -0800 Subject: Fix for DEV-41388 (SNOW-307: Linux viewer builds renames gstreamer plugin to quicktime.) Of the four options suggested in the jira, this is a modified version of #2. Since the mime_types.xml file actually gets localized (it contains a bunch of user-visible text in addition to the mappings), I don't think renaming it in viewer_manifest.py will work. Instead, I've created additional files (mime_types_linux.xml and mime_types_mac.xml) in the same location, and changed the code that loads the file in LLAppViewer::init() to look for different names per-platform. I'm sure there are cleverer solutions (such as abusing the translation xml overlay system to create files that have deltas per platform), but those don't fit in the time-box allocated to this issue. --- .../skins/default/xui/en/mime_types_linux.xml | 442 +++++++++++++++++++++ .../skins/default/xui/en/mime_types_mac.xml | 442 +++++++++++++++++++++ 2 files changed, 884 insertions(+) create mode 100644 indra/newview/skins/default/xui/en/mime_types_linux.xml create mode 100644 indra/newview/skins/default/xui/en/mime_types_mac.xml (limited to 'indra/newview/skins/default') diff --git a/indra/newview/skins/default/xui/en/mime_types_linux.xml b/indra/newview/skins/default/xui/en/mime_types_linux.xml new file mode 100644 index 0000000000..05cd850725 --- /dev/null +++ b/indra/newview/skins/default/xui/en/mime_types_linux.xml @@ -0,0 +1,442 @@ + + + + (Unknown) + + + none + + + media_plugin_webkit + + + + + icn_media_web.tga + + + text/html + + + This location has Web content + + + Show Web content + + + true + + + false + + + + + + video/* + + + icn_media_movie.tga + + + There is a movie to play here + + + Play movie + + + false + + + true + + + + + + icn_media_web.tga + + + image/* + + + There is an image at this location + + + View this location's image + + + false + + + false + + + + + + icn_media_web.tga + + + audio/* + + + There is audio at this location + + + Play this location's audio + + + false + + + true + + + + + + movie + + + media_plugin_gstreamer + + + + + + none + + + media_plugin_gstreamer + + + + + + none + + + + + + audio + + + + + + movie + + + + + + image + + + + + + movie + + + media_plugin_gstreamer + + + + + + web + + + + + + audio + + + + + + image + + + + + + image + + + + + + image + + + + + + movie + + + + + + web + + + + + + image + + + + + + audio + + + media_plugin_gstreamer + + + + + + audio + + + media_plugin_gstreamer + + + + + + audio + + + media_plugin_gstreamer + + + + + + audio + + + media_plugin_gstreamer + + + + + + image + + + media_plugin_webkit + + + + + + image + + + media_plugin_webkit + + + + + + image + + + media_plugin_webkit + + + + + + image + + + media_plugin_webkit + + + + + + image + + + media_plugin_webkit + + + + + + image + + + media_plugin_webkit + + + + + + web + + + media_plugin_webkit + + + + + + text + + + media_plugin_webkit + + + + + + text + + + media_plugin_webkit + + + + + + movie + + + media_plugin_gstreamer + + + + + + movie + + + media_plugin_gstreamer + + + + + + movie + + + media_plugin_gstreamer + + + + + + movie + + + media_plugin_gstreamer + + + + + + movie + + + media_plugin_gstreamer + + + + + + movie + + + media_plugin_gstreamer + + + diff --git a/indra/newview/skins/default/xui/en/mime_types_mac.xml b/indra/newview/skins/default/xui/en/mime_types_mac.xml new file mode 100644 index 0000000000..76c0d027f3 --- /dev/null +++ b/indra/newview/skins/default/xui/en/mime_types_mac.xml @@ -0,0 +1,442 @@ + + + + (Unknown) + + + none + + + media_plugin_webkit + + + + + icn_media_web.tga + + + text/html + + + This location has Web content + + + Show Web content + + + true + + + false + + + + + + video/* + + + icn_media_movie.tga + + + There is a movie to play here + + + Play movie + + + false + + + true + + + + + + icn_media_web.tga + + + image/* + + + There is an image at this location + + + View this location's image + + + false + + + false + + + + + + icn_media_web.tga + + + audio/* + + + There is audio at this location + + + Play this location's audio + + + false + + + true + + + + + + movie + + + media_plugin_quicktime + + + + + + none + + + media_plugin_quicktime + + + + + + none + + + + + + audio + + + + + + movie + + + + + + image + + + + + + movie + + + media_plugin_quicktime + + + + + + web + + + + + + audio + + + + + + image + + + + + + image + + + + + + image + + + + + + movie + + + + + + web + + + + + + image + + + + + + audio + + + media_plugin_quicktime + + + + + + audio + + + media_plugin_quicktime + + + + + + audio + + + media_plugin_quicktime + + + + + + audio + + + media_plugin_quicktime + + + + + + image + + + media_plugin_webkit + + + + + + image + + + media_plugin_webkit + + + + + + image + + + media_plugin_webkit + + + + + + image + + + media_plugin_webkit + + + + + + image + + + media_plugin_webkit + + + + + + image + + + media_plugin_webkit + + + + + + web + + + media_plugin_webkit + + + + + + text + + + media_plugin_webkit + + + + + + text + + + media_plugin_webkit + + + + + + movie + + + media_plugin_quicktime + + + + + + movie + + + media_plugin_quicktime + + + + + + movie + + + media_plugin_quicktime + + + + + + movie + + + media_plugin_quicktime + + + + + + movie + + + media_plugin_quicktime + + + + + + movie + + + media_plugin_quicktime + + + -- cgit v1.2.3