diff --git a/invoice_az/client/employee.js b/invoice_az/client/employee.js index aa8d743..37b6de6 100644 --- a/invoice_az/client/employee.js +++ b/invoice_az/client/employee.js @@ -724,7 +724,7 @@ function attach_amas_import_listeners(listview, asan_login_name, total_hint) { __('Importing from ƏMAS'), 0, total, total ? __('Starting import of {0} employees...', [total]) - : __('Reconnecting to import in progress... waiting for next update') + : __('Importing employees, please wait...') ); ensure_cancel_button(dialog); @@ -743,7 +743,9 @@ function attach_amas_import_listeners(listview, asan_login_name, total_hint) { } else if (knownTotal > 0) { detail = verb + __('{0} of {1}', [lastCurrent, knownTotal]); } else { - detail = __('Reconnecting to import in progress... waiting for next update'); + // Running, but no count yet (first tick not in, or server hasn't + // populated progress). Keep it reassuring rather than alarming. + detail = __('Importing employees, please wait...'); } // Guard against total=0 (NaN width); show_progress reuses the dialog. const d = frappe.show_progress(