Bug 37762: (QA follow-up): Add translatability to missing strings
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
843513d8ff
commit
56d4be4cc2
|
|
@ -2,7 +2,7 @@
|
|||
<FormElement
|
||||
:resource="messageFilterOptions"
|
||||
:attr="{
|
||||
label: 'Show confirmations',
|
||||
label: $__('Show confirmations'),
|
||||
name: 'showConfirmationRows',
|
||||
type: 'checkbox',
|
||||
}"
|
||||
|
|
@ -10,10 +10,10 @@
|
|||
<table id="iso18626_messages">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Type</th>
|
||||
<th>Information</th>
|
||||
<th>Timestamp</th>
|
||||
<th>Content</th>
|
||||
<th>{{ $__("Type") }}</th>
|
||||
<th>{{ $__("Information") }}</th>
|
||||
<th>{{ $__("Timestamp") }}</th>
|
||||
<th>{{ $__("Content") }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
|
@ -43,7 +43,7 @@
|
|||
@click="openModal(message.content)"
|
||||
>
|
||||
<i class="fas fa-envelope" aria-hidden="true"></i>
|
||||
View message
|
||||
{{ $__("View message") }}
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -54,6 +54,7 @@
|
|||
<script>
|
||||
import FormElement from "../FormElement.vue";
|
||||
import { inject, ref, computed } from "vue";
|
||||
import { $__ } from "@koha-vue/i18n";
|
||||
|
||||
export default {
|
||||
props: {
|
||||
|
|
@ -93,10 +94,10 @@ export default {
|
|||
? parsedMessage?.messageInfo?.reasonForMessage
|
||||
: null;
|
||||
if (message_data !== null) {
|
||||
message_data = "Reason: " + message_data;
|
||||
message_data = $__("Reason: %s").format(message_data);
|
||||
}
|
||||
} else {
|
||||
message_data = "Action: " + message_data;
|
||||
message_data = $__("Action: %s").format(message_data);
|
||||
}
|
||||
return message_data;
|
||||
};
|
||||
|
|
@ -108,7 +109,7 @@ export default {
|
|||
generateCollapsibleTabs(messageObj, container);
|
||||
const message_type = Object.keys(JSON.parse(message))[0];
|
||||
setConfirmationDialog({
|
||||
title: `ISO18626 message: ${message_type}`,
|
||||
title: $__("ISO18626 message: %s").format(message_type),
|
||||
message: container.outerHTML,
|
||||
size: "modal-lg",
|
||||
});
|
||||
|
|
|
|||
|
|
@ -60,8 +60,8 @@ export default {
|
|||
{
|
||||
name: "patron_id",
|
||||
type: "patronAutoComplete",
|
||||
label: __("ILL partner"),
|
||||
placeholder: __("Search for an ILL partner"),
|
||||
label: $__("ILL partner"),
|
||||
placeholder: $__("Search for an ILL partner"),
|
||||
patronAutoCompleteOptions: {
|
||||
"additional-filters": {
|
||||
"me.category_id": config.settings.ILLPartnerCode,
|
||||
|
|
@ -86,15 +86,15 @@ export default {
|
|||
options: [
|
||||
{
|
||||
value: "DNUCNI",
|
||||
description: __("DNUCNI"),
|
||||
description: $__("DNUCNI"),
|
||||
},
|
||||
{
|
||||
value: "ICOLC",
|
||||
description: __("ICOLC"),
|
||||
description: $__("ICOLC"),
|
||||
},
|
||||
{
|
||||
value: "ISIL",
|
||||
description: __("ISIL"),
|
||||
description: $__("ISIL"),
|
||||
},
|
||||
],
|
||||
requiredKey: "value",
|
||||
|
|
|
|||
|
|
@ -297,23 +297,23 @@ export default {
|
|||
options: [
|
||||
{
|
||||
value: "USD",
|
||||
description: __("USD"),
|
||||
description: $__("USD"),
|
||||
},
|
||||
{
|
||||
value: "EUR",
|
||||
description: __("EUR"),
|
||||
description: $__("EUR"),
|
||||
},
|
||||
{
|
||||
value: "GBP",
|
||||
description: __("GBP"),
|
||||
description: $__("GBP"),
|
||||
},
|
||||
{
|
||||
value: "AUD",
|
||||
description: __("AUD"),
|
||||
description: $__("AUD"),
|
||||
},
|
||||
{
|
||||
value: "SEK",
|
||||
description: __("SEK"),
|
||||
description: $__("SEK"),
|
||||
},
|
||||
],
|
||||
requiredKey: "value",
|
||||
|
|
@ -525,15 +525,15 @@ export default {
|
|||
//TODO: Only show the 2 options that dont match current resource's service_type
|
||||
{
|
||||
value: "Copy",
|
||||
description: __("Copy"),
|
||||
description: $__("Copy"),
|
||||
},
|
||||
{
|
||||
value: "CopyOrLoan",
|
||||
description: __("CopyOrLoan"),
|
||||
description: $__("CopyOrLoan"),
|
||||
},
|
||||
{
|
||||
value: "Loan",
|
||||
description: __("Loan"),
|
||||
description: $__("Loan"),
|
||||
},
|
||||
],
|
||||
requiredKey: "value",
|
||||
|
|
@ -929,10 +929,10 @@ export default {
|
|||
},
|
||||
showGroupsDisplayMode: "splitScreen",
|
||||
splitScreenGroupings: [
|
||||
{ name: "Request details", pane: 1 },
|
||||
{ name: "ISO18626 Messages", pane: 1 },
|
||||
{ name: "Circulation information", pane: 2 },
|
||||
{ name: "Specified by the requesting agency", pane: 2 },
|
||||
{ name: $__("Request details"), pane: 1 },
|
||||
{ name: $__("ISO18626 Messages"), pane: 1 },
|
||||
{ name: $__("Circulation information"), pane: 2 },
|
||||
{ name: $__("Specified by the requesting agency"), pane: 2 },
|
||||
],
|
||||
resourceAttrs: [
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue