From 88d8b9bc14485621aaa4a1b9bc7e6faba1cf4449 Mon Sep 17 00:00:00 2001 From: Michael Ritter Date: Fri, 15 Nov 2024 13:31:35 -0700 Subject: [PATCH] DRYD-1575: Rename repatriationclaim to repatriationrequest (#26) --- src/plugins/recordTypes/index.js | 4 ++-- .../{repatriationclaim => repatriationrequest}/index.js | 2 +- .../{repatriationclaim => repatriationrequest}/messages.js | 2 +- .../{repatriationclaim => repatriationrequest}/sidebar.js | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename src/plugins/recordTypes/{repatriationclaim => repatriationrequest}/index.js (85%) rename src/plugins/recordTypes/{repatriationclaim => repatriationrequest}/messages.js (76%) rename src/plugins/recordTypes/{repatriationclaim => repatriationrequest}/sidebar.js (100%) diff --git a/src/plugins/recordTypes/index.js b/src/plugins/recordTypes/index.js index 4974f1c..bfb6cb0 100644 --- a/src/plugins/recordTypes/index.js +++ b/src/plugins/recordTypes/index.js @@ -9,7 +9,7 @@ import nagprainventory from './nagprainventory'; import osteology from './osteology'; import person from './person'; import place from './place'; -import repatriationclaim from './repatriationclaim'; +import repatriationrequest from './repatriationrequest'; // import restrictedmedia from './restrictedmedia'; import summarydocumentation from './summarydocumentation'; @@ -25,7 +25,7 @@ export default [ osteology, person, place, - repatriationclaim, + repatriationrequest, // restrictedmedia, summarydocumentation, ]; diff --git a/src/plugins/recordTypes/repatriationclaim/index.js b/src/plugins/recordTypes/repatriationrequest/index.js similarity index 85% rename from src/plugins/recordTypes/repatriationclaim/index.js rename to src/plugins/recordTypes/repatriationrequest/index.js index 6330053..f671e44 100644 --- a/src/plugins/recordTypes/repatriationclaim/index.js +++ b/src/plugins/recordTypes/repatriationrequest/index.js @@ -3,7 +3,7 @@ import sidebar from './sidebar'; export default () => ({ recordTypes: { - repatriationclaim: { + repatriationrequest: { sidebar, messages, }, diff --git a/src/plugins/recordTypes/repatriationclaim/messages.js b/src/plugins/recordTypes/repatriationrequest/messages.js similarity index 76% rename from src/plugins/recordTypes/repatriationclaim/messages.js rename to src/plugins/recordTypes/repatriationrequest/messages.js index f11cb12..c9c3f5a 100644 --- a/src/plugins/recordTypes/repatriationclaim/messages.js +++ b/src/plugins/recordTypes/repatriationrequest/messages.js @@ -3,7 +3,7 @@ import { defineMessages } from 'react-intl'; export default { sidebar: defineMessages({ nagpra: { - id: 'sidebar.repatriationclaim.nagpra', + id: 'sidebar.repatriationrequest.nagpra', defaultMessage: 'NAGPRA', }, }), diff --git a/src/plugins/recordTypes/repatriationclaim/sidebar.js b/src/plugins/recordTypes/repatriationrequest/sidebar.js similarity index 100% rename from src/plugins/recordTypes/repatriationclaim/sidebar.js rename to src/plugins/recordTypes/repatriationrequest/sidebar.js