我在显示视图时遇到以下错误,即使我在安装插件后清除了缓存
ActionView :: Template :: Error(翻译缺失:en.account.groups.reserve_and_funds):
157:
158:
159:
160:<%t('account.groups.reserve_and_funds')%>
161:<%rf_ledger_ids = get_ledger_by_group(AccountGroup :: AG_HASH ['reserve_and_surplus'])%>
162:<%rf_opening_balance = ledger_opening_balance(rf_ledger_ids)%>
163:<%val_hash = get_hash_dccd(SystemConstant :: DEBITRULE,SystemConstant :: CREDITRULE,rf_ledger_ids,@ from_date,@ to_date)%>
app / views / spree / account / balance_sheets / _bal_sheet_cal.html.erb:160:in _bbb75c09b5307b72b5249abc63b438b8'
app/views/spree/account/balance_sheets/_bal_sheet.html.erb:1:in
_ 29ca1ef0f0b261e351539b4f61476d2b'
app / views / spree / account / balance_sheets / _detail_view.html.erb:1:in _a41aea51270c31de5e0cae0119590ea2'
app/views/spree/account/balance_sheets/index.js.erb:2:in
_ f5d021945ac0653007f63c2825ddeb1b'
app / controllers / spree / account / balance_sheets_controller.rb:27:在`index'
答案 0 :(得分:1)
在en.yml文件中按层次结构定义
en: &en
account:
groups:
reserve_and_funds: 'Reserve and funds'