-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Description
- Gitea version (or commit ref): 1.12.3
- Git version:
- Operating system:
- Database (use
[x]):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist:
Description
After a pull request is added by a user and linked to an issue, the following reference is then described in the given format:
userreferenced a pull request that will close this issuetime of reference
A specific example would be:
qwertfisch referenced a pull request that will close this issue 1 week ago
Ways of reading
- The meaning of it, as I understand, is that a user has referenced a pull request 1 week ago, and this pull request will (at some other time in the future) close this issue.
- But the actual reading tells me that a user referenced a pull request, and this pull request will close this issue 1 week ago (which doesn’t make any sense, at least for me).
This is quite ambiguous. Even more so in German, which clearly is translated unambiguously by the second form (considering the position of the comma and the date inside the subordinate clause).
qwertfisch hat auf einen Pull Request verwiesen, welcher das Issue vor 1 Woche schließen wird
Unfortunately English does not enforce commas and also puts the date at the end of the sentence.
Screenshots
Possible solution
I am not sure if this is a definitive bug or just an ambiguous way of reading (for English). At least the German translation should be changed to not represent the second form semantically.
An umambiguous reading could be something like this:
qwertfisch has referenced a pull request 1 week ago, that will close this issue
This way only the part “has referenced a pull request” can be an href link, not the text “that will close this issue” after the date. This behaviour is already present at the incorrect German translation, where “schließen wird” (after the date) is just text, not an href.

