Skip to content

Commit

Permalink
tweak(Tinebase): emptyText not translated
Browse files Browse the repository at this point in the history
  • Loading branch information
corneliusweiss committed Feb 18, 2025
1 parent 99fca23 commit f92757a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tine20/Tinebase/js/widgets/form/FieldManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ Tine.widgets.form.FieldManager = function() {
// class icon_dialog_info needs to be defined in css of app
field.fieldLabel += '<span class="field-description" ext:qtip="' + Ext.util.Format.htmlEncode(i18n._hidden(fieldDefinition.description)) + '" />'
}
if (field.emptyText) {
field.emptyText = i18n._hidden(field.emptyText);
}
field.name = fieldDefinition.fieldName || fieldDefinition.name;
field.readOnly = !! fieldDefinition.readOnly || !! _.get(fieldDefinition, 'uiconfig.readOnly');
field.allowBlank = !! (fieldDefinition.validators && fieldDefinition.validators.allowEmpty);
Expand Down

0 comments on commit f92757a

Please sign in to comment.