Add new translations for modal list items

This commit is contained in:
Andreas Nedbal 2022-07-27 02:07:19 +02:00 committed by Andreas Nedbal
parent 8839139a72
commit 1492434e15
2 changed files with 5 additions and 4 deletions

View File

@ -10,9 +10,8 @@
.media-body
.list-group-item-heading= list.display_name
.list-group-item-text.text-muted
%span{ id: "#{list.name}-members" }= list.members.count
= t 'views.modal.list.members'
%span{ id: "#{list.name}-members", data: { count: list.members.count, i18n: t(".members") } }= t(".members", count: list.members.count)
·
%a.text-danger#delete-list{ href: '#', data: { list: list.name } }
%a.text-danger#delete-list{ href: "#", data: { list: list.name } }
%i.fa.fa-close
= t 'views.actions.delete'
= t("voc.delete")

View File

@ -168,6 +168,8 @@ en:
title: "Create new list"
action: "Create list"
placeholder: "List name"
item:
members: "%{count} members"
password:
title: "Save account changes"
ban: