問題点 #22614
lib/Baser/Plugin 以下のViewで設定した翻訳が上書きされている
Status: | 終了 | Start date: | ||
---|---|---|---|---|
Priority: | 通常 | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | - | |||
Target version: | - |
Description
lib/Baser/Plugin以下のViewで
$this->BcBaser->i18nScript([ 'confirmMessage1' => '〜', ]);
などと設定しているところがありますが、lib/Baser/View/Elements/admin/content_fields.phpのi18nScriptに上書きされてしまい、メッセージがおかしくなっています。
Controllerで
'useForm' => true
になっているとadmin/content_fieldsが読み込まれますが、読み込まれるのがフォームの出力後なのでHTMLでi18nを設定するスクリプトが後に出力され、変数が上書きされているようです。
Related issues
Associated revisions
History
#1 Updated by - stmkza about 2 years ago
- Related to 問題点 #22612: コンテンツテンプレート名の右側「編集」ボタンを押したときの確認ダイアログのメッセージが正しくない added
#2 Updated by 江頭 竜二 about 2 years ago
- Status changed from 担当 to 解決
- % Done changed from 0 to 100
更新履歴 basercms|commit:c88424a7aa8a840733f2a054c22d033528e3f379 で適用されました。
#3 Updated by 永冨 隆之 almost 2 years ago
- Status changed from 解決 to 終了