Merge pull request 'Use correct pluralization in reports tab' (#206) from sfr/pleroma-fe:fix/reports-plural into develop

Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/206
This commit is contained in:
floatingghost 2022-11-12 16:38:26 +00:00
commit c2a5a8c91f
2 changed files with 4 additions and 4 deletions

View file

@ -54,7 +54,7 @@
class="button button-unstyled dropdown-header" class="button button-unstyled dropdown-header"
@click="toggleStatuses" @click="toggleStatuses"
> >
{{ this.statuses.length + ' ' + $t('moderation.reports.statuses') }} {{ $tc('moderation.reports.statuses', statuses.length - 1, { count: statuses.length }) }}
<FAIcon <FAIcon
class="timelines-chevron" class="timelines-chevron"
fixed-width fixed-width
@ -81,7 +81,7 @@
class="button button-unstyled dropdown-header" class="button button-unstyled dropdown-header"
@click="toggleNotes" @click="toggleNotes"
> >
{{ this.notes.length + ' ' + $t('moderation.reports.notes') }} {{ $tc('moderation.reports.notes', notes.length - 1, { count: notes.length }) }}
<FAIcon <FAIcon
class="timelines-chevron" class="timelines-chevron"
fixed-width fixed-width

View file

@ -283,13 +283,13 @@
"delete_note_title": "Confirm deletion", "delete_note_title": "Confirm deletion",
"no_content": "No description given", "no_content": "No description given",
"note_placeholder": "Leave a note...", "note_placeholder": "Leave a note...",
"notes": "notes", "notes": "{ count } note | { count } notes",
"reopen": "Reopen", "reopen": "Reopen",
"report": "Report on", "report": "Report on",
"reports": "Reports", "reports": "Reports",
"resolve": "Resolve", "resolve": "Resolve",
"show_closed": "Show closed", "show_closed": "Show closed",
"statuses": "statuses", "statuses": "{ count } status | { count } statuses",
"tag_policy_notice": "Enable the TagPolicy MRF to set post restrictions", "tag_policy_notice": "Enable the TagPolicy MRF to set post restrictions",
"tags": "Set post restrictions" "tags": "Set post restrictions"
}, },