Skip to content
Snippets Groups Projects
Unverified Commit 458669de authored by Tim Macdonald's avatar Tim Macdonald Committed by GitHub
Browse files

Use i18n-appropriate string interpolation for card copying (#47652)

Come to find out languages like Turkish put the `X` first in "Copy of
`X`"
parent 7c25508a
No related branches found
No related tags found
No related merge requests found
......@@ -495,7 +495,7 @@
[id]
{id [:maybe ms/PositiveInt]}
(let [orig-card (api/read-check Card id)
new-name (str (trs "Copy of ") (:name orig-card))
new-name (trs "Copy of {0}" (:name orig-card))
new-card (assoc orig-card :name new-name)]
(-> (card/create-card! new-card @api/*current-user*)
hydrate-card-details
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment