Skip to content

Commit 3adf1c7

Browse files
Add missing messages to investigation PDFs
1 parent eb54ac0 commit 3adf1c7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

resources/lang/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@
233233
"toast-submitted": "has been submitted successfully!",
234234
"toast-updated": "has been updated successfully!",
235235
"topic": "Topic",
236+
"unassigned": "[Unassigned]",
236237
"user-flags": "User Access",
237238
"user-flags-modify": "Modify Access for",
238239
"user-flags-none": "No access flags",

resources/views/investigation/pdf.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<meta charset="utf-8">
5-
<title>Investigation #{{ $investigation->id }}</title>
5+
<title>{{ __( 'investigation' ) }} #{{ $investigation->id }}</title>
66
<style>
77
body {
88
font-family: DejaVu Sans, sans-serif;
@@ -104,7 +104,7 @@
104104
<table>
105105
<tr>
106106
<td class="label">{{ __( 'assigned' ) }}:</td>
107-
<td>{{ $investigation->assigned?->username ?? '[Unassigned]' }}</td>
107+
<td>{{ $investigation->assigned?->username ?? __( 'unassigned' ) }}</td>
108108
</tr>
109109
<tr>
110110
<td class="label">{{ __( 'status' ) }}:</td>

0 commit comments

Comments
 (0)