diff --git a/CHANGELOG.md b/CHANGELOG.md index d3504950b..398846151 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,12 @@ * Edit instance success toast no longer shows the instance HRID. Fixes UIIN-2588. * Show facet options, if they exist, after clicking the +More button. Refs UIIN-2533. * If Shared & Held by facets were selected in the Browse search, then retain them in the Search lookup after clicking the record. Refs UIIN-2608. +* Instance. Series heading has vanished in detailed view. Fixes UIIN-2601. +* Remove error message after switch from Instance Edit screen to another app. Fixes UIIN-2600. +* Enable/disable consortial holdings/item actions based on User permissions. Refs UIIN-2452. +* User receives an error when searching for an item in the Inventory app. Fixes UIIN-2634. +* Create new instance success toast no longer shows the instance HRID. Fixes UIIN-2635. +* Optimistic locking message not working for instances in non-consortial tenant. Fixes UIIN-2628. * Enable/disable consortial holdings/item actions based on User permissions. Refs UIIN-2452. ## [10.0.0](https://github.com/folio-org/ui-inventory/tree/v10.0.0) (2023-10-13) diff --git a/src/Instance/InstanceDetails/ConsortialHoldings/ConsortialHoldings.js b/src/Instance/InstanceDetails/ConsortialHoldings/ConsortialHoldings.js index fabf873f5..eb89596b3 100644 --- a/src/Instance/InstanceDetails/ConsortialHoldings/ConsortialHoldings.js +++ b/src/Instance/InstanceDetails/ConsortialHoldings/ConsortialHoldings.js @@ -26,20 +26,13 @@ const ConsortialHoldings = ({ instance, userTenantPermissions, }) => { - const stripes = useStripes(); + const pathToAccordion = ['consortialHoldings', '_state']; const instanceId = instance?.id; - const prevInstanceId = useRef(instanceId); + const stripes = useStripes(); + const prevInstanceId = useRef(instanceId); const { consortiaTenantsById } = useContext(DataContext); - const { tenants } = useSearchForShadowInstanceTenants({ instanceId }); - - const memberTenants = tenants - .map(tenant => consortiaTenantsById[tenant.id]) - .filter(tenant => !tenant?.isCentral && (tenant?.id !== stripes.okapi.tenant)) - .sort((a, b) => a.name.localeCompare(b.name)); - - const pathToAccordion = ['consortialHoldings', '_state']; const [isConsortialAccOpen, setConsortialAccOpen] = useHoldingsAccordionState({ instanceId, pathToAccordion }); useEffect(() => { @@ -49,6 +42,13 @@ const ConsortialHoldings = ({ } }, [instanceId]); + if (!consortiaTenantsById) return null; + + const memberTenants = tenants + .map(tenant => consortiaTenantsById[tenant.id]) + .filter(tenant => !tenant?.isCentral && (tenant?.id !== stripes.okapi.tenant)) + .sort((a, b) => a.name.localeCompare(b.name)); + return ( { const precedingTitles = useMemo(() => { return checkIfArrayIsEmpty(instance.precedingTitles); - }, [instance]); + }, [instance.precedingTitles]); const succeedingTitles = useMemo(() => { return checkIfArrayIsEmpty(instance.succeedingTitles); - }, [instance]); + }, [instance.succeedingTitles]); + const seriesStatements = useMemo(() => { + return checkIfArrayIsEmpty(instance.series); + }, [instance.series]); return ( diff --git a/src/Instance/InstanceEdit/InstanceEdit.js b/src/Instance/InstanceEdit/InstanceEdit.js index ed10ba12c..4eb34cae4 100644 --- a/src/Instance/InstanceEdit/InstanceEdit.js +++ b/src/Instance/InstanceEdit/InstanceEdit.js @@ -72,22 +72,20 @@ const InstanceEdit = ({ }, [callout, goBack]); const onError = async error => { - const parsedError = await parseHttpError(error); + const response = await error.response; + const parsedError = await parseHttpError(response); setHttpError(parsedError); }; const isMemberTenant = checkIfUserInMemberTenant(stripes); const tenantId = (isMemberTenant && instance?.shared) ? stripes.user.user.consortium.centralTenantId : stripes.okapi.tenant; - const { mutateInstance } = useInstanceMutation({ - options: { onSuccess, onError }, - tenantId, - }); + const { mutateInstance } = useInstanceMutation({ tenantId }); const onSubmit = useCallback((initialInstance) => { const updatedInstance = marshalInstance(initialInstance, identifierTypesByName); - return mutateInstance(updatedInstance); + return mutateInstance(updatedInstance, { onSuccess, onError }); }, [mutateInstance]); if (isInstanceLoading) return ; diff --git a/src/ViewHoldingsRecord.js b/src/ViewHoldingsRecord.js index 35c0bc150..8684f4f6d 100644 --- a/src/ViewHoldingsRecord.js +++ b/src/ViewHoldingsRecord.js @@ -479,9 +479,10 @@ class ViewHoldingsRecord extends React.Component { referenceTables, goTo, stripes, - location: { state: { tenantFrom } }, + location, } = this.props; const { instance } = this.state; + const tenantFrom = location?.state?.tenantFrom || stripes.okapi.tenant; if (this.isAwaitingResource()) return ; diff --git a/src/ViewInstance.js b/src/ViewInstance.js index 3aa636308..beeed1f4d 100644 --- a/src/ViewInstance.js +++ b/src/ViewInstance.js @@ -960,9 +960,9 @@ class ViewInstance extends React.Component { - {this.state.afterCreate && + {this.state.afterCreate && !isEmpty(instance) && } + message={} /> } diff --git a/src/components/InstancesList/InstancesList.js b/src/components/InstancesList/InstancesList.js index afe57ce1e..49a468b63 100644 --- a/src/components/InstancesList/InstancesList.js +++ b/src/components/InstancesList/InstancesList.js @@ -16,6 +16,7 @@ import { import saveAs from 'file-saver'; import moment from 'moment'; import classnames from 'classnames'; +import { stringify } from 'query-string'; import { Pluggable, @@ -134,6 +135,7 @@ class InstancesList extends React.Component { }), stripes: PropTypes.object.isRequired, history: PropTypes.shape({ + push: PropTypes.func, listen: PropTypes.func, replace: PropTypes.func, }), @@ -956,8 +958,9 @@ class InstancesList extends React.Component { const { parentResources, parentMutator: { itemsByQuery }, - goTo, getParams, + stripes, + history, } = this.props; const { query, qindex } = parentResources?.query ?? {}; const { searchInProgress } = this.state; @@ -973,7 +976,10 @@ class InstancesList extends React.Component { } itemsByQuery.reset(); - const items = await itemsByQuery.GET({ params: { query: itemQuery } }); + const items = await itemsByQuery.GET({ + params: { query: itemQuery }, + tenant: stripes.okapi.tenant, + }); this.setState({ searchInProgress: false }); @@ -984,7 +990,13 @@ class InstancesList extends React.Component { } const { id, holdingsRecordId } = items[0]; - goTo(`/inventory/view/${instance.id}/${holdingsRecordId}/${id}`, getParams()); + const search = stringify(getParams()); + + history.push({ + pathname: `/inventory/view/${instance.id}/${holdingsRecordId}/${id}`, + search, + state: { tenantTo: stripes.okapi.tenant }, + }); return null; } diff --git a/src/components/InstancesList/InstancesList.test.js b/src/components/InstancesList/InstancesList.test.js index ea5f0f3d3..2c88470d9 100644 --- a/src/components/InstancesList/InstancesList.test.js +++ b/src/components/InstancesList/InstancesList.test.js @@ -559,6 +559,7 @@ describe('InstancesList', () => { params: { query: `${option}=="${_query}"`, }, + tenant: 'diku', }); }); }); diff --git a/src/edit/InstanceForm.js b/src/edit/InstanceForm.js index 7556f02c3..ab7ae30b2 100644 --- a/src/edit/InstanceForm.js +++ b/src/edit/InstanceForm.js @@ -341,7 +341,7 @@ class InstanceForm extends React.Component { }), ) : []; - const statisticalCodeOptions = referenceTables.statisticalCodes + const statisticalCodeOptions = referenceTables.statisticalCodes ? referenceTables.statisticalCodes .map( code => ({ label: refLookup(referenceTables.statisticalCodeTypes, code.statisticalCodeTypeId).name + ': ' + code.code + ' - ' + code.name, @@ -349,7 +349,7 @@ class InstanceForm extends React.Component { selected: code.id === initialValues.statisticalCodeId, }) ) - .sort((a, b) => a.label.localeCompare(b.label)); + .sort((a, b) => a.label.localeCompare(b.label)) : []; // Since preceding/succeeding title relationships are split out from other parent/child instances, // we don't want the type selection box for parent/child to include the preceding-succeeding type diff --git a/src/hooks/useInstanceMutation/useInstanceMutation.js b/src/hooks/useInstanceMutation/useInstanceMutation.js index 7ed3c2af3..082e4548b 100644 --- a/src/hooks/useInstanceMutation/useInstanceMutation.js +++ b/src/hooks/useInstanceMutation/useInstanceMutation.js @@ -5,18 +5,18 @@ import { useTenantKy } from '../../common'; const useInstanceMutation = ({ tenantId, options = {} }) => { const ky = useTenantKy({ tenantId }); - const { mutateAsync } = useMutation({ + const { mutate } = useMutation({ mutationFn: (instance) => { const kyMethod = instance.id ? 'put' : 'post'; const kyPath = instance.id ? `inventory/instances/${instance.id}` : 'inventory/instances'; - return ky[kyMethod](kyPath, { json: instance }); + return ky[kyMethod](kyPath, { json: instance }).json(); }, ...options, }); return { - mutateInstance: mutateAsync, + mutateInstance: mutate, }; }; diff --git a/src/routes/ItemRoute.js b/src/routes/ItemRoute.js index f3235ab5e..c55ec7d76 100644 --- a/src/routes/ItemRoute.js +++ b/src/routes/ItemRoute.js @@ -174,8 +174,9 @@ class ItemRoute extends React.Component { onClose = () => { const { stripes, - location: { state: { tenantFrom } }, + location, } = this.props; + const tenantFrom = location?.state?.tenantFrom || stripes.okapi.tenant; switchAffiliation(stripes, tenantFrom, this.goBack); } diff --git a/translations/ui-inventory/ar.json b/translations/ui-inventory/ar.json index 161a0e0b9..dbd851a8e 100644 --- a/translations/ui-inventory/ar.json +++ b/translations/ui-inventory/ar.json @@ -829,5 +829,8 @@ "shareLocalInstance.toast.successful": "Local instance {instanceTitle} has been successfully shared", "filters.tenantId": "Held by", "permission.consortia.inventory.share.local.instance": "Inventory: Share local instance with consortium", - "consortialHoldings": "Consortial holdings" + "consortialHoldings": "Consortial holdings", + "unlinkLocalMarcAuthorities.modal.header": "Linked to local authorities", + "unlinkLocalMarcAuthorities.modal.message": "If you proceed with sharing this instance, then {linkedAuthoritiesLength} bibliographic fields linked to local authority records will retain authorized values but will become uncontrolled", + "unlinkLocalMarcAuthorities.modal.proceed": "Proceed" } \ No newline at end of file diff --git a/translations/ui-inventory/ber.json b/translations/ui-inventory/ber.json index 7350fadaa..bae5522b2 100644 --- a/translations/ui-inventory/ber.json +++ b/translations/ui-inventory/ber.json @@ -829,5 +829,8 @@ "shareLocalInstance.toast.successful": "Local instance {instanceTitle} has been successfully shared", "filters.tenantId": "Held by", "permission.consortia.inventory.share.local.instance": "Inventory: Share local instance with consortium", - "consortialHoldings": "Consortial holdings" + "consortialHoldings": "Consortial holdings", + "unlinkLocalMarcAuthorities.modal.header": "Linked to local authorities", + "unlinkLocalMarcAuthorities.modal.message": "If you proceed with sharing this instance, then {linkedAuthoritiesLength} bibliographic fields linked to local authority records will retain authorized values but will become uncontrolled", + "unlinkLocalMarcAuthorities.modal.proceed": "Proceed" } \ No newline at end of file diff --git a/translations/ui-inventory/ca.json b/translations/ui-inventory/ca.json index 8383b2062..0aaa3028b 100644 --- a/translations/ui-inventory/ca.json +++ b/translations/ui-inventory/ca.json @@ -829,5 +829,8 @@ "shareLocalInstance.toast.successful": "Local instance {instanceTitle} has been successfully shared", "filters.tenantId": "Held by", "permission.consortia.inventory.share.local.instance": "Inventory: Share local instance with consortium", - "consortialHoldings": "Consortial holdings" + "consortialHoldings": "Consortial holdings", + "unlinkLocalMarcAuthorities.modal.header": "Linked to local authorities", + "unlinkLocalMarcAuthorities.modal.message": "If you proceed with sharing this instance, then {linkedAuthoritiesLength} bibliographic fields linked to local authority records will retain authorized values but will become uncontrolled", + "unlinkLocalMarcAuthorities.modal.proceed": "Proceed" } \ No newline at end of file diff --git a/translations/ui-inventory/cs_CZ.json b/translations/ui-inventory/cs_CZ.json index 7c5f19a7e..50e27de2d 100644 --- a/translations/ui-inventory/cs_CZ.json +++ b/translations/ui-inventory/cs_CZ.json @@ -829,5 +829,8 @@ "shareLocalInstance.toast.successful": "Local instance {instanceTitle} has been successfully shared", "filters.tenantId": "Held by", "permission.consortia.inventory.share.local.instance": "Inventory: Share local instance with consortium", - "consortialHoldings": "Consortial holdings" + "consortialHoldings": "Consortial holdings", + "unlinkLocalMarcAuthorities.modal.header": "Linked to local authorities", + "unlinkLocalMarcAuthorities.modal.message": "If you proceed with sharing this instance, then {linkedAuthoritiesLength} bibliographic fields linked to local authority records will retain authorized values but will become uncontrolled", + "unlinkLocalMarcAuthorities.modal.proceed": "Proceed" } \ No newline at end of file diff --git a/translations/ui-inventory/da.json b/translations/ui-inventory/da.json index 045ab062d..2073be45c 100644 --- a/translations/ui-inventory/da.json +++ b/translations/ui-inventory/da.json @@ -829,5 +829,8 @@ "shareLocalInstance.toast.successful": "Local instance {instanceTitle} has been successfully shared", "filters.tenantId": "Held by", "permission.consortia.inventory.share.local.instance": "Inventory: Share local instance with consortium", - "consortialHoldings": "Consortial holdings" + "consortialHoldings": "Consortial holdings", + "unlinkLocalMarcAuthorities.modal.header": "Linked to local authorities", + "unlinkLocalMarcAuthorities.modal.message": "If you proceed with sharing this instance, then {linkedAuthoritiesLength} bibliographic fields linked to local authority records will retain authorized values but will become uncontrolled", + "unlinkLocalMarcAuthorities.modal.proceed": "Proceed" } \ No newline at end of file diff --git a/translations/ui-inventory/de.json b/translations/ui-inventory/de.json index 6c1959203..5c6b5fd57 100644 --- a/translations/ui-inventory/de.json +++ b/translations/ui-inventory/de.json @@ -829,5 +829,8 @@ "shareLocalInstance.toast.successful": "Local instance {instanceTitle} has been successfully shared", "filters.tenantId": "Held by", "permission.consortia.inventory.share.local.instance": "Inventory: Share local instance with consortium", - "consortialHoldings": "Consortial holdings" + "consortialHoldings": "Consortial holdings", + "unlinkLocalMarcAuthorities.modal.header": "Linked to local authorities", + "unlinkLocalMarcAuthorities.modal.message": "If you proceed with sharing this instance, then {linkedAuthoritiesLength} bibliographic fields linked to local authority records will retain authorized values but will become uncontrolled", + "unlinkLocalMarcAuthorities.modal.proceed": "Proceed" } \ No newline at end of file diff --git a/translations/ui-inventory/en_GB.json b/translations/ui-inventory/en_GB.json index 7350fadaa..bae5522b2 100644 --- a/translations/ui-inventory/en_GB.json +++ b/translations/ui-inventory/en_GB.json @@ -829,5 +829,8 @@ "shareLocalInstance.toast.successful": "Local instance {instanceTitle} has been successfully shared", "filters.tenantId": "Held by", "permission.consortia.inventory.share.local.instance": "Inventory: Share local instance with consortium", - "consortialHoldings": "Consortial holdings" + "consortialHoldings": "Consortial holdings", + "unlinkLocalMarcAuthorities.modal.header": "Linked to local authorities", + "unlinkLocalMarcAuthorities.modal.message": "If you proceed with sharing this instance, then {linkedAuthoritiesLength} bibliographic fields linked to local authority records will retain authorized values but will become uncontrolled", + "unlinkLocalMarcAuthorities.modal.proceed": "Proceed" } \ No newline at end of file diff --git a/translations/ui-inventory/en_SE.json b/translations/ui-inventory/en_SE.json index 7350fadaa..bae5522b2 100644 --- a/translations/ui-inventory/en_SE.json +++ b/translations/ui-inventory/en_SE.json @@ -829,5 +829,8 @@ "shareLocalInstance.toast.successful": "Local instance {instanceTitle} has been successfully shared", "filters.tenantId": "Held by", "permission.consortia.inventory.share.local.instance": "Inventory: Share local instance with consortium", - "consortialHoldings": "Consortial holdings" + "consortialHoldings": "Consortial holdings", + "unlinkLocalMarcAuthorities.modal.header": "Linked to local authorities", + "unlinkLocalMarcAuthorities.modal.message": "If you proceed with sharing this instance, then {linkedAuthoritiesLength} bibliographic fields linked to local authority records will retain authorized values but will become uncontrolled", + "unlinkLocalMarcAuthorities.modal.proceed": "Proceed" } \ No newline at end of file diff --git a/translations/ui-inventory/en_US.json b/translations/ui-inventory/en_US.json index 7350fadaa..bae5522b2 100644 --- a/translations/ui-inventory/en_US.json +++ b/translations/ui-inventory/en_US.json @@ -829,5 +829,8 @@ "shareLocalInstance.toast.successful": "Local instance {instanceTitle} has been successfully shared", "filters.tenantId": "Held by", "permission.consortia.inventory.share.local.instance": "Inventory: Share local instance with consortium", - "consortialHoldings": "Consortial holdings" + "consortialHoldings": "Consortial holdings", + "unlinkLocalMarcAuthorities.modal.header": "Linked to local authorities", + "unlinkLocalMarcAuthorities.modal.message": "If you proceed with sharing this instance, then {linkedAuthoritiesLength} bibliographic fields linked to local authority records will retain authorized values but will become uncontrolled", + "unlinkLocalMarcAuthorities.modal.proceed": "Proceed" } \ No newline at end of file diff --git a/translations/ui-inventory/es.json b/translations/ui-inventory/es.json index abff5b97e..4fed8ecc0 100644 --- a/translations/ui-inventory/es.json +++ b/translations/ui-inventory/es.json @@ -829,5 +829,8 @@ "shareLocalInstance.toast.successful": "Local instance {instanceTitle} has been successfully shared", "filters.tenantId": "Held by", "permission.consortia.inventory.share.local.instance": "Inventory: Share local instance with consortium", - "consortialHoldings": "Consortial holdings" + "consortialHoldings": "Consortial holdings", + "unlinkLocalMarcAuthorities.modal.header": "Linked to local authorities", + "unlinkLocalMarcAuthorities.modal.message": "If you proceed with sharing this instance, then {linkedAuthoritiesLength} bibliographic fields linked to local authority records will retain authorized values but will become uncontrolled", + "unlinkLocalMarcAuthorities.modal.proceed": "Proceed" } \ No newline at end of file diff --git a/translations/ui-inventory/es_419.json b/translations/ui-inventory/es_419.json index a3fc24001..d351bcd30 100644 --- a/translations/ui-inventory/es_419.json +++ b/translations/ui-inventory/es_419.json @@ -829,5 +829,8 @@ "shareLocalInstance.toast.successful": "Local instance {instanceTitle} has been successfully shared", "filters.tenantId": "Held by", "permission.consortia.inventory.share.local.instance": "Inventory: Share local instance with consortium", - "consortialHoldings": "Consortial holdings" + "consortialHoldings": "Consortial holdings", + "unlinkLocalMarcAuthorities.modal.header": "Linked to local authorities", + "unlinkLocalMarcAuthorities.modal.message": "If you proceed with sharing this instance, then {linkedAuthoritiesLength} bibliographic fields linked to local authority records will retain authorized values but will become uncontrolled", + "unlinkLocalMarcAuthorities.modal.proceed": "Proceed" } \ No newline at end of file diff --git a/translations/ui-inventory/es_ES.json b/translations/ui-inventory/es_ES.json index 42099fcb0..d7a2b120f 100644 --- a/translations/ui-inventory/es_ES.json +++ b/translations/ui-inventory/es_ES.json @@ -829,5 +829,8 @@ "shareLocalInstance.toast.successful": "Local instance {instanceTitle} has been successfully shared", "filters.tenantId": "Held by", "permission.consortia.inventory.share.local.instance": "Inventory: Share local instance with consortium", - "consortialHoldings": "Consortial holdings" + "consortialHoldings": "Consortial holdings", + "unlinkLocalMarcAuthorities.modal.header": "Linked to local authorities", + "unlinkLocalMarcAuthorities.modal.message": "If you proceed with sharing this instance, then {linkedAuthoritiesLength} bibliographic fields linked to local authority records will retain authorized values but will become uncontrolled", + "unlinkLocalMarcAuthorities.modal.proceed": "Proceed" } \ No newline at end of file diff --git a/translations/ui-inventory/fr.json b/translations/ui-inventory/fr.json index 292eec37e..fda3aba85 100644 --- a/translations/ui-inventory/fr.json +++ b/translations/ui-inventory/fr.json @@ -829,5 +829,8 @@ "shareLocalInstance.toast.successful": "Local instance {instanceTitle} has been successfully shared", "filters.tenantId": "Held by", "permission.consortia.inventory.share.local.instance": "Inventory: Share local instance with consortium", - "consortialHoldings": "Consortial holdings" + "consortialHoldings": "Consortial holdings", + "unlinkLocalMarcAuthorities.modal.header": "Linked to local authorities", + "unlinkLocalMarcAuthorities.modal.message": "If you proceed with sharing this instance, then {linkedAuthoritiesLength} bibliographic fields linked to local authority records will retain authorized values but will become uncontrolled", + "unlinkLocalMarcAuthorities.modal.proceed": "Proceed" } \ No newline at end of file diff --git a/translations/ui-inventory/fr_FR.json b/translations/ui-inventory/fr_FR.json index 02ab60902..f5453b9b0 100644 --- a/translations/ui-inventory/fr_FR.json +++ b/translations/ui-inventory/fr_FR.json @@ -829,5 +829,8 @@ "shareLocalInstance.toast.successful": "Local instance {instanceTitle} has been successfully shared", "filters.tenantId": "Held by", "permission.consortia.inventory.share.local.instance": "Inventory: Share local instance with consortium", - "consortialHoldings": "Consortial holdings" + "consortialHoldings": "Consortial holdings", + "unlinkLocalMarcAuthorities.modal.header": "Linked to local authorities", + "unlinkLocalMarcAuthorities.modal.message": "If you proceed with sharing this instance, then {linkedAuthoritiesLength} bibliographic fields linked to local authority records will retain authorized values but will become uncontrolled", + "unlinkLocalMarcAuthorities.modal.proceed": "Proceed" } \ No newline at end of file diff --git a/translations/ui-inventory/he.json b/translations/ui-inventory/he.json index 32e4e2273..776d84c66 100644 --- a/translations/ui-inventory/he.json +++ b/translations/ui-inventory/he.json @@ -829,5 +829,8 @@ "shareLocalInstance.toast.successful": "Local instance {instanceTitle} has been successfully shared", "filters.tenantId": "Held by", "permission.consortia.inventory.share.local.instance": "Inventory: Share local instance with consortium", - "consortialHoldings": "Consortial holdings" + "consortialHoldings": "Consortial holdings", + "unlinkLocalMarcAuthorities.modal.header": "Linked to local authorities", + "unlinkLocalMarcAuthorities.modal.message": "If you proceed with sharing this instance, then {linkedAuthoritiesLength} bibliographic fields linked to local authority records will retain authorized values but will become uncontrolled", + "unlinkLocalMarcAuthorities.modal.proceed": "Proceed" } \ No newline at end of file diff --git a/translations/ui-inventory/hi_IN.json b/translations/ui-inventory/hi_IN.json index 7350fadaa..bae5522b2 100644 --- a/translations/ui-inventory/hi_IN.json +++ b/translations/ui-inventory/hi_IN.json @@ -829,5 +829,8 @@ "shareLocalInstance.toast.successful": "Local instance {instanceTitle} has been successfully shared", "filters.tenantId": "Held by", "permission.consortia.inventory.share.local.instance": "Inventory: Share local instance with consortium", - "consortialHoldings": "Consortial holdings" + "consortialHoldings": "Consortial holdings", + "unlinkLocalMarcAuthorities.modal.header": "Linked to local authorities", + "unlinkLocalMarcAuthorities.modal.message": "If you proceed with sharing this instance, then {linkedAuthoritiesLength} bibliographic fields linked to local authority records will retain authorized values but will become uncontrolled", + "unlinkLocalMarcAuthorities.modal.proceed": "Proceed" } \ No newline at end of file diff --git a/translations/ui-inventory/hu.json b/translations/ui-inventory/hu.json index 66785515d..8f25c7dc1 100644 --- a/translations/ui-inventory/hu.json +++ b/translations/ui-inventory/hu.json @@ -829,5 +829,8 @@ "shareLocalInstance.toast.successful": "Local instance {instanceTitle} has been successfully shared", "filters.tenantId": "Held by", "permission.consortia.inventory.share.local.instance": "Inventory: Share local instance with consortium", - "consortialHoldings": "Consortial holdings" + "consortialHoldings": "Consortial holdings", + "unlinkLocalMarcAuthorities.modal.header": "Linked to local authorities", + "unlinkLocalMarcAuthorities.modal.message": "If you proceed with sharing this instance, then {linkedAuthoritiesLength} bibliographic fields linked to local authority records will retain authorized values but will become uncontrolled", + "unlinkLocalMarcAuthorities.modal.proceed": "Proceed" } \ No newline at end of file diff --git a/translations/ui-inventory/it_IT.json b/translations/ui-inventory/it_IT.json index ebcb79611..95d44b31b 100644 --- a/translations/ui-inventory/it_IT.json +++ b/translations/ui-inventory/it_IT.json @@ -829,5 +829,8 @@ "shareLocalInstance.toast.successful": "Local instance {instanceTitle} has been successfully shared", "filters.tenantId": "Held by", "permission.consortia.inventory.share.local.instance": "Inventory: Share local instance with consortium", - "consortialHoldings": "Consortial holdings" + "consortialHoldings": "Consortial holdings", + "unlinkLocalMarcAuthorities.modal.header": "Linked to local authorities", + "unlinkLocalMarcAuthorities.modal.message": "If you proceed with sharing this instance, then {linkedAuthoritiesLength} bibliographic fields linked to local authority records will retain authorized values but will become uncontrolled", + "unlinkLocalMarcAuthorities.modal.proceed": "Proceed" } \ No newline at end of file diff --git a/translations/ui-inventory/ja.json b/translations/ui-inventory/ja.json index 0761df8f7..a6687b24b 100644 --- a/translations/ui-inventory/ja.json +++ b/translations/ui-inventory/ja.json @@ -829,5 +829,8 @@ "shareLocalInstance.toast.successful": "Local instance {instanceTitle} has been successfully shared", "filters.tenantId": "Held by", "permission.consortia.inventory.share.local.instance": "Inventory: Share local instance with consortium", - "consortialHoldings": "Consortial holdings" + "consortialHoldings": "Consortial holdings", + "unlinkLocalMarcAuthorities.modal.header": "Linked to local authorities", + "unlinkLocalMarcAuthorities.modal.message": "If you proceed with sharing this instance, then {linkedAuthoritiesLength} bibliographic fields linked to local authority records will retain authorized values but will become uncontrolled", + "unlinkLocalMarcAuthorities.modal.proceed": "Proceed" } \ No newline at end of file diff --git a/translations/ui-inventory/ko.json b/translations/ui-inventory/ko.json index d396b651f..a6f02ca10 100644 --- a/translations/ui-inventory/ko.json +++ b/translations/ui-inventory/ko.json @@ -829,5 +829,8 @@ "shareLocalInstance.toast.successful": "Local instance {instanceTitle} has been successfully shared", "filters.tenantId": "Held by", "permission.consortia.inventory.share.local.instance": "Inventory: Share local instance with consortium", - "consortialHoldings": "Consortial holdings" + "consortialHoldings": "Consortial holdings", + "unlinkLocalMarcAuthorities.modal.header": "Linked to local authorities", + "unlinkLocalMarcAuthorities.modal.message": "If you proceed with sharing this instance, then {linkedAuthoritiesLength} bibliographic fields linked to local authority records will retain authorized values but will become uncontrolled", + "unlinkLocalMarcAuthorities.modal.proceed": "Proceed" } \ No newline at end of file diff --git a/translations/ui-inventory/nb.json b/translations/ui-inventory/nb.json index 7350fadaa..bae5522b2 100644 --- a/translations/ui-inventory/nb.json +++ b/translations/ui-inventory/nb.json @@ -829,5 +829,8 @@ "shareLocalInstance.toast.successful": "Local instance {instanceTitle} has been successfully shared", "filters.tenantId": "Held by", "permission.consortia.inventory.share.local.instance": "Inventory: Share local instance with consortium", - "consortialHoldings": "Consortial holdings" + "consortialHoldings": "Consortial holdings", + "unlinkLocalMarcAuthorities.modal.header": "Linked to local authorities", + "unlinkLocalMarcAuthorities.modal.message": "If you proceed with sharing this instance, then {linkedAuthoritiesLength} bibliographic fields linked to local authority records will retain authorized values but will become uncontrolled", + "unlinkLocalMarcAuthorities.modal.proceed": "Proceed" } \ No newline at end of file diff --git a/translations/ui-inventory/nn.json b/translations/ui-inventory/nn.json index 7350fadaa..bae5522b2 100644 --- a/translations/ui-inventory/nn.json +++ b/translations/ui-inventory/nn.json @@ -829,5 +829,8 @@ "shareLocalInstance.toast.successful": "Local instance {instanceTitle} has been successfully shared", "filters.tenantId": "Held by", "permission.consortia.inventory.share.local.instance": "Inventory: Share local instance with consortium", - "consortialHoldings": "Consortial holdings" + "consortialHoldings": "Consortial holdings", + "unlinkLocalMarcAuthorities.modal.header": "Linked to local authorities", + "unlinkLocalMarcAuthorities.modal.message": "If you proceed with sharing this instance, then {linkedAuthoritiesLength} bibliographic fields linked to local authority records will retain authorized values but will become uncontrolled", + "unlinkLocalMarcAuthorities.modal.proceed": "Proceed" } \ No newline at end of file diff --git a/translations/ui-inventory/pl.json b/translations/ui-inventory/pl.json index 2c73cad99..c27026f94 100644 --- a/translations/ui-inventory/pl.json +++ b/translations/ui-inventory/pl.json @@ -829,5 +829,8 @@ "shareLocalInstance.toast.successful": "Local instance {instanceTitle} has been successfully shared", "filters.tenantId": "Held by", "permission.consortia.inventory.share.local.instance": "Inventory: Share local instance with consortium", - "consortialHoldings": "Consortial holdings" + "consortialHoldings": "Consortial holdings", + "unlinkLocalMarcAuthorities.modal.header": "Linked to local authorities", + "unlinkLocalMarcAuthorities.modal.message": "If you proceed with sharing this instance, then {linkedAuthoritiesLength} bibliographic fields linked to local authority records will retain authorized values but will become uncontrolled", + "unlinkLocalMarcAuthorities.modal.proceed": "Proceed" } \ No newline at end of file diff --git a/translations/ui-inventory/pt_BR.json b/translations/ui-inventory/pt_BR.json index 8c3b0eefd..b493cbb64 100644 --- a/translations/ui-inventory/pt_BR.json +++ b/translations/ui-inventory/pt_BR.json @@ -829,5 +829,8 @@ "shareLocalInstance.toast.successful": "A instância local {instanceTitle} foi compartilhada com sucesso", "filters.tenantId": "Realizada por", "permission.consortia.inventory.share.local.instance": "Inventário: Compartilhar a instância local com o consórcio", - "consortialHoldings": "Participações em consórcios" + "consortialHoldings": "Participações em consórcios", + "unlinkLocalMarcAuthorities.modal.header": "Vinculado às autoridades locais", + "unlinkLocalMarcAuthorities.modal.message": "Se prosseguir com o compartilhamento dessa instância, os campos bibliográficos {linkedAuthoritiesLength} vinculados a registros de autoridades locais manterão os valores autorizados, mas passarão a não ser controlados", + "unlinkLocalMarcAuthorities.modal.proceed": "Prosseguir" } \ No newline at end of file diff --git a/translations/ui-inventory/pt_PT.json b/translations/ui-inventory/pt_PT.json index c6cf829fd..dea889670 100644 --- a/translations/ui-inventory/pt_PT.json +++ b/translations/ui-inventory/pt_PT.json @@ -829,5 +829,8 @@ "shareLocalInstance.toast.successful": "Local instance {instanceTitle} has been successfully shared", "filters.tenantId": "Held by", "permission.consortia.inventory.share.local.instance": "Inventory: Share local instance with consortium", - "consortialHoldings": "Consortial holdings" + "consortialHoldings": "Consortial holdings", + "unlinkLocalMarcAuthorities.modal.header": "Linked to local authorities", + "unlinkLocalMarcAuthorities.modal.message": "If you proceed with sharing this instance, then {linkedAuthoritiesLength} bibliographic fields linked to local authority records will retain authorized values but will become uncontrolled", + "unlinkLocalMarcAuthorities.modal.proceed": "Proceed" } \ No newline at end of file diff --git a/translations/ui-inventory/ru.json b/translations/ui-inventory/ru.json index 68ae312ae..ea41906a8 100644 --- a/translations/ui-inventory/ru.json +++ b/translations/ui-inventory/ru.json @@ -829,5 +829,8 @@ "shareLocalInstance.toast.successful": "Local instance {instanceTitle} has been successfully shared", "filters.tenantId": "Held by", "permission.consortia.inventory.share.local.instance": "Inventory: Share local instance with consortium", - "consortialHoldings": "Consortial holdings" + "consortialHoldings": "Consortial holdings", + "unlinkLocalMarcAuthorities.modal.header": "Linked to local authorities", + "unlinkLocalMarcAuthorities.modal.message": "If you proceed with sharing this instance, then {linkedAuthoritiesLength} bibliographic fields linked to local authority records will retain authorized values but will become uncontrolled", + "unlinkLocalMarcAuthorities.modal.proceed": "Proceed" } \ No newline at end of file diff --git a/translations/ui-inventory/sv.json b/translations/ui-inventory/sv.json index 7350fadaa..bae5522b2 100644 --- a/translations/ui-inventory/sv.json +++ b/translations/ui-inventory/sv.json @@ -829,5 +829,8 @@ "shareLocalInstance.toast.successful": "Local instance {instanceTitle} has been successfully shared", "filters.tenantId": "Held by", "permission.consortia.inventory.share.local.instance": "Inventory: Share local instance with consortium", - "consortialHoldings": "Consortial holdings" + "consortialHoldings": "Consortial holdings", + "unlinkLocalMarcAuthorities.modal.header": "Linked to local authorities", + "unlinkLocalMarcAuthorities.modal.message": "If you proceed with sharing this instance, then {linkedAuthoritiesLength} bibliographic fields linked to local authority records will retain authorized values but will become uncontrolled", + "unlinkLocalMarcAuthorities.modal.proceed": "Proceed" } \ No newline at end of file diff --git a/translations/ui-inventory/ur.json b/translations/ui-inventory/ur.json index 6de9761fb..fbf98c126 100644 --- a/translations/ui-inventory/ur.json +++ b/translations/ui-inventory/ur.json @@ -829,5 +829,8 @@ "shareLocalInstance.toast.successful": "Local instance {instanceTitle} has been successfully shared", "filters.tenantId": "Held by", "permission.consortia.inventory.share.local.instance": "Inventory: Share local instance with consortium", - "consortialHoldings": "Consortial holdings" + "consortialHoldings": "Consortial holdings", + "unlinkLocalMarcAuthorities.modal.header": "Linked to local authorities", + "unlinkLocalMarcAuthorities.modal.message": "If you proceed with sharing this instance, then {linkedAuthoritiesLength} bibliographic fields linked to local authority records will retain authorized values but will become uncontrolled", + "unlinkLocalMarcAuthorities.modal.proceed": "Proceed" } \ No newline at end of file diff --git a/translations/ui-inventory/zh_CN.json b/translations/ui-inventory/zh_CN.json index 9d71eaea0..e6a0b9a3c 100644 --- a/translations/ui-inventory/zh_CN.json +++ b/translations/ui-inventory/zh_CN.json @@ -829,5 +829,8 @@ "shareLocalInstance.toast.successful": "本地实例 {instanceTitle} 已成功共享", "filters.tenantId": "持有者", "permission.consortia.inventory.share.local.instance": "Inventory: Share local instance with consortium", - "consortialHoldings": "Consortial holdings" + "consortialHoldings": "Consortial holdings", + "unlinkLocalMarcAuthorities.modal.header": "Linked to local authorities", + "unlinkLocalMarcAuthorities.modal.message": "If you proceed with sharing this instance, then {linkedAuthoritiesLength} bibliographic fields linked to local authority records will retain authorized values but will become uncontrolled", + "unlinkLocalMarcAuthorities.modal.proceed": "Proceed" } \ No newline at end of file diff --git a/translations/ui-inventory/zh_TW.json b/translations/ui-inventory/zh_TW.json index 84fa6f650..6d009f998 100644 --- a/translations/ui-inventory/zh_TW.json +++ b/translations/ui-inventory/zh_TW.json @@ -829,5 +829,8 @@ "shareLocalInstance.toast.successful": "Local instance {instanceTitle} has been successfully shared", "filters.tenantId": "Held by", "permission.consortia.inventory.share.local.instance": "Inventory: Share local instance with consortium", - "consortialHoldings": "Consortial holdings" + "consortialHoldings": "Consortial holdings", + "unlinkLocalMarcAuthorities.modal.header": "Linked to local authorities", + "unlinkLocalMarcAuthorities.modal.message": "If you proceed with sharing this instance, then {linkedAuthoritiesLength} bibliographic fields linked to local authority records will retain authorized values but will become uncontrolled", + "unlinkLocalMarcAuthorities.modal.proceed": "Proceed" } \ No newline at end of file