On Sun, 8 Mar 2015, Isaac Dunham wrote: > On Sat, Mar 07, 2015 at 05:19:02PM -0700, Jon Trulson wrote: >> On Sat, 7 Mar 2015, Isaac Dunham wrote: >> >>> I'd like to add a bunch of new filetypes. >>> Should I add them to datatypes.dt, or would using a new file be preferable? >>> >>> (I'd like to work on better CDE integration for a few external programs >>> such as ida, but that entails CDE recognizing the file formats. Including >>> the magic to recognize PNG files in a config file for an image viewer seems >>> rather lame.) >>> >> >> I think doing it in types/datatypes.dt.src should be ok... Not sure >> what, if anything, would need to be done regarding NLS though. >> -jon > > I've started working on it out-of-tree. > Apparently, the NLS stuff is in programs/localized/$LOCALE/types/*.dt.tmsg > (mostly _common.dt.tmsg, but also some databases that are per-file). > > Looking at things again, it rather seems like miscImages.dt should be > installed in CDE_INSTALLATION_TOP/appconfig/LOCALE/type/; the extra image > formats could go in datatypes.dt or miscImages.dt. >
miscImages.dt.src would seem to be better option. > Most of this seems to be just shy of copy-pasteable; basically the main > change between image formats is the string describing the name, > which usually isn't translated. > Sounds fine to me. -- Jon Trulson "Don't believe everything you read on the internet." --Abraham Lincoln ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ cdesktopenv-devel mailing list cdesktopenv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel