Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a 'this' to issue close/reopened messages #11204

Merged
merged 4 commits into from
Apr 30, 2020

Conversation

silverwind
Copy link
Member

@silverwind silverwind commented Apr 24, 2020

Change english message on issue closure/reopen from <user> closed now to <user> closed this now to match GitHub.

Is it sufficient like this for other locales to eventually be updated as well?

@silverwind silverwind changed the title add a 'this' to issue close/reopened messages Add a 'this' to issue close/reopened messages Apr 24, 2020
@guillep2k
Copy link
Member

For better adaptability we could have separate messages for PRs.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Apr 25, 2020
@silverwind
Copy link
Member Author

Hmm, I think I still have a slight preference for the shorter closed this now vs. closed this issue now.

@guillep2k
Copy link
Member

Hmm, I think I still have a slight preference for the shorter closed this now vs. closed this issue now.

I don't mean the messages should be different in English, only that they should have different entries in case other languages require e.g. gender diferentiation.

@silverwind
Copy link
Member Author

Updated as suggested:

image

image

@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Apr 29, 2020
@lafriks lafriks added the topic/ui Change the appearance of the Gitea UI label Apr 30, 2020
@lafriks lafriks added this to the 1.12.0 milestone Apr 30, 2020
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Apr 30, 2020
@codecov-io
Copy link

Codecov Report

Merging #11204 into master will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #11204      +/-   ##
==========================================
+ Coverage   43.29%   43.30%   +0.01%     
==========================================
  Files         605      605              
  Lines       86246    86246              
==========================================
+ Hits        37340    37352      +12     
+ Misses      44305    44298       -7     
+ Partials     4601     4596       -5     
Impacted Files Coverage Δ
services/pull/check.go 55.48% <0.00%> (-1.22%) ⬇️
modules/queue/workerpool.go 56.93% <0.00%> (-1.07%) ⬇️
modules/log/event.go 64.61% <0.00%> (-1.03%) ⬇️
models/repo.go 52.27% <0.00%> (+0.12%) ⬆️
models/issue.go 52.10% <0.00%> (+0.46%) ⬆️
modules/notification/webhook/webhook.go 40.20% <0.00%> (+0.58%) ⬆️
services/pull/pull.go 34.16% <0.00%> (+0.76%) ⬆️
services/pull/patch.go 67.83% <0.00%> (+2.09%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d0e7361...70274f8. Read the comment docs.

@zeripath
Copy link
Contributor

make lg-tm work

@zeripath zeripath merged commit 28e5e7f into go-gitea:master Apr 30, 2020
@silverwind silverwind deleted the closed branch April 30, 2020 14:28
ydelafollye pushed a commit to ydelafollye/gitea that referenced this pull request Jul 31, 2020
* add a 'this' to issue close/reopened messages

* add 'this issue/pull request' and create new localization entries

Co-authored-by: Lauris BH <[email protected]>
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. topic/ui Change the appearance of the Gitea UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants