Skip to content

Commit

Permalink
Add size as variable to lang string
Browse files Browse the repository at this point in the history
  • Loading branch information
geichelberger committed Jun 4, 2024
1 parent df844de commit 68fb8c2
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 68fb8c2

Please sign in to comment.