From 0208ea0248782a994771cadf0af6a4125fdde723 Mon Sep 17 00:00:00 2001 From: Mario Lubenka Date: Tue, 19 Oct 2021 19:32:11 +0200 Subject: "Copy branch name" button in pull request (#17323) * Drop data-original from clipboard data-original attribute was removed. Instead, the original value from data-content is set after success/fail message was displayed. Signed-off-by: Mario Lubenka * "Copy branch name" button in pull request Signed-off-by: Mario Lubenka * Update templates/repo/issue/view_title.tmpl Co-authored-by: silverwind * Apply suggestions from code review Co-authored-by: zeripath Co-authored-by: wxiaoguang Co-authored-by: silverwind Co-authored-by: zeripath --- options/locale/locale_en-US.ini | 3 +++ 1 file changed, 3 insertions(+) (limited to 'options') diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 407ec9f84e..22fe9ae2f8 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -927,6 +927,9 @@ star_guest_user = Sign in to star this repository. copy_link = Copy copy_link_success = Link has been copied copy_link_error = Use ⌘C or Ctrl-C to copy +copy_branch = Copy +copy_branch_success = Branch name has been copied +copy_branch_error = Use ⌘C or Ctrl-C to copy copied = Copied OK unwatch = Unwatch watch = Watch -- cgit v1.2.3