Skip to content

Commit

Permalink
Merge pull request #537 from geichelberger/fix-embed-code-text
Browse files Browse the repository at this point in the history
Add size as variable to lang string
  • Loading branch information
ziegenberg authored Jun 4, 2024
2 parents 295a907 + 68fb8c2 commit 47057da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/components/events/partials/modals/EmbeddingCodeModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,8 @@ const EmbeddingCodeModal = ({
{showCopySuccess && (
<div className="copyConfirm">
<span id="copy_confirm_pre">
{t("CONFIRMATIONS.EMBEDDING_CODE")}
{t("CONFIRMATIONS.EMBEDDING_CODE",{size: currentSize})}
</span>
<span id="copy_confirm">{currentSize}</span>
</div>
)}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
}
},
"CONFIRMATIONS": {
"EMBEDDING_CODE": "Embedding code has been copied to the clipboard:",
"EMBEDDING_CODE": "Embedding code has been copied to the clipboard: {{ size }}",
"CONTINUE_ACTION": "Are you sure you want to continue?",
"METADATA": {
"NOTICE": {
Expand Down

0 comments on commit 47057da

Please sign in to comment.