mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 14:07:52 +01:00
Fix modified due date message (#20388)
This commit is contained in:
parent
d6779c7ad3
commit
e519249266
@ -1420,7 +1420,7 @@ issues.due_date_form_remove = "Remove"
|
|||||||
issues.due_date_not_writer = "You need repository write access to update an issue's due date."
|
issues.due_date_not_writer = "You need repository write access to update an issue's due date."
|
||||||
issues.due_date_not_set = "No due date set."
|
issues.due_date_not_set = "No due date set."
|
||||||
issues.due_date_added = "added the due date %s %s"
|
issues.due_date_added = "added the due date %s %s"
|
||||||
issues.due_date_modified = "modified the due date to %s from %s %s"
|
issues.due_date_modified = "modified the due date from %[2]s to %[1]s %[3]s"
|
||||||
issues.due_date_remove = "removed the due date %s %s"
|
issues.due_date_remove = "removed the due date %s %s"
|
||||||
issues.due_date_overdue = "Overdue"
|
issues.due_date_overdue = "Overdue"
|
||||||
issues.due_date_invalid = "The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'."
|
issues.due_date_invalid = "The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'."
|
||||||
|
@ -340,7 +340,8 @@
|
|||||||
</a>
|
</a>
|
||||||
<span class="text grey">
|
<span class="text grey">
|
||||||
<a class="author" href="{{.Poster.HomeLink}}">{{.Poster.GetDisplayName}}</a>
|
<a class="author" href="{{.Poster.HomeLink}}">{{.Poster.GetDisplayName}}</a>
|
||||||
{{$.locale.Tr "repo.issues.due_date_modified" (.Content | ParseDeadline) $createdStr | Safe}}
|
{{$parsedDeadline := .Content | ParseDeadline}}
|
||||||
|
{{$.locale.Tr "repo.issues.due_date_modified" (index $parsedDeadline 0) (index $parsedDeadline 1) $createdStr | Safe}}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
{{else if eq .Type 18}}
|
{{else if eq .Type 18}}
|
||||||
|
Loading…
Reference in New Issue
Block a user