|
1 | 1 | <template> |
2 | 2 | <div> |
3 | | - <h2>{{ $root.operation }} Process: <span class="text-capitalize">{{ processName }}</span></h2> |
| 3 | + <h2>{{ $t($root.operation) }} {{ $t('Process') }}: <span class="text-capitalize">{{ processName }}</span></h2> |
4 | 4 | <hr> |
5 | 5 | <div class="mb-2"> |
6 | | - <h4>Summary</h4> |
| 6 | + <h4>{{ $t('Summary') }}</h4> |
7 | 7 | </div> |
8 | 8 | <div class="mb-2"> |
9 | 9 | <ul v-if="processInfo" class="process-summary mb-2"> |
10 | | - <li> Description: <span class="fw-semibold">{{ processInfo.description }}</span></li> |
11 | | - <li> Categories: <span class="fw-semibold">{{ processInfo.categories }}</span></li> |
12 | | - <li> Process Manager: |
| 10 | + <li>{{ $t('Description') }}: <span class="fw-semibold">{{ processInfo.description }}</span></li> |
| 11 | + <li>{{ $t('Categories') }}: <span class="fw-semibold">{{ processInfo.categories }}</span></li> |
| 12 | + <li>{{ $t('Process Manager') }}: |
13 | 13 | <span class="fw-semibold"> |
14 | 14 | <b-link v-if="processInfo.processManagerId" |
15 | 15 | :href="`/profile/${processInfo.processManagerId}`" |
16 | 16 | target="_blank">{{ processInfo.processManager }}</b-link> |
17 | 17 | <span v-else>{{ processInfo.processManager }}</span> |
18 | 18 | </span> |
19 | 19 | </li> |
20 | | - <li> Created: <span class="fw-semibold">{{ processInfo.created_at }}</span></li> |
21 | | - <li> Last Modified: |
22 | | - <span class="fw-semibold">{{ processInfo.updated_at }}</span> |
23 | | - By: |
| 20 | + <li>{{ $t('Created') }}: <span class="fw-semibold">{{ processInfo.created_at }}</span></li> |
| 21 | + <li>{{ $t('Last Modified') }}: |
| 22 | + <span class="fw-semibold">{{ processInfo.updated_at }}</span> |
| 23 | + {{ $t('By') }}: |
24 | 24 | <span class="fw-semibold"> |
25 | 25 | <b-link v-if="processInfo.lastModifiedById" |
26 | 26 | :href="`/profile/${processInfo.lastModifiedById}`" |
|
47 | 47 | stacked |
48 | 48 | :disabled="$root.forcePasswordProtect" |
49 | 49 | > |
50 | | - Password Protect Export |
51 | | - <b-form-text class="process-options-helper-text">Define a password to protect your export file.</b-form-text> |
| 50 | + {{ $t('Password Protect Export') }} |
| 51 | + <b-form-text class="process-options-helper-text">{{ $t('Define a password to protect your export file.') }}</b-form-text> |
52 | 52 | <small v-if="$root.forcePasswordProtect" class="text-danger"> |
53 | | - Password protect is required because some assets may have sensitive data. |
| 53 | + {{ $t('Password protect is required because some assets may have sensitive data.') }} |
54 | 54 | </small> |
55 | 55 | </b-form-checkbox> |
56 | 56 | <b-form-checkbox |
|
59 | 59 | class="fw-semibold" |
60 | 60 | stacked |
61 | 61 | > |
62 | | - {{ $root.operation }} All Process elements |
63 | | - <b-form-text v-if="$root.operation === 'Export'" class="process-options-helper-text">Include all elements related to this process in your export file.</b-form-text> |
| 62 | + {{ $t($root.operation) }} {{ $t('All Process Elements') }} |
| 63 | + <b-form-text v-if="$root.operation === 'Export'" class="process-options-helper-text">{{ $t('Include all elements related to this process in your export file.') }}</b-form-text> |
64 | 64 | <b-form-text v-else class="process-options-helper-text">{{ $t('All elements related to this process will be imported.') }}</b-form-text> |
65 | 65 | </b-form-checkbox> |
66 | 66 | </b-form-group> |
67 | 67 | </div> |
68 | 68 | <hr> |
69 | 69 | <div class="pb-2" v-if="groups.length === 0"> |
70 | | - <p class="fw-semibold"> This process contains no dependent assets to {{ $root.operation.toLowerCase() }}. </p> |
| 70 | + <p class="fw-semibold">{{ $t('This process contains no dependent assets to') }} {{ $t($root.operation.toLowerCase()) }}.</p> |
71 | 71 | </div> |
72 | 72 | <div v-for="group in groups" :key="group.type"> |
73 | 73 | <data-card v-if="!group.hidden" :info="group" :isEnabled="$root.hasSomeNotDiscardedByParent(group.items)" :class="!$root.hasSomeNotDiscardedByParent(group.items) ? 'card-disabled' : ''"/> |
@@ -284,6 +284,7 @@ export default { |
284 | 284 |
|
285 | 285 | .process-summary { |
286 | 286 | padding-left: 0; |
| 287 | + list-style: none; |
287 | 288 | } |
288 | 289 |
|
289 | 290 | .process-options-helper-text { |
|
0 commit comments