diff --git a/jey_wizard/__init__.py b/jey_wizard/__init__.py index 6852ddf..9eb734d 100644 --- a/jey_wizard/__init__.py +++ b/jey_wizard/__init__.py @@ -1 +1 @@ -__version__ = "0.1.22" +__version__ = "0.1.23" diff --git a/jey_wizard/public/js/jey_setup.js b/jey_wizard/public/js/jey_setup.js index 623c377..f0a804a 100644 --- a/jey_wizard/public/js/jey_setup.js +++ b/jey_wizard/public/js/jey_setup.js @@ -10,7 +10,7 @@ frappe.provide("jey_wizard"); // Bump this string in every commit that changes wizard code. Displayed in the badge so // we can tell at a glance which version is actually running on a given machine. Kept in // sync with __version__ in jey_wizard/__init__.py. -const JEY_WIZARD_VERSION = "0.1.22"; +const JEY_WIZARD_VERSION = "0.1.23"; // Wipe Frappe + ERPNext default slides so their `before_load`/`after_load` listeners // don't try to mutate a wizard that isn't slide-based anymore. @@ -306,7 +306,7 @@ frappe.setup.SetupWizard = class JeySetupWizard {
  • ${__("VÖEN")}: ${frappe.utils.escape_html(this.data.asan_voen)}
  • -
    ${__("Cached datasets")}
    +
    ${__("Loaded datasets")}
    @@ -412,12 +412,12 @@ frappe.setup.SetupWizard = class JeySetupWizard { } else if (this.amas_state === "done") { const n = (this.data.amas_selected_employees || []).length; $body.html(` -

    ✓ ${__("Cached and ready")}

    +

    ✓ ${__("Ready to import")}

    ${__("Organization:")} ${frappe.utils.escape_html(this.data.amas_organization_name || "")}
    - ${__("Employees cached:")} ${n} + ${__("Employees found:")} ${n}
    -

    ${__("Cached on the server. Actual import into Employee / ƏMAS Employees runs as a background job right after you click Finish — you can keep working in /app while it runs.")}

    +

    ${__("Employees will be imported as a background job right after you click Finish — you can keep working in /app while the import runs.")}

    ${__("Click Next to continue, or Back to re-select.")}

    `); // No extra buttons here — Back/Next in nav cover everything. @@ -1356,7 +1356,7 @@ frappe.setup.SetupWizard = class JeySetupWizard { callback: (r) => { const m = r.message || {}; if (!m.ok) { - this.data.amas_last_error = __("Failed to cache employee selection on the server."); + this.data.amas_last_error = __("Failed to save the employee selection on the server."); this.amas_state = "intro"; this.show_current_step(); return; @@ -1367,7 +1367,7 @@ frappe.setup.SetupWizard = class JeySetupWizard { this.show_current_step(); }, error: () => { - this.data.amas_last_error = __("Network error while caching the employee selection."); + this.data.amas_last_error = __("Network error while saving the employee selection."); this.amas_state = "intro"; this.show_current_step(); },