From 052da8c3a7606063b7c037b8bf410f09fa8cbb0e Mon Sep 17 00:00:00 2001 From: Julian Cuni Date: Sat, 20 Jun 2026 16:51:54 +0200 Subject: [PATCH] i18n: relabel X/Z report UI to plain language (keep X/Z in code) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The "X-REPORT / Z-REPORT" labels are till-accounting jargon operators don't recognize. Relabel the user-facing strings to plain wording in both catalogs — SQ: "ARKËTIMET DERI TANI" / "MBYLLJA E TURNIT"; EN: "TAKINGS SO FAR" / "SHIFT CLOSE". The X/Z naming stays in code (xReport/zReport keys, the shift_z_report event, currentReport) and the wiki. Claude-Session: https://claude.ai/code/session_01Xcm6ikLgGoCxxHrxtjkk5V --- apps/web/src/lib/i18n/en.ts | 6 +++--- apps/web/src/lib/i18n/sq.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/web/src/lib/i18n/en.ts b/apps/web/src/lib/i18n/en.ts index 87b4c4a..88d3128 100644 --- a/apps/web/src/lib/i18n/en.ts +++ b/apps/web/src/lib/i18n/en.ts @@ -527,11 +527,11 @@ export const en: Catalog = { voucherRecorded: "Voucher {{no}} recorded. Drawer now {{amount}}.", enterPositive: "Enter a positive amount.", drawerNow: "Drawer now {{amount}}.", - zReport: "Z-REPORT", + zReport: "SHIFT CLOSE", viewTakings: "Takings so far", - xReport: "X-REPORT (so far)", + xReport: "TAKINGS SO FAR", asOf: "as of", - xReportHint: "Read-only snapshot — nothing is recorded. The Z-report at close will sign these figures.", + xReportHint: "View only — nothing is recorded. These figures are signed when the shift is closed.", payments: "Payments:", cash: "Cash:", card: "Card:", diff --git a/apps/web/src/lib/i18n/sq.ts b/apps/web/src/lib/i18n/sq.ts index b9e99d0..3ef24e7 100644 --- a/apps/web/src/lib/i18n/sq.ts +++ b/apps/web/src/lib/i18n/sq.ts @@ -539,11 +539,11 @@ export const sq = { voucherRecorded: "Mandati {{no}} u regjistrua. Arka tani {{amount}}.", enterPositive: "Shkruaj një shumë pozitive.", drawerNow: "Arka tani {{amount}}.", - zReport: "RAPORT Z", + zReport: "MBYLLJA E TURNIT", viewTakings: "Arkëtimet deri tani", - xReport: "RAPORT X (deri tani)", + xReport: "ARKËTIMET DERI TANI", asOf: "deri më", - xReportHint: "Pamje vetëm për lexim — asgjë nuk regjistrohet. Raporti Z në mbyllje i nënshkruan këto shifra.", + xReportHint: "Vetëm për shikim — asgjë nuk regjistrohet. Këto shifra nënshkruhen kur mbyllet turni.", payments: "Pagesa:", cash: "Para:", card: "Kartë:",