Skip to content

Commit

Permalink
Textareas "Copy text to clipboard" is now translatable.
Browse files Browse the repository at this point in the history
Thanks to xet7 !
  • Loading branch information
xet7 committed Nov 26, 2021
1 parent 611af2d commit 5088c12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/components/cards/checklists.jade
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ template(name="checklistDeleteDialog")
button.toggle-delete-checklist-dialog(type="button") {{_ 'cancel'}}

template(name="addChecklistItemForm")
a.fa.fa-copy(title="copy text to clipboard")
a.fa.fa-copy(title="{{_ 'copy-text-to-clipboard'}}")
span.copied-tooltip {{_ 'copied'}}
textarea.js-add-checklist-item(rows='1' autofocus)
.edit-controls.clearfix
button.primary.confirm.js-submit-add-checklist-item-form(type="submit") {{_ 'save'}}
a.fa.fa-times-thin.js-close-inlined-form

template(name="editChecklistItemForm")
a.fa.fa-copy(title="copy text to clipboard")
a.fa.fa-copy(title="{{_ 'copy-text-to-clipboard'}}")
span.copied-tooltip {{_ 'copied'}}
textarea.js-edit-checklist-item(rows='1' autofocus dir="auto")
if $eq type 'item'
Expand Down
1 change: 1 addition & 0 deletions i18n/en.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@
"confirm-subtask-delete-dialog": "Are you sure you want to delete subtask?",
"confirm-checklist-delete-dialog": "Are you sure you want to delete checklist?",
"copy-card-link-to-clipboard": "Copy card link to clipboard",
"copy-text-to-clipboard": "Copy text to clipboard",
"linkCardPopup-title": "Link Card",
"searchElementPopup-title": "Search",
"copyCardPopup-title": "Copy Card",
Expand Down

0 comments on commit 5088c12

Please sign in to comment.