|
11 | 11 |
|
12 | 12 | <table class="preview" border="0" cellpadding="0" cellspacing="0"> |
13 | 13 | <tr> |
14 | | - <th>Name</th> |
15 | | - <th>Key</th> |
| 14 | + <th>{{ 'Name'|trans([], 'admin') }}</th> |
| 15 | + <th>{{ 'Key'|trans([], 'admin') }}</th> |
16 | 16 | {% if isImportPreview is defined %} |
17 | 17 | {% if isNew is defined %} |
18 | | - <th>New Object or unable to resolve</th> |
| 18 | + <th>{{ 'New Object or unable to resolve'|trans([], 'admin') }}</th> |
19 | 19 | {% else %} |
20 | | - <th>Before</th> |
21 | | - <th>After</th> |
| 20 | + <th>{{ 'Before'|trans([], 'admin') }}</th> |
| 21 | + <th>{{ 'After'|trans([], 'admin') }}</th> |
22 | 22 | {% endif %} |
23 | 23 | {% else %} |
24 | | - <th>Version 1</th> |
25 | | - <th>Version 2</th> |
| 24 | + <th>{{ 'Version'|trans([], 'admin') }} 1</th> |
| 25 | + <th>{{ 'Version'|trans([], 'admin') }} 2</th> |
26 | 26 | {% endif %} |
27 | 27 | </tr> |
28 | 28 | <tr class="system"> |
29 | | - <td>Date</td> |
| 29 | + <td>{{ 'Date'|trans([], 'admin') }}</td> |
30 | 30 | <td>modificationDate</td> |
31 | 31 | {% if isImportPreview is not defined or isNew is not defined %} |
32 | 32 | <td>{{ object1.getModificationDate()|date('Y-m-d H:i:s') }}</td> |
33 | 33 | {% endif %} |
34 | 34 | <td>{{ object2.getModificationDate()|date('Y-m-d H:i:s') }}</td> |
35 | 35 | </tr> |
36 | 36 | <tr class="system"> |
37 | | - <td>Path</td> |
| 37 | + <td>{{ 'Path'|trans([], 'admin') }}</td> |
38 | 38 | <td>path</td> |
39 | 39 | {% if isImportPreview is not defined or isNew is not defined %} |
40 | 40 | <td> {{ object1.getRealFullPath() }} </td> |
|
43 | 43 | <td class="{{ modifiedPathClass }}">{{ object2.getRealFullPath() }}</td> |
44 | 44 | </tr> |
45 | 45 | <tr class="system"> |
46 | | - <td>Published</td> |
| 46 | + <td>{{ 'Published'|trans([], 'admin') }}</td> |
47 | 47 | <td>published</td> |
48 | 48 | {% if isImportPreview is not defined or isNew is not defined %} |
49 | 49 | <td> {{ object1.getPublished() }} </td> |
|
53 | 53 | </tr> |
54 | 54 | {% if versionNote1 or versionNote2 %} |
55 | 55 | <tr class="system"> |
56 | | - <td>Version Note</td> |
| 56 | + <td>{{ 'Version Note'|trans([], 'admin') }}</td> |
57 | 57 | <td> </td> |
58 | 58 | <td>{{ versionNote1|nl2br }}</td> |
59 | 59 | <td>{{ versionNote2|nl2br }}</td> |
60 | 60 | </tr> |
61 | 61 | {% endif %} |
62 | 62 | <tr class="system"> |
63 | | - <td>Id</td> |
| 63 | + <td>{{ 'Id'|trans([], 'admin') }}</td> |
64 | 64 | <td>id</td> |
65 | 65 | {% if isImportPreview is not defined or isNew is not defined %} |
66 | 66 | <td> {{ object1.getId() }} </td> |
|
0 commit comments