Skip to content

Commit 42648ba

Browse files
jasonvargaclaude
andcommitted
Use __n pluralization for section badge text in ImportField
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 4c9d7a7 commit 42648ba

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

resources/js/components/blueprints/ImportField.vue

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,10 @@ export default {
8585
}
8686
8787
if (this.sectionBehavior === 'flatten') {
88-
return this.fieldsetSectionsCount === 1
89-
? __('Ignoring Section')
90-
: __('Ignoring Sections');
88+
return __n('Ignoring Section|Ignoring Sections', this.fieldsetSectionsCount);
9189
}
9290
93-
return this.fieldsetSectionsCount === 1
94-
? __('Has Section')
95-
: __('Has Sections');
91+
return __n('Has Section|Has Sections', this.fieldsetSectionsCount);
9692
},
9793
9894
fieldConfig() {

0 commit comments

Comments
 (0)