Skip to content

Commit

Permalink
fix #3162 【5.1】ダイアログの文言にメールアドレスについても追加されているとわかりやすい (#3167)
Browse files Browse the repository at this point in the history
Co-authored-by: Đỗ Văn Hùng <[email protected]>
  • Loading branch information
HungDV2022 and dovanhung authored Mar 1, 2024
1 parent 1396261 commit b6089a6
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 13 deletions.
1 change: 1 addition & 0 deletions plugins/BcColumn/templates/element/blog_comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
$captchaId = mt_rand(0, 99999999);
$this->BcBaser->i18nScript([
'alertMessageName' => __d('baser_core', 'お名前を入力してください'),
'alertMessageEmail' => __d('baser_core', 'メールアドレスを入力してください'),
'alertMessageComment' => __d('baser_core', 'コメントを入力してください'),
'alertMessageAuthImage' => __d('baser_core', '画像の文字を入力してください'),
'alertMessageAuthComplete' => __d('baser_core', '送信が完了しました。送信された内容は確認後公開させて頂きます。'),
Expand Down
3 changes: 3 additions & 0 deletions plugins/bc-front/src/bc_blog/js/blog_comment.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ const bcBlog = {
if (!$("#name").val()) {
msg += bcI18n.alertMessageName + '\n';
}
if (!$("#email").val()) {
msg += bcI18n.alertMessageEmail + '\n';
}
if (!$("#message").val()) {
msg += bcI18n.alertMessageComment + '\n';
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
$captchaId = mt_rand(0, 99999999);
$this->BcBaser->i18nScript([
'alertMessageName' => __d('baser_core', 'お名前を入力してください'),
'alertMessageEmail' => __d('baser_core', 'メールアドレスを入力してください'),
'alertMessageComment' => __d('baser_core', 'コメントを入力してください'),
'alertMessageAuthImage' => __d('baser_core', '画像の文字を入力してください'),
'alertMessageAuthComplete' => __d('baser_core', '送信が完了しました。送信された内容は確認後公開させて頂きます。'),
Expand Down
2 changes: 1 addition & 1 deletion plugins/bc-front/webroot/bc_blog/js/blog_comment.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions plugins/bc-front/webroot/js/common.bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion plugins/bc-front/webroot/js/common.bundle.js.map

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions plugins/bc-front/webroot/js/startup.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/bc-front/webroot/js/startup.bundle.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b6089a6

Please sign in to comment.