diff --git a/components/CollectionSelectionModal.js b/components/CollectionSelectionModal.js index 92a0109..b90c967 100644 --- a/components/CollectionSelectionModal.js +++ b/components/CollectionSelectionModal.js @@ -133,7 +133,7 @@ export default function CollectionSelectionModal({

- {VOCAB.ADD_TO_LIST}s + {VOCAB.ADD_TO_LISTS}

- This collection will be available in the community. + This list will be available in the community.

@@ -244,7 +244,7 @@ export default function ShareModal({ {/* Current Permissions */}

- Only those invited can view or collaborate on this collection. + Only those invited can view or collaborate on this list.

diff --git a/lib/collection-vocabulary.js b/lib/collection-vocabulary.js index 2875e36..5eebc91 100644 --- a/lib/collection-vocabulary.js +++ b/lib/collection-vocabulary.js @@ -13,6 +13,7 @@ export const VOCAB = { ADD_TO_MY_COLLECTION: 'Add to My Collection', REMOVE_FROM_MY_COLLECTION: 'Remove from My Collection', ADD_TO_LIST: 'Add to List', + ADD_TO_LISTS: 'Add to Lists', SYNCED_BINDER: 'Synced binder', SYSTEM_COLLECTION_SYNC_HINT: 'Automatically syncs with My Collection', }; diff --git a/pages/card/[id].js b/pages/card/[id].js index b9099c3..65ee3c9 100644 --- a/pages/card/[id].js +++ b/pages/card/[id].js @@ -5,7 +5,7 @@ import { useAuth } from '../../lib/use-auth'; import CollectionSelectionModal from '../../components/CollectionSelectionModal'; import { ManaCost, ColorIdentity, AdvancedManaCost } from '../../components/ManaSymbols'; import ManaSymbolSettings from '../../components/ManaSymbolSettings'; -import { VOCAB } from '../../lib/collection-vocabulary.js'; +import { VOCAB, collectionDisplayName } from '../../lib/collection-vocabulary.js'; export default function CardDetail() { const router = useRouter(); @@ -542,7 +542,7 @@ export default function CardDetail() { {cardCollections.map(collection => (
📁 - {collection.name} + {collectionDisplayName(collection)}
))} {cardDecks.map(deck => ( diff --git a/pages/collection/[identifier].js b/pages/collection/[identifier].js index 05f548d..e79f9c7 100644 --- a/pages/collection/[identifier].js +++ b/pages/collection/[identifier].js @@ -178,7 +178,7 @@ export default function CollectionView() { setShowEditModal(false); } else { const error = await response.json(); - alert(error.error || 'Failed to update collection'); + alert(error.error || 'Failed to update list'); } } catch (error) { console.error('Error updating collection:', error); @@ -199,7 +199,7 @@ export default function CollectionView() { router.push('/collections'); } else { const error = await response.json(); - alert(error.error || 'Failed to delete collection'); + alert(error.error || 'Failed to delete list'); } } catch (error) { console.error('Error deleting collection:', error); @@ -907,7 +907,7 @@ export default function CollectionView() { className="input-field w-full" value={editForm.name} onChange={(e) => setEditForm({...editForm, name: e.target.value})} - placeholder="Enter collection name" + placeholder="Enter list name" />
@@ -919,7 +919,7 @@ export default function CollectionView() { rows="3" value={editForm.description} onChange={(e) => setEditForm({...editForm, description: e.target.value})} - placeholder="Describe your collection" + placeholder="Describe your list" />
@@ -1038,7 +1038,7 @@ export default function CollectionView() { {/* Show login CTA for non-authenticated users */} {!user && collection?.isPublic && ( - + )} ); diff --git a/pages/community/collections.js b/pages/community/collections.js index 6026ef0..b45f739 100644 --- a/pages/community/collections.js +++ b/pages/community/collections.js @@ -4,6 +4,7 @@ import Link from 'next/link'; import Layout from '../../components/Layout'; import PermissionIndicator from '../../components/PermissionIndicator'; import { useAuth } from '../../lib/use-auth'; +import { VOCAB } from '../../lib/collection-vocabulary.js'; export default function CommunityCollections() { const router = useRouter(); @@ -201,7 +202,7 @@ export default function CommunityCollections() { Community Lists

- Discover public collections shared by the community + Discover public lists shared by the community

@@ -211,7 +212,7 @@ export default function CommunityCollections() {
setSearchQuery(e.target.value)} @@ -239,12 +240,12 @@ export default function CommunityCollections() {
🌍

- {searchQuery ? 'No collections found' : 'No public collections yet'} + {searchQuery ? 'No lists found' : 'No public lists yet'}

{searchQuery ? 'Try adjusting your search terms' - : 'Be the first to share a public collection with the community!' + : 'Be the first to share a public list with the community!' }

{!searchQuery && ( diff --git a/pages/index.js b/pages/index.js index 5388c54..c2f0f9f 100644 --- a/pages/index.js +++ b/pages/index.js @@ -223,7 +223,7 @@ export default function Home() {

{collection.name}

- {collection.description || 'A carefully curated collection'} + {collection.description || 'A carefully curated list'}

diff --git a/pages/invite/accept.js b/pages/invite/accept.js index 6644a3d..61e062d 100644 --- a/pages/invite/accept.js +++ b/pages/invite/accept.js @@ -69,7 +69,7 @@ export default function AcceptInvite() { Invitation Accepted!

- You now have access to the collection "{result.collection.name}". + You now have access to the list "{result.collection.name}".