Make this collection discoverable by other users
@@ -989,10 +990,10 @@ export default function CollectionView() {
- Delete Collection
+ Delete List
- Are you sure you want to delete "{collection.name}"? This action cannot be undone and will permanently remove all cards and data associated with this collection.
+ Are you sure you want to delete "{collectionDisplayName(collection)}"? This action cannot be undone and will permanently remove all cards and data associated with this list.
@@ -1037,7 +1038,7 @@ export default function CollectionView() {
{/* Show login CTA for non-authenticated users */}
{!user && collection?.isPublic && (
-
+
)}
);
diff --git a/pages/collections.js b/pages/collections.js
index 41e46a9..1b93f50 100644
--- a/pages/collections.js
+++ b/pages/collections.js
@@ -4,6 +4,7 @@ import Layout from '../components/Layout';
import PermissionIndicator from '../components/PermissionIndicator';
import { useAuth } from '../lib/use-auth';
import Link from 'next/link';
+import { VOCAB, collectionDisplayName } from '../lib/collection-vocabulary.js';
export default function Collections() {
const router = useRouter();
@@ -154,7 +155,7 @@ export default function Collections() {
fetchCollections();
} else {
const error = await response.json();
- alert(error.error || 'Failed to create collection');
+ alert(error.error || 'Failed to create list');
}
} catch (error) {
console.error('Error creating collection:', error);
@@ -185,7 +186,7 @@ export default function Collections() {
setEditTagInput(''); // Clear the tag input
} 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);
@@ -194,7 +195,7 @@ export default function Collections() {
};
const handleDeleteCollection = async (collectionId) => {
- if (confirm('Are you sure you want to delete this collection? This action cannot be undone.')) {
+ if (confirm('Are you sure you want to delete this list? This action cannot be undone.')) {
try {
const response = await fetch(`/api/collections/${collectionId}`, {
method: 'DELETE'
@@ -204,7 +205,7 @@ export default function Collections() {
fetchCollections(); // Refresh the list
} 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);
@@ -388,10 +389,10 @@ export default function Collections() {
- My Collections
+ {VOCAB.LISTS}
- Collections you own, collaborate on, or have been shared with you
+ Lists you own, collaborate on, or have been shared with you
@@ -414,7 +415,7 @@ export default function Collections() {
color: 'white'
}}
>
- + Create Collection
+ + Create List
@@ -426,7 +427,7 @@ export default function Collections() {
setSearchQuery(e.target.value)}
@@ -454,12 +455,12 @@ export default function Collections() {
📦
- {searchQuery ? 'No collections found' : 'No collections yet'}
+ {searchQuery ? 'No lists found' : 'No lists yet'}
{searchQuery
? 'Try adjusting your search terms'
- : 'Create your first collection to get started'
+ : 'Create your first list to get started'
}
{!searchQuery && (
@@ -471,7 +472,7 @@ export default function Collections() {
color: 'white'
}}
>
- Create Collection
+ Create List
)}
@@ -493,7 +494,7 @@ export default function Collections() {
- {collection.name}
+ {collectionDisplayName(collection)}
{/* System collection indicator */}
{collection.isSystemCollection && (
@@ -506,7 +507,7 @@ export default function Collections() {
- Automatically syncs with your owned cards
+ {VOCAB.SYSTEM_COLLECTION_SYNC_HINT}
@@ -638,19 +639,19 @@ export default function Collections() {
- Create New Collection
+ Create New List
setNewCollection({...newCollection, name: e.target.value})}
- placeholder="Enter collection name"
+ placeholder="Enter list name"
/>
@@ -662,7 +663,7 @@ export default function Collections() {
rows="3"
value={newCollection.description}
onChange={(e) => setNewCollection({...newCollection, description: e.target.value})}
- placeholder="Describe your collection"
+ placeholder="Describe your list"
/>
@@ -734,7 +735,7 @@ export default function Collections() {
)}
- Add tags to help organize and categorize your collection
+ Add tags to help organize and categorize your list
@@ -742,10 +743,10 @@ export default function Collections() {
- Make this collection discoverable by other users
+ Make this list discoverable by other users
@@ -799,10 +800,10 @@ export default function Collections() {
🎉
- Collection Created!
+ List Created!
- Your collection "{createdCollection.name}" has been created successfully.
+ Your list "{createdCollection.name}" has been created successfully.
@@ -838,12 +839,12 @@ export default function Collections() {
- Edit Collection
+ Edit List
diff --git a/pages/community/collections.js b/pages/community/collections.js
index 72f767c..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();
@@ -198,10 +199,10 @@ export default function CommunityCollections() {
- Community Collections
+ 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 && (
@@ -255,7 +256,7 @@ export default function CommunityCollections() {
color: 'white'
}}
>
- Go to My Collections
+ Go to My Lists
)}
diff --git a/pages/dashboard.js b/pages/dashboard.js
index 8ba0f8f..a8cef08 100644
--- a/pages/dashboard.js
+++ b/pages/dashboard.js
@@ -4,6 +4,7 @@ import Layout from '../components/Layout';
import PermissionIndicator from '../components/PermissionIndicator';
import { useAuth } from '../lib/use-auth';
import Link from 'next/link';
+import { VOCAB } from '../lib/collection-vocabulary.js';
export default function Dashboard() {
const router = useRouter();
@@ -79,7 +80,7 @@ export default function Dashboard() {
- My Collections
+ {VOCAB.LISTS}
Manage your collection of trading cards and decks
@@ -92,7 +93,7 @@ export default function Dashboard() {
- Create Collection
+ Create List
@@ -119,7 +120,7 @@ export default function Dashboard() {
{collections.length}
-
Collections
+
Lists
@@ -159,7 +160,7 @@ export default function Dashboard() {
{/* Collections Grid */}
-
Recent Collections
+
Recent Lists
{collections.length === 0 ? (
@@ -167,13 +168,13 @@ export default function Dashboard() {
-
No Collections Yet
+
No Lists Yet
Create your first collection to start organizing your cards
@@ -219,7 +220,7 @@ export default function Dashboard() {
diff --git a/pages/index.js b/pages/index.js
index 03a6724..c2f0f9f 100644
--- a/pages/index.js
+++ b/pages/index.js
@@ -118,7 +118,7 @@ export default function Home() {
borderColor: 'var(--accent-ember)'
}}
>
- Explore Collections
+ Explore Lists
@@ -137,7 +137,7 @@ export default function Home() {
-
Organize Collections
+
Organize Lists
Create custom collections, track card values, and organize by sets, rarity, or any system that works for you.
@@ -173,7 +173,7 @@ export default function Home() {
- Featured Collections
+ Featured Lists
Discover amazing collections from our community
@@ -223,7 +223,7 @@ export default function Home() {
{collection.name}
- {collection.description || 'A carefully curated collection'}
+ {collection.description || 'A carefully curated list'}
@@ -247,7 +247,7 @@ export default function Home() {
border: '2px solid var(--accent-ember)'
}}
>
- View All Collections
+ View All Lists
diff --git a/pages/invite/accept.js b/pages/invite/accept.js
index 56907c5..61e062d 100644
--- a/pages/invite/accept.js
+++ b/pages/invite/accept.js
@@ -69,14 +69,14 @@ 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}".
@@ -104,7 +104,7 @@ export default function AcceptInvite() {
onClick={() => router.push('/collections')}
className="w-full px-6 py-3 rounded-lg font-medium gradient-bg-purple text-white hover:shadow-lg transform hover:scale-105 transition-all duration-200"
>
- Browse Collections
+ Browse Lists