diff --git a/renderer/src/components/Sync/Gitea/SyncFromGiteaUtils.js b/renderer/src/components/Sync/Gitea/SyncFromGiteaUtils.js index df6177a3d..3b1bd1109 100644 --- a/renderer/src/components/Sync/Gitea/SyncFromGiteaUtils.js +++ b/renderer/src/components/Sync/Gitea/SyncFromGiteaUtils.js @@ -211,7 +211,7 @@ export const importServerProject = async (updateBurrito, repo, sbData, auth, use }); sbDataObject.idAuthorities = { scribe: { - id: 'http://www.autographa.org', + id: 'http://www.scribe.bible', name: { en: 'Scribe application', }, diff --git a/renderer/src/core/burrito/createAudioSB.js b/renderer/src/core/burrito/createAudioSB.js index cf4b33d11..4f75fc5bc 100644 --- a/renderer/src/core/burrito/createAudioSB.js +++ b/renderer/src/core/burrito/createAudioSB.js @@ -49,6 +49,8 @@ update, json.identification.name.en = projectFields.projectName; json.identification.abbreviation.en = projectFields.abbreviation; json.languages[0].name.en = language; + // Adding the below line in 0.5.8 version, since the id in the previous versions is autographa.org + json.idAuthorities.scribe.id = 'http://www.scribe.bible'; if (call === 'edit' && project?.copyright?.shortStatements && (copyright.licence).length <= 500) { json.copyright.shortStatements[0].statement = copyright.licence; } else { diff --git a/renderer/src/core/burrito/createObsSB.js b/renderer/src/core/burrito/createObsSB.js index ec6a27e72..5335ff5a3 100644 --- a/renderer/src/core/burrito/createObsSB.js +++ b/renderer/src/core/burrito/createObsSB.js @@ -47,6 +47,8 @@ update, json.identification.name.en = projectFields.projectName; json.identification.abbreviation.en = projectFields.abbreviation; json.languages[0].name.en = language; + // Adding the below line in 0.5.8 version, since the id in the previous versions is autographa.org + json.idAuthorities.scribe.id = 'http://www.scribe.bible'; if (call === 'edit' && project?.copyright?.shortStatements && (copyright.licence).length <= 500) { json.copyright.shortStatements[0].statement = copyright.licence; } else { diff --git a/renderer/src/core/burrito/createTranslationSB.js b/renderer/src/core/burrito/createTranslationSB.js index 3fe19c45c..fbaef9c6c 100644 --- a/renderer/src/core/burrito/createTranslationSB.js +++ b/renderer/src/core/burrito/createTranslationSB.js @@ -49,6 +49,8 @@ update, json.identification.name.en = projectFields.projectName; json.identification.abbreviation.en = projectFields.abbreviation; json.languages[0].name.en = language; + // Adding the below line in 0.5.8 version, since the id in the previous versions is autographa.org + json.idAuthorities.scribe.id = 'http://www.scribe.bible'; if (call === 'edit' && project?.copyright?.shortStatements && (copyright.licence).length <= 500) { json.copyright.shortStatements[0].statement = copyright.licence; } else { diff --git a/renderer/src/core/burrito/importBurrito.js b/renderer/src/core/burrito/importBurrito.js index 50d0d565c..c85f14110 100644 --- a/renderer/src/core/burrito/importBurrito.js +++ b/renderer/src/core/burrito/importBurrito.js @@ -234,7 +234,7 @@ const importBurrito = async (filePath, currentUser, updateBurritoVersion, concat }); metadata.idAuthorities = { scribe: { - id: 'http://www.autographa.org', + id: 'http://www.scribe.bible', name: { en: 'Scribe application', }, diff --git a/renderer/src/layouts/projects/Export/ExportProjectPopUp.js b/renderer/src/layouts/projects/Export/ExportProjectPopUp.js index e1e072a7c..71c2dc477 100644 --- a/renderer/src/layouts/projects/Export/ExportProjectPopUp.js +++ b/renderer/src/layouts/projects/Export/ExportProjectPopUp.js @@ -89,6 +89,8 @@ export default function ExportProjectPopUp(props) { logger.debug('ExportProjectPopUp.js', 'Updated Scripture burrito'); let data = fs.readFileSync(path.join(folder, 'metadata.json'), 'utf-8'); const sb = JSON.parse(data); + // Adding the below line in 0.5.8 version, since the id in the previous versions is autographa.org + sb.idAuthorities.scribe.id = 'http://www.scribe.bible'; if (!sb.copyright?.shortStatements && sb.copyright?.licenses) { delete sb.copyright.publicDomain; data = JSON.stringify(sb); diff --git a/renderer/src/lib/AudioBurritoTemplete.json b/renderer/src/lib/AudioBurritoTemplete.json index 1107fedac..7bd58f9e2 100644 --- a/renderer/src/lib/AudioBurritoTemplete.json +++ b/renderer/src/lib/AudioBurritoTemplete.json @@ -14,7 +14,7 @@ }, "idAuthorities": { "scribe": { - "id": "http://www.autographa.org", + "id": "http://www.scribe.bible", "name": { "en": "Scribe application" } diff --git a/renderer/src/lib/BurritoTemplete.json b/renderer/src/lib/BurritoTemplete.json index c3f45fa47..18d3961b9 100644 --- a/renderer/src/lib/BurritoTemplete.json +++ b/renderer/src/lib/BurritoTemplete.json @@ -14,7 +14,7 @@ }, "idAuthorities": { "scribe": { - "id": "http://www.autographa.org", + "id": "http://www.scribe.bible", "name": { "en": "Scribe application" } diff --git a/renderer/src/lib/OBSTemplete.json b/renderer/src/lib/OBSTemplete.json index 94fdb1c5b..a8e5bea0c 100644 --- a/renderer/src/lib/OBSTemplete.json +++ b/renderer/src/lib/OBSTemplete.json @@ -13,7 +13,7 @@ }, "idAuthorities": { "scribe": { - "id": "http://www.autographa.org", + "id": "http://www.scribe.bible", "name": { "en": "Scribe application" }