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)"
#: src/pages/events/TransportListPage.ts
msgid "Notification transports(s)"
msgstr "Notification transports(s)"
msgid "Notification transport(s)"
msgstr "Notification transport(s)"
#: src/pages/events/TransportListPage.ts
#~ msgid "Notification transports(s)"
#~ msgstr "Notification transports(s)"
#: src/elements/notifications/NotificationDrawer.ts
msgid "Notifications"

View file

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

View file

@ -3217,9 +3217,13 @@ msgid "Notification rule(s)"
msgstr ""
#: src/pages/events/TransportListPage.ts
msgid "Notification transports(s)"
msgid "Notification transport(s)"
msgstr ""
#: src/pages/events/TransportListPage.ts
#~ msgid "Notification transports(s)"
#~ msgstr ""
#: src/elements/notifications/NotificationDrawer.ts
msgid "Notifications"
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 {
const disabled = this.selectedElements.length < 1;
return html`<ak-forms-delete-bulk
objectLabel=${t`Notification transports(s)`}
objectLabel=${t`Notification transport(s)`}
.objects=${this.selectedElements}
.usedBy=${(item: NotificationTransport) => {
return new EventsApi(DEFAULT_CONFIG).eventsTransportsUsedByList({