Skip to content

Commit

Permalink
Merge branch 'pu/cw/openRecordCombos' into '2024.11'
Browse files Browse the repository at this point in the history
tweak(Tinebase) keep recordSearchCombos open if to record was found

See merge request tine20/tine20!6545
  • Loading branch information
corneliusweiss committed Feb 6, 2025
2 parents 34ecde2 + 51f788f commit a76a602
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tine20/Tinebase/js/widgets/form/RecordPickerComboBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,11 @@ Tine.Tinebase.widgets.form.RecordPickerComboBox = Ext.extend(Ext.ux.form.Clearab
this.emptyText = _.isString(this.emptyText) ? this.emptyText :
(this.readOnly || this.disabled ? '' : String.format(i18n._('Search for {0} ...'), this.recordClass.getRecordName() || _('Record')));

this.listEmptyText = formatMessage('{recordGender, select, male {No matching {recordsName} found} female {No matching {recordsName} found} other {No matching {recordsName} found}}', {
recordGender: this.recordClass.getRecordGender(),
recordsName: this.recordClass.getRecordsName()
});

this.loadingText = i18n._('Searching...');

this.sortBy = this.sortBy || this.recordClass.getModelConfiguration()?.defaultSortInfo?.field;
Expand Down
4 changes: 4 additions & 0 deletions tine20/Tinebase/translations/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -3134,6 +3134,10 @@ msgstr "Kopie bearbeiten"
msgid "Search for {0} ..."
msgstr "Suche nach {0} ..."

#, python-brace-format
msgid "{recordGender, select, male {No matching {recordsName} found} female {No matching {recordsName} found} other {No matching {recordsName} found}}"
msgstr "{recordGender, select, male {Kein passender {recordsName} gefunden} female {Keine passende {recordsName} gefunden} other {Kein passendes {recordsName} gefunden}}"

msgid "Searching..."
msgstr "Suche ..."

Expand Down

0 comments on commit a76a602

Please sign in to comment.