mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 16:11:08 +08:00
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:

committed by
Gerhard Schlager

parent
11a9e0fc70
commit
bd969332e0
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user