Skip to content

Commit

Permalink
1882: add translations
Browse files Browse the repository at this point in the history
  • Loading branch information
sinejespersen committed Aug 6, 2024
1 parent 8eaee14 commit 5c82d32
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/Domain/Tickets/Services/Tickets.php
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ public function getAllGrouped($searchCriteria): array
$statusLabels = $this->getStatusLabels($milestone->projectId);
$status = $statusLabels[$milestone->status]['name'];
$class = '" style="color:' . $color . '"';
$label = $ticket["milestoneHeadline"] . ", start: " . $startDate . ", slut: " . $endDate . ", status: " . $status . " <a href='#/tickets/editMilestone/" . $ticket["milestoneid"] . "' style='float:right;'><i class='fa fa-edit'></i></a><a>";
$label = $ticket["milestoneHeadline"] . ", " . $this->language->__("label.start") . ": " . $startDate . ", " . $this->language->__("label.end") . ": " . $endDate . ", " . $this->language->__("label.status_lowercase") . ": " . $status . " <a href='#/tickets/editMilestone/" . $ticket["milestoneid"] . "' style='float:right;'><i class='fa fa-edit'></i></a><a>";
}

break;
Expand Down
3 changes: 3 additions & 0 deletions app/Language/da-DK.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2446,3 +2446,6 @@ text.confirm_whiteboardgroup_deletion="Are you sure you would like to delete thi
notification.group_deleted="Group was deleted successfully"
label.calculating_progress="Calculating Progress..."

label.start="start"
label.end="slut"
label.status_lowercase="status"
4 changes: 4 additions & 0 deletions app/Language/en-US.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2517,3 +2517,7 @@ text.welcome_to_leantime_content = "<h1>Hi There 👋 </h1>We're excited to see
headlines.set_up_your_account = "Set up your account"
text.challenges_brings_you_here = "Tell us about the challenge that brings you here."
text.point_to_where_it_hurts = "🩺 Point to where it hurts"

label.start="start date"
label.end="end date"
label.status_lowercase="status"

0 comments on commit 5c82d32

Please sign in to comment.