@glossarist/concept-browser 0.7.24 → 0.7.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glossarist/concept-browser",
3
- "version": "0.7.24",
3
+ "version": "0.7.25",
4
4
  "description": "Vue SPA for browsing Glossarist terminology datasets with cross-reference resolution, graph visualization, and multi-language support",
5
5
  "type": "module",
6
6
  "bin": {
@@ -9,7 +9,7 @@ import { useI18n } from '../i18n';
9
9
  const store = useVocabularyStore();
10
10
  const router = useRouter();
11
11
  const { getStyle } = useDsStyle();
12
- const { config: siteConfig, localizedTitle, localizedSubtitle, localizedDescription } = useSiteConfig();
12
+ const { config: siteConfig, localizedTitle, localizedSubtitle, localizedDescription, localizedDatasetField } = useSiteConfig();
13
13
  const { t } = useI18n();
14
14
  const exploring = ref(false);
15
15
 
@@ -121,7 +121,7 @@ function goToGraph() { router.push({ name: 'graph' }); }
121
121
  </h2>
122
122
  </div>
123
123
  <p v-if="filteredDatasets[0].manifest.description" class="text-sm text-ink-400 mb-4 line-clamp-2 leading-relaxed pl-6">
124
- {{ filteredDatasets[0].manifest.description }}
124
+ {{ localizedDatasetField(filteredDatasets[0].id, 'description', filteredDatasets[0].manifest.description) }}
125
125
  </p>
126
126
  <div class="flex items-center gap-3 pl-6 mb-4">
127
127
  <span :style="{ color: getStyle(filteredDatasets[0].id).color }" class="text-sm font-semibold tabular-nums">{{ filteredDatasets[0].manifest.conceptCount.toLocaleString() }}</span>
@@ -164,7 +164,7 @@ function goToGraph() { router.push({ name: 'graph' }); }
164
164
  </div>
165
165
 
166
166
  <p class="text-sm text-ink-400 mb-5 line-clamp-2 leading-relaxed pl-[22px]">
167
- {{ ds.manifest.description }}
167
+ {{ localizedDatasetField(ds.id, 'description', ds.manifest.description) }}
168
168
  </p>
169
169
 
170
170
  <div class="flex items-center gap-3 pl-[22px] mb-3">