fix(loyalty): use correct no-results text in PIN staff autocomplete
PIN create/edit modals were showing "Customer not found" (terminal message) when no staff members matched. Now shows "No staff members found" with a proper locale key. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -358,7 +358,8 @@
|
|||||||
"cancel": "Abbrechen",
|
"cancel": "Abbrechen",
|
||||||
"read_only_notice": "PINs sind in der Admin-Ansicht schreibgeschützt",
|
"read_only_notice": "PINs sind in der Admin-Ansicht schreibgeschützt",
|
||||||
"save_changes": "Speichern",
|
"save_changes": "Speichern",
|
||||||
"unlock": "Entsperren"
|
"unlock": "Entsperren",
|
||||||
|
"no_staff_found": "Keine Mitarbeiter gefunden"
|
||||||
},
|
},
|
||||||
"program_form": {
|
"program_form": {
|
||||||
"program_type": "Programmtyp",
|
"program_type": "Programmtyp",
|
||||||
|
|||||||
@@ -358,7 +358,8 @@
|
|||||||
"cancel": "Cancel",
|
"cancel": "Cancel",
|
||||||
"read_only_notice": "PINs are read-only in admin view",
|
"read_only_notice": "PINs are read-only in admin view",
|
||||||
"save_changes": "Save Changes",
|
"save_changes": "Save Changes",
|
||||||
"unlock": "Unlock"
|
"unlock": "Unlock",
|
||||||
|
"no_staff_found": "No staff members found"
|
||||||
},
|
},
|
||||||
"program_form": {
|
"program_form": {
|
||||||
"program_type": "Program Type",
|
"program_type": "Program Type",
|
||||||
|
|||||||
@@ -358,7 +358,8 @@
|
|||||||
"cancel": "Annuler",
|
"cancel": "Annuler",
|
||||||
"read_only_notice": "Les PINs sont en lecture seule en mode admin",
|
"read_only_notice": "Les PINs sont en lecture seule en mode admin",
|
||||||
"save_changes": "Enregistrer",
|
"save_changes": "Enregistrer",
|
||||||
"unlock": "Déverrouiller"
|
"unlock": "Déverrouiller",
|
||||||
|
"no_staff_found": "Aucun membre du personnel trouvé"
|
||||||
},
|
},
|
||||||
"program_form": {
|
"program_form": {
|
||||||
"program_type": "Type de programme",
|
"program_type": "Type de programme",
|
||||||
|
|||||||
@@ -358,7 +358,8 @@
|
|||||||
"cancel": "Ofbriechen",
|
"cancel": "Ofbriechen",
|
||||||
"read_only_notice": "PINen sinn an der Admin-Usiicht nëmmen ze liesen",
|
"read_only_notice": "PINen sinn an der Admin-Usiicht nëmmen ze liesen",
|
||||||
"save_changes": "Späicheren",
|
"save_changes": "Späicheren",
|
||||||
"unlock": "Entspären"
|
"unlock": "Entspären",
|
||||||
|
"no_staff_found": "Keng Mataarbechter fonnt"
|
||||||
},
|
},
|
||||||
"program_form": {
|
"program_form": {
|
||||||
"program_type": "Programmtyp",
|
"program_type": "Programmtyp",
|
||||||
|
|||||||
@@ -146,8 +146,8 @@
|
|||||||
secondary_field='email',
|
secondary_field='email',
|
||||||
placeholder=_('loyalty.shared.pins.pin_name'),
|
placeholder=_('loyalty.shared.pins.pin_name'),
|
||||||
min_chars=1,
|
min_chars=1,
|
||||||
no_results_text=_('loyalty.store.terminal.customer_not_found'),
|
no_results_text=_('loyalty.shared.pins.no_staff_found'),
|
||||||
loading_text=_('loyalty.store.terminal.looking_up')
|
loading_text=_('loyalty.common.loading')
|
||||||
) }}
|
) }}
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
@@ -208,8 +208,8 @@
|
|||||||
secondary_field='email',
|
secondary_field='email',
|
||||||
placeholder=_('loyalty.shared.pins.pin_name'),
|
placeholder=_('loyalty.shared.pins.pin_name'),
|
||||||
min_chars=1,
|
min_chars=1,
|
||||||
no_results_text=_('loyalty.store.terminal.customer_not_found'),
|
no_results_text=_('loyalty.shared.pins.no_staff_found'),
|
||||||
loading_text=_('loyalty.store.terminal.looking_up')
|
loading_text=_('loyalty.common.loading')
|
||||||
) }}
|
) }}
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
Reference in New Issue
Block a user