From 840f86d380a33c7a650cf4ee32f8db2b389ca8b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cornelius=20Wei=C3=9F?= Date: Tue, 25 Feb 2025 17:16:39 +0100 Subject: [PATCH] tweak(Tinebase): meaningful emptyText for site pickers --- tine20/Addressbook/js/ContactEditDialog.js | 1 + tine20/Addressbook/translations/de.po | 3 +++ tine20/Calendar/js/EventEditDialog.js | 3 ++- tine20/Calendar/translations/de.po | 3 +++ 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/tine20/Addressbook/js/ContactEditDialog.js b/tine20/Addressbook/js/ContactEditDialog.js index d8931e9c61d..f4b332e3e49 100644 --- a/tine20/Addressbook/js/ContactEditDialog.js +++ b/tine20/Addressbook/js/ContactEditDialog.js @@ -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', diff --git a/tine20/Addressbook/translations/de.po b/tine20/Addressbook/translations/de.po index cccf3986860..e7d5a92790a 100644 --- a/tine20/Addressbook/translations/de.po +++ b/tine20/Addressbook/translations/de.po @@ -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" diff --git a/tine20/Calendar/js/EventEditDialog.js b/tine20/Calendar/js/EventEditDialog.js index 48eb9f2676e..0b4c3158465 100644 --- a/tine20/Calendar/js/EventEditDialog.js +++ b/tine20/Calendar/js/EventEditDialog.js @@ -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', diff --git a/tine20/Calendar/translations/de.po b/tine20/Calendar/translations/de.po index 8be459d66c0..2aab8766de0 100644 --- a/tine20/Calendar/translations/de.po +++ b/tine20/Calendar/translations/de.po @@ -842,6 +842,9 @@ msgstr[1] "Terminarten" msgid "Site" msgstr "Standort" +msgid "Search for sites ..." +msgstr "Suche nach Standorten..." + msgid "View" msgstr "Ansicht"