Skip to content

Commit 2664ceb

Browse files
claudeenko
authored andcommitted
fix(frontend): Use correct singular form for circle preview placeholder
Add circles.form.defaultName translation key for the preview placeholder text instead of using circles.title (which is plural "Circles"/"Kreise").
1 parent b9095a7 commit 2664ceb

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

apps/frontend/src/lib/components/circles/CircleEditModal.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ function handleBackdropClick(e: MouseEvent) {
276276
<span class="block text-sm font-body font-semibold text-gray-700 mb-2">
277277
{$i18n.t('circles.form.preview')}
278278
</span>
279-
<CircleChip circle={{ id: 'preview', name: formName || $i18n.t('circles.title'), color: formColor }} size="md" />
279+
<CircleChip circle={{ id: 'preview', name: formName || $i18n.t('circles.form.defaultName'), color: formColor }} size="md" />
280280
</div>
281281

282282
<!-- Error message -->

apps/frontend/src/lib/i18n/locales/de.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@
248248
"edit": "Kreis bearbeiten"
249249
},
250250
"name": "Name",
251+
"defaultName": "Kreisname",
251252
"namePlaceholder": "z.B. Familie, Arbeit, Schule",
252253
"description": "Beschreibung",
253254
"descriptionPlaceholder": "Wofür ist dieser Kreis?",

apps/frontend/src/lib/i18n/locales/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@
248248
"edit": "Edit Circle"
249249
},
250250
"name": "Name",
251+
"defaultName": "Circle Name",
251252
"namePlaceholder": "e.g., Family, Work, School",
252253
"description": "Description",
253254
"descriptionPlaceholder": "What is this circle for?",

0 commit comments

Comments
 (0)