Skip to content

Commit

Permalink
Merge pull request ItzDerock#181 from matteo0003/patch-1
Browse files Browse the repository at this point in the history
Update plural system to fit multiple languages
  • Loading branch information
ItzDerock authored Dec 1, 2024
2 parents dff1a51 + 2d6aca9 commit 39c52c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generator/transcript.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default async function DiscordMessages({ messages, channel, callbacks, ..
{options.footerText
? options.footerText
.replaceAll('{number}', messages.length.toString())
.replace('{s}', messages.length > 1 ? 's' : '')
.replaceAll('{s}', messages.length > 1 ? 's' : '')
: `Exported ${messages.length} message${messages.length > 1 ? 's' : ''}.`}{' '}
{options.poweredBy ? (
<span style={{ textAlign: 'center' }}>
Expand Down

0 comments on commit 39c52c4

Please sign in to comment.