Skip to content

Commit

Permalink
Merge branch 'pu/cw/tweakSiteEmptTexts' into 'main'
Browse files Browse the repository at this point in the history
tweak(Tinebase): meaningful emptyText for site pickers

See merge request tine20/tine20!6639
  • Loading branch information
corneliusweiss committed Feb 25, 2025
2 parents b906941 + 840f86d commit 33d85e8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions tine20/Addressbook/js/ContactEditDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ Tine.Addressbook.ContactEditDialog = Ext.extend(Tine.widgets.dialog.EditDialog,
refIdField: 'contact',
searchComboConfig: {
useEditPlugin: false,
emptyText: this.app.i18n._('Search for sites ... (leave empty for all sites)'),
additionalFilterSpec: {
config: {
name: 'siteFilter',
Expand Down
3 changes: 3 additions & 0 deletions tine20/Addressbook/translations/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,9 @@ msgstr "Abteilung"
msgid "Sites"
msgstr "Standorte"

msgid "Search for sites ... (leave empty for all sites)"
msgstr "Suche nach Standorten ... (leer lassen für alle Standorte)"

msgid "Color"
msgstr "Farbe"

Expand Down
3 changes: 2 additions & 1 deletion tine20/Calendar/js/EventEditDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ Tine.Calendar.EventEditDialog = Ext.extend(Tine.widgets.dialog.EditDialog, {
useAccountRecord: false,
searchComboConfig: {useEditPlugin: false},
requiredGrant: 'editGrant',
recordEditPluginConfig: {allowCreateNew: false,},
recordEditPluginConfig: {allowCreateNew: false},
emptyText: this.app.i18n._('Search for sites ...'),
additionalFilterSpec: {
config: {
name: 'siteFilter',
Expand Down
3 changes: 3 additions & 0 deletions tine20/Calendar/translations/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -842,6 +842,9 @@ msgstr[1] "Terminarten"
msgid "Site"
msgstr "Standort"

msgid "Search for sites ..."
msgstr "Suche nach Standorten..."

msgid "View"
msgstr "Ansicht"

Expand Down

0 comments on commit 33d85e8

Please sign in to comment.