|
34 | 34 | <div class="card-header"> |
35 | 35 | <h4 class="card-title d-flex align-items-center"> |
36 | 36 | <i class="ti ti-file-type-pdf me-2 text-danger"></i> |
37 | | - {{ __s('%1$s: %2$s')|format(__s('Choose the tables to print in pdf', 'pdf'), item_type_name) }} |
| 37 | + {{ __('%1$s: %2$s')|format(__('Choose the tables to print in pdf', 'pdf'), item_type_name) }} |
38 | 38 | </h4> |
39 | 39 | </div> |
40 | 40 |
|
41 | 41 | <div class="card-body"> |
42 | 42 | {% if debug_mode %} |
43 | 43 | <div class="alert alert-info mb-3"> |
44 | 44 | <i class="ti ti-info-circle me-2"></i> |
45 | | - {{ __s('Debug mode enabled - showing internal references') }} |
| 45 | + {{ __('Debug mode enabled - showing internal references') }} |
46 | 46 | </div> |
47 | 47 | {% endif %} |
48 | 48 |
|
|
51 | 51 | <fieldset class="border p-3 mb-3 rounded"> |
52 | 52 | <legend class="fs-6 fw-bold mb-3 px-2"> |
53 | 53 | <i class="ti ti-table me-1"></i> |
54 | | - {{ __s('Available tables', 'pdf') }} |
| 54 | + {{ __('Available tables', 'pdf') }} |
55 | 55 | </legend> |
56 | 56 |
|
57 | 57 | <div class="mb-3 d-flex flex-wrap gap-2"> |
58 | 58 | <button type="button" class="btn btn-sm btn-outline-success" onclick="selectAllCheckboxes('{{ form_id }}')"> |
59 | 59 | <i class="ti ti-check me-1"></i> |
60 | | - {{ __s('Check all') }} |
| 60 | + {{ __('Check all') }} |
61 | 61 | </button> |
62 | 62 | <button type="button" class="btn btn-sm btn-outline-secondary" onclick="selectNoCheckboxes('{{ form_id }}')"> |
63 | 63 | <i class="ti ti-x me-1"></i> |
64 | | - {{ __s('Uncheck all') }} |
| 64 | + {{ __('Uncheck all') }} |
65 | 65 | </button> |
66 | 66 | <small class="text-muted d-flex align-items-center ms-auto"> |
67 | 67 | <i class="ti ti-info-circle me-1"></i> |
68 | | - {{ __s('Select tables to include in PDF export', 'pdf') }} |
| 68 | + {{ __('Select tables to include in PDF export', 'pdf') }} |
69 | 69 | </small> |
70 | 70 | </div> |
71 | 71 |
|
|
99 | 99 | <div class="mb-3"> |
100 | 100 | <label for="page_{{ form_id }}" class="form-label"> |
101 | 101 | <i class="ti ti-rotate me-1"></i> |
102 | | - {{ __s('Page orientation', 'pdf') }} |
| 102 | + {{ __('Page orientation', 'pdf') }} |
103 | 103 | </label> |
104 | 104 | <select name="page" id="page_{{ form_id }}" class="form-select"> |
105 | 105 | <option value="0" {{ not landscape ? 'selected' : '' }}> |
106 | 106 | <i class="ti ti-rectangle-vertical"></i> |
107 | | - {{ __s('Portrait', 'pdf') }} |
| 107 | + {{ __('Portrait', 'pdf') }} |
108 | 108 | </option> |
109 | 109 | <option value="1" {{ landscape ? 'selected' : '' }}> |
110 | 110 | <i class="ti ti-rectangle"></i> |
111 | | - {{ __s('Landscape', 'pdf') }} |
| 111 | + {{ __('Landscape', 'pdf') }} |
112 | 112 | </option> |
113 | 113 | </select> |
114 | 114 | </div> |
|
119 | 119 | <div class="mb-3"> |
120 | 120 | <label class="form-label"> |
121 | 121 | <i class="ti ti-list-numbers me-1"></i> |
122 | | - {{ __s('Display (number of items)') }} |
| 122 | + {{ __('Display (number of items)') }} |
123 | 123 | </label> |
124 | 124 | <div class="dropdown-container"> |
125 | 125 | {{ call('Dropdown::showListLimit', [ |
|
136 | 136 | <div class="card-footer d-flex justify-content-between align-items-center"> |
137 | 137 | <div class="text-muted d-flex align-items-center"> |
138 | 138 | <i class="ti ti-info-circle me-1"></i> |
139 | | - <span>{{ __s('Total options: %d')|format(options|length) }}</span> |
| 139 | + <span>{{ __('Total options: %d')|format(options|length) }}</span> |
140 | 140 | <span class="ms-2">| |
141 | | - {{ __s('Selected:') }} |
| 141 | + {{ __('Selected:') }} |
142 | 142 | <span id="selected-count-{{ form_id }}">{{ values|length }}</span> |
143 | 143 | </span> |
144 | 144 | </div> |
|
152 | 152 | <input type="hidden" name="itemID" value="{{ item_id }}"> |
153 | 153 | <button type="submit" name="generate" class="btn btn-primary"> |
154 | 154 | <i class="ti ti-printer me-2"></i> |
155 | | - {{ __s('Print', 'pdf') }} |
| 155 | + {{ __('Print', 'pdf') }} |
156 | 156 | </button> |
157 | 157 | {% else %} |
158 | 158 | <button type="submit" name="plugin_pdf_user_preferences_save" class="btn btn-primary"> |
159 | 159 | <i class="ti ti-device-floppy me-2"></i> |
160 | | - {{ __s('Save') }} |
| 160 | + {{ __('Save') }} |
161 | 161 | </button> |
162 | 162 | {% endif %} |
163 | 163 | </div> |
|
0 commit comments