Skip to content

Commit b14d37e

Browse files
committed
feat: add translations for new field settings and empty states
1 parent de7aed0 commit b14d37e

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

resources/lang/en/custom-fields.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
'default' => [
2525
'new_section' => 'New Section',
2626
],
27+
'default_section_name' => 'Default',
2728
],
2829

2930
'field' => [
@@ -65,6 +66,12 @@
6566
],
6667
'add_field' => 'Add Field',
6768
'system_defined_cannot_delete' => 'System-defined fields cannot be deleted.',
69+
'allow_multiple' => 'Allow Multiple Values',
70+
'allow_multiple_help' => 'When enabled, users can enter multiple values for this field.',
71+
'max_values' => 'Maximum Values',
72+
'max_values_help' => 'The maximum number of values that can be entered.',
73+
'unique_per_entity_type' => 'Unique Per Entity Type',
74+
'unique_per_entity_type_help' => 'Each value can only be assigned to one record of this entity type.',
6875
'validation' => [
6976
'label' => 'Validation',
7077
'rules' => 'Validation Rules',
@@ -315,6 +322,7 @@
315322
'multi_parameter_missing' => 'This validation rule requires multiple parameters. Please add all required parameters.',
316323
'parameter_missing' => 'This validation rule requires exactly :count parameter(s). Please add all required parameters.',
317324
'invalid_rule_for_field_type' => 'The selected rule is not valid for this field type.',
325+
'unique_value' => 'The value ":value" is already assigned to another record.',
318326
],
319327

320328
'empty_states' => [
@@ -328,9 +336,19 @@
328336
'description' => 'Drag and drop fields here or click the button below to add your first field.',
329337
'icon' => 'heroicon-o-squares-plus',
330338
],
339+
'fields_no_sections' => [
340+
'heading' => 'No custom fields yet',
341+
'description' => 'Click the button below to add your first custom field.',
342+
'icon' => 'heroicon-o-squares-plus',
343+
],
331344
],
332345

333346
'common' => [
334347
'inactive' => 'Inactive',
335348
],
349+
350+
'email' => [
351+
'add_email_placeholder' => 'Add email address...',
352+
],
353+
336354
];

0 commit comments

Comments
 (0)