From 5088c122536e13b44cf2fdbcfabeefd00cee332e Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Fri, 26 Nov 2021 02:07:00 +0200 Subject: [PATCH] Textareas "Copy text to clipboard" is now translatable. Thanks to xet7 ! --- client/components/cards/checklists.jade | 4 ++-- i18n/en.i18n.json | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/client/components/cards/checklists.jade b/client/components/cards/checklists.jade index b27a771db..5a6364f07 100644 --- a/client/components/cards/checklists.jade +++ b/client/components/cards/checklists.jade @@ -63,7 +63,7 @@ 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 @@ -71,7 +71,7 @@ template(name="addChecklistItemForm") 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' diff --git a/i18n/en.i18n.json b/i18n/en.i18n.json index d35ff6590..01aeb8f68 100644 --- a/i18n/en.i18n.json +++ b/i18n/en.i18n.json @@ -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",