Have in mind that I'm not a native speaker of these languages and the translation may not be entirely correct. I couldn't figure out how to translate the system message in Hebrew and replaced it entirely with the English version.
This serves two purposes. The first is to remove the duplicated code, and the second is to stop using a hard coded list of default formats. With this change, plugins can specify additional download formats so long as the Mime type is registered.
…oid uninitialized constant Admin::DashboardController