From 0c4716b047bff067566ecbd5100a0ed971a8796b Mon Sep 17 00:00:00 2001 From: 0ko <0ko@noreply.codeberg.org> Date: Mon, 24 Jun 2024 20:18:27 +0500 Subject: [PATCH] Clarify author label in tooltip --- options/locale/locale_en-US.ini | 3 +- release-notes/8.0.0/4201.md | 1 + templates/repo/issue/view_content.tmpl | 2 +- .../repo/issue/view_content/comments.tmpl | 4 +- .../repo/issue/view_content/conversation.tmpl | 2 +- .../repo/issue/view_content/show_role.tmpl | 7 +- .../integration/issues_comment_labels_test.go | 143 ++++++++++++++++++ 7 files changed, 156 insertions(+), 6 deletions(-) create mode 100644 release-notes/8.0.0/4201.md create mode 100644 tests/integration/issues_comment_labels_test.go diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index b89ab0827..af8a95b22 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -1612,7 +1612,8 @@ issues.ref_closed_from = `closed this issue %[4]s reopened this issue %[4]s %[2]s` issues.ref_from = `from %[1]s` issues.author = Author -issues.author_helper = This user is the author. +issues.author.tooltip.issue = This user is the author of this issue. +issues.author.tooltip.pr = This user is the author of this pull request. issues.role.owner = Owner issues.role.owner_helper = This user is the owner of this repository. issues.role.member = Member diff --git a/release-notes/8.0.0/4201.md b/release-notes/8.0.0/4201.md new file mode 100644 index 000000000..ea2797f32 --- /dev/null +++ b/release-notes/8.0.0/4201.md @@ -0,0 +1 @@ +Make tooltip of Author label in comments more clear diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl index 9db480bca..543191e02 100644 --- a/templates/repo/issue/view_content.tmpl +++ b/templates/repo/issue/view_content.tmpl @@ -44,7 +44,7 @@ {{end}}