FIX: Display site text overrides for non '_MF' keys (#8189)

FIX: Transform pluralized keys to `.other`, to check valid interpolation
This commit is contained in:
Mark VanLandingham
2019-10-17 11:34:07 -05:00
committed by Gerhard Schlager
parent 11a9e0fc70
commit bd969332e0
4 changed files with 45 additions and 3 deletions

View File

@ -109,7 +109,7 @@ class Admin::SiteTextsController < Admin::AdminController
value = override&.first
end
value ||= I18n.t(key, default: '')
value ||= I18n.t(key)
{ id: key, value: value }
end