diff --git a/app/helpers/hyrax_helper.rb b/app/helpers/hyrax_helper.rb index 4783956..b6b30e2 100644 --- a/app/helpers/hyrax_helper.rb +++ b/app/helpers/hyrax_helper.rb @@ -9,4 +9,13 @@ def render_markdown(field) text = field[:value].join("\n\n") DataCatalog::MarkdownService.call(text).html_safe end + + # override hyrax method + # Which translations are available for the user to select + # @return [Hash{String => String}] locale abbreviations as keys and flags as values + def available_translations + { + 'en' => 'English' + } + end end