Merge pull request #33684 from FHenry/feat_context_translation_for_grid_label

feat: allow Context for translation in DocField.label for Table DocField
This commit is contained in:
Ejaaz Khan 2025-08-19 13:31:13 +05:30 committed by GitHub
commit 59f320de4d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -65,7 +65,7 @@ export default class Grid {
make() {
let template = `
<div class="grid-field">
<label class="control-label">${__(this.df.label || "")}</label>
<label class="control-label">${__(this.df.label || "", null, this.df.parent)}</label>
<span class="help"></span>
<p class="text-muted small grid-description"></p>
<div class="grid-custom-buttons"></div>