web: fix double plural in label

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-01-10 18:58:56 +01:00
parent 2543224c7c
commit ef564e5f1a
5 changed files with 727 additions and 1217 deletions

View File

@ -3227,8 +3227,12 @@ msgid "Notification rule(s)"
msgstr "Notification rule(s)" msgstr "Notification rule(s)"
#: src/pages/events/TransportListPage.ts #: src/pages/events/TransportListPage.ts
msgid "Notification transports(s)" msgid "Notification transport(s)"
msgstr "Notification transports(s)" msgstr "Notification transport(s)"
#: src/pages/events/TransportListPage.ts
#~ msgid "Notification transports(s)"
#~ msgstr "Notification transports(s)"
#: src/elements/notifications/NotificationDrawer.ts #: src/elements/notifications/NotificationDrawer.ts
msgid "Notifications" msgid "Notifications"

View File

@ -3205,8 +3205,12 @@ msgid "Notification rule(s)"
msgstr "Règle(s) de notification" msgstr "Règle(s) de notification"
#: src/pages/events/TransportListPage.ts #: src/pages/events/TransportListPage.ts
msgid "Notification transports(s)" msgid "Notification transport(s)"
msgstr "Transport(s) de notification" msgstr ""
#: src/pages/events/TransportListPage.ts
#~ msgid "Notification transports(s)"
#~ msgstr "Transport(s) de notification"
#: src/elements/notifications/NotificationDrawer.ts #: src/elements/notifications/NotificationDrawer.ts
msgid "Notifications" msgid "Notifications"

View File

@ -3217,9 +3217,13 @@ msgid "Notification rule(s)"
msgstr "" msgstr ""
#: src/pages/events/TransportListPage.ts #: src/pages/events/TransportListPage.ts
msgid "Notification transports(s)" msgid "Notification transport(s)"
msgstr "" msgstr ""
#: src/pages/events/TransportListPage.ts
#~ msgid "Notification transports(s)"
#~ msgstr ""
#: src/elements/notifications/NotificationDrawer.ts #: src/elements/notifications/NotificationDrawer.ts
msgid "Notifications" msgid "Notifications"
msgstr "" msgstr ""

File diff suppressed because it is too large Load Diff

View File

@ -56,7 +56,7 @@ export class TransportListPage extends TablePage<NotificationTransport> {
renderToolbarSelected(): TemplateResult { renderToolbarSelected(): TemplateResult {
const disabled = this.selectedElements.length < 1; const disabled = this.selectedElements.length < 1;
return html`<ak-forms-delete-bulk return html`<ak-forms-delete-bulk
objectLabel=${t`Notification transports(s)`} objectLabel=${t`Notification transport(s)`}
.objects=${this.selectedElements} .objects=${this.selectedElements}
.usedBy=${(item: NotificationTransport) => { .usedBy=${(item: NotificationTransport) => {
return new EventsApi(DEFAULT_CONFIG).eventsTransportsUsedByList({ return new EventsApi(DEFAULT_CONFIG).eventsTransportsUsedByList({