forked from forgejo/forgejo
[GITEA] Use correct translations for pull request
- When a commit references a pull request, the detail strings should
reflect that. Add a new translation string for the pull request.
- Added integration tests.
- Resolves #2256
(cherry picked from commit 0d054cd4d9
)
This commit is contained in:
parent
b26d037c62
commit
361617eea0
4 changed files with 50 additions and 1 deletions
17
tests/integration/fixtures/TestCommitRefComment/comment.yml
Normal file
17
tests/integration/fixtures/TestCommitRefComment/comment.yml
Normal file
|
@ -0,0 +1,17 @@
|
|||
-
|
||||
id: 1000
|
||||
type: 4 # commit ref
|
||||
poster_id: 2
|
||||
issue_id: 2 # in repo_id 2
|
||||
content: 4a357436d925b5c974181ff12a994538ddc5a269
|
||||
created_unix: 1706469348
|
||||
updated_unix: 1706469348
|
||||
|
||||
-
|
||||
id: 1001
|
||||
type: 4 # commit ref
|
||||
poster_id: 2
|
||||
issue_id: 1 # in repo_id 2
|
||||
content: 4a357436d925b5c974181ff12a994538ddc5a269
|
||||
created_unix: 1706469348
|
||||
updated_unix: 1706469348
|
Loading…
Add table
Add a link
Reference in a new issue