From 98681daf2f67c8b4d63d935f1a47ee24c0a627b3 Mon Sep 17 00:00:00 2001 From: Ali <010109ali@gmail.com> Date: Fri, 1 May 2026 16:25:01 +0000 Subject: [PATCH] Drop 'cache' from user-visible strings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit User-facing reword only — server-side method names (cache_selected_ employees, clear_amas_cache) stay as-is since they're not visible. ƏMAS done state: "Cached and ready" → "Ready to import", "Employees cached" → "Employees found", body line dropped the "cached on the server" lead-in. ƏMAS error strings: "Failed to cache" / "Network error while caching" → "Failed to save" / "Network error while saving". Asan done state: "Cached datasets" → "Loaded datasets". --- jey_wizard/__init__.py | 2 +- jey_wizard/public/js/jey_setup.js | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) 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 {
${__("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(); },