Skip to content

fix #4284 【プラグイン】カスタムコンテンツ:テーブル管理のテーブル登録・編集で識別名に半角大文字が使えない件のヘルプを修正#4394

Open
kaburk wants to merge 1 commit into
baserproject:5.2.xfrom
kaburk:5.2.x-#4284

Conversation

@kaburk
Copy link
Copy Markdown
Collaborator

@kaburk kaburk commented May 22, 2026

よろしくお願いします。

Copilot AI review requested due to automatic review settings May 22, 2026 10:49
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

カスタムコンテンツの「カスタムテーブル」登録・編集画面において、識別名(name)に半角大文字が使えない実態に合わせて、ヘルプ文言と翻訳カタログを更新するPRです。

Changes:

  • 管理画面(CustomTables フォーム)の識別名ヘルプを「小文字制約」へ修正
  • baser_core.pot の msgid を更新し、抽出元文言を同期
  • 英語翻訳(en/baser_core.po)に新 msgid と訳文を追加・更新

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
plugins/bc-admin-third/templates/plugin/BcCustomContent/Admin/element/CustomTables/form.php 識別名入力欄のヘルプ文言を小文字制約に合わせて修正
plugins/baser-core/resources/locales/en/baser_core.po 変更後ヘルプ文言の英訳を追加し、旧エントリを整理
plugins/baser-core/resources/locales/baser_core.pot 変更後ヘルプ文言をテンプレートへ反映
Comments suppressed due to low confidence (1)

plugins/bc-admin-third/templates/plugin/BcCustomContent/Admin/element/CustomTables/form.php:87

  • 同一プラグイン内の類似フォーム(例: CustomFields/form.php)では「半角小文字英数字とアンダースコア( _ )のみ利用可能です。」という既存文言が使われています。本箇所だけ「半角英数小文字…」という別 msgid を新規追加すると翻訳エントリが重複し、UI 文言の一貫性も下がるため、既存文言への寄せ(または既存表現に合わせた統一)を検討してください。
          <?php echo __d('baser_core', '半角英数小文字とアンダースコアのみ利用できます。') ?>

<?php echo __d('baser_core', '半角英数字とアンダースコアのみ利用できます。') ?>
<?php echo __d('baser_core', '半角英数小文字とアンダースコアのみ利用できます。') ?>
</div>
<?php echo $this->BcAdminForm->error('name') ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants