Developed by the the Alliance in collaboration with University of Alberta, DMP Assistant a data management planning tool, forking the DMP Roadmap codebase
MIT License
6
stars
1
forks
source link
Apply `translation:sync` to `yaml` Files and Remove Unused `locale/` + `locales/` Files #937
We have config.disable_yaml = true set in config/initializers/translation.rb
To enable the changes in this commit, we had to set config.disable_yaml = false and then execute bundle exec rake translation:sync with the prod key
In addition, due to https://github.com/portagenetwork/roadmap/issues/933, we also temporarily lowered the version of the psych gem (a4e5dca73831ef5627227faf3698e9578206e878, ea71a224237fdd39491a1481d803a924cb60e6be)
Remove unused locale/ and locales/ files (bae62e9ed54e0f4b14ae3655e2b61c18529a69e3 and f600ba084b741dba0acc484224d4017f0a5b4bae)
Because I18n.available_locales == [:"en-CA", :"fr-CA"] for DMP Assistant, we removed all non-en, en-CA, and fr-CA .yml files.
Changes proposed in this PR:
Update
locales/
files (7c2cf881d91d165aeff7b4aa2a499383171d8885)config.disable_yaml = true
set inconfig/initializers/translation.rb
config.disable_yaml = false
and then executebundle exec rake translation:sync
with the prod keypsych
gem (a4e5dca73831ef5627227faf3698e9578206e878, ea71a224237fdd39491a1481d803a924cb60e6be)Remove unused
locale/
andlocales/
files (bae62e9ed54e0f4b14ae3655e2b61c18529a69e3 and f600ba084b741dba0acc484224d4017f0a5b4bae)I18n.available_locales == [:"en-CA", :"fr-CA"]
for DMP Assistant, we removed all non-en
,en-CA
, andfr-CA
.yml files.