diff --git a/services/web/app/src/infrastructure/mongodb.mjs b/services/web/app/src/infrastructure/mongodb.mjs index 1032f0da83..d58dcbf000 100644 --- a/services/web/app/src/infrastructure/mongodb.mjs +++ b/services/web/app/src/infrastructure/mongodb.mjs @@ -54,6 +54,7 @@ export const db = { groupAuditLogEntries: internalDb.collection('groupAuditLogEntries'), institutions: internalDb.collection('institutions'), libraryReferences: internalDb.collection('libraryReferences'), + librarySizes: internalDb.collection('librarySizes'), librarySyncStates: internalDb.collection('librarySyncStates'), messages: internalDb.collection('messages'), migrations: internalDb.collection('migrations'), diff --git a/services/web/locales/en.json b/services/web/locales/en.json index 78aac6ab39..13a75ff55f 100644 --- a/services/web/locales/en.json +++ b/services/web/locales/en.json @@ -1443,7 +1443,10 @@ "lets_get_you_set_up": "Let’s get you set up.", "libraries": "Libraries", "library": "Library", + "library_entry_too_large": "This entry is too large to add. Library entries can be up to __limit__. Try trimming the entry and adding it again.", "library_in_labs": "Library is in Labs — tell us what you think.", + "library_size_limit_reached": "Your library has reached its size limit of __limit__. Remove some references before adding more.", + "library_too_many_references": "Your library has reached its limit of __limit__ references. Remove some references before adding more.", "license": "License", "license_allocated": "License allocated", "license_not_allocated": "License not allocated",