View | Details | Raw Unified | Return to bug 41178
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/SIP2/SIP2InstitutionResource.vue (-1 / +1 lines)
Lines 162-168 export default { Link Here
162
            });
162
            });
163
163
164
            if (accounts.length > 0) {
164
            if (accounts.length > 0) {
165
                baseResource.i18n.deleteConfirmationMessage = $__(
165
                baseResource.i18n.deleteConfirmationBody = $__(
166
                    "You're removing institution %s. <br> It has %s associated accounts (%s), which will also be removed. Are you sure?"
166
                    "You're removing institution %s. <br> It has %s associated accounts (%s), which will also be removed. Are you sure?"
167
                ).format(
167
                ).format(
168
                    resource.name,
168
                    resource.name,
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/SkeletonResource.vue (+3 lines)
Lines 88-93 export default { Link Here
88
                deleteConfirmationMessage: $__(
88
                deleteConfirmationMessage: $__(
89
                    "Are you sure you want to remove this skeleton?"
89
                    "Are you sure you want to remove this skeleton?"
90
                ),
90
                ),
91
                deleteConfirmationBody: $__(
92
                    null // "Optional - Dialog content body when deleting a resource. Defaults to resource's nameAttr value"
93
                ),
91
                deleteSuccessMessage: $__("Skeleton %s deleted"),
94
                deleteSuccessMessage: $__("Skeleton %s deleted"),
92
                displayName: $__("Skeleton"),
95
                displayName: $__("Skeleton"),
93
                editLabel: $__("Edit skeleton #%s"),
96
                editLabel: $__("Edit skeleton #%s"),
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/composables/base-resource.js (-2 / +3 lines)
Lines 262-268 export function useBaseResource(resourceConfig) { Link Here
262
            setConfirmationDialog(
262
            setConfirmationDialog(
263
                {
263
                {
264
                    title: i18n.deleteConfirmationMessage,
264
                    title: i18n.deleteConfirmationMessage,
265
                    message: resourceName,
265
                    message: i18n.deleteConfirmationBody
266
                        ? i18n.deleteConfirmationBody
267
                        : resourceName,
266
                    accept_label: $__("Yes, delete"),
268
                    accept_label: $__("Yes, delete"),
267
                    cancel_label: $__("No, do not delete"),
269
                    cancel_label: $__("No, do not delete"),
268
                },
270
                },
269
- 

Return to bug 41178