You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our Controlled Value List for container_type includes "flat_file", which has an English enumeration translation of "Flat File". When a Top Container that is a Flat File is displayed, the title should start with "Flat File : ".
Current Behavior
Instead, it currently displays as "Flat_file :" in both the frontend and public UI.
Possible Solution
The top_container.rb display_string and long_display_string simply use type.capitalize instead of properly looking up the translation. There may be other areas where a translation is not used.
Steps to Reproduce (for bugs)
Create a new container_type value of "flat_file"
Add "flat_file: Flat File" to the container_type English enumerations in locales/enums/en.yml.
Reload server, and set the container_type of a Top Container to Flat File (the Type selection properly has the translation).
After saving the Top Container, the displayed title has "Flat_file : " at the beginning and the Container Type field is displayed as "flat_file".
Context
Our archivists wish to use "flat_file" as a Top Container type.
Your Environment
Version used: 3.4.1
The text was updated successfully, but these errors were encountered:
Expected Behavior
Our Controlled Value List for container_type includes "flat_file", which has an English enumeration translation of "Flat File". When a Top Container that is a Flat File is displayed, the title should start with "Flat File : ".
Current Behavior
Instead, it currently displays as "Flat_file :" in both the frontend and public UI.
Possible Solution
The top_container.rb display_string and long_display_string simply use type.capitalize instead of properly looking up the translation. There may be other areas where a translation is not used.
Steps to Reproduce (for bugs)
Context
Our archivists wish to use "flat_file" as a Top Container type.
Your Environment
The text was updated successfully, but these errors were encountered: