Skip to content

Commit

Permalink
fix: use correct prop in i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
jenniferarnesen committed Dec 16, 2024
1 parent c5eb94a commit 0c5f5e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions i18n/en.pot
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"POT-Creation-Date: 2024-12-13T09:34:43.221Z\n"
"PO-Revision-Date: 2024-12-13T09:34:43.221Z\n"
"POT-Creation-Date: 2024-12-16T16:09:05.449Z\n"
"PO-Revision-Date: 2024-12-16T16:09:05.450Z\n"

msgid "Untitled dashboard"
msgstr "Untitled dashboard"
Expand Down Expand Up @@ -490,6 +490,9 @@ msgstr "No, cancel"
msgid "Yes, remove filters"
msgstr "Yes, remove filters"

msgid "{{name}} filter applied: {{filter}}"
msgstr "{{name}} filter applied: {{filter}}"

msgid "{{count}} filters active"
msgid_plural "{{count}} filters active"
msgstr[0] "{{count}} filter active"
Expand Down
2 changes: 1 addition & 1 deletion src/pages/view/SlideshowFiltersInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const SlideshowFiltersInfo = () => {
filterMessage = i18n.t('{{name}} filter applied: {{filter}}', {
name: filters[0].name,
filter: filters[0].values[0].name,
namespaceSeparator: '>',
nsSeparator: '>',
})
}

Expand Down

0 comments on commit 0c5f5e8

Please sign in to comment.