From 1535758df8dd36e7b95c59dcdd51a673b1611aed Mon Sep 17 00:00:00 2001 From: Bissbert <43237892+Bissbert@users.noreply.github.com> Date: Tue, 12 May 2026 09:44:30 +0700 Subject: [PATCH] style(copy): scrub login mentions, BrE, em-dashes, AI tells in components - AdminPanel: rename "Admin Login" / "Login" / "Logout" to "Admin Access" / "Enter" / "Exit" - HardnessReference: jewelry -> jewellery (4 occurrences) - ProportionAnalyzer/AdvancedTools: "Analyzer" -> "Analyser" in rendered text and JSDoc - PolariscopeGuide, AdvancedTools: "comprehensive" -> "thorough" / "detailed" - Em-dashes replaced with colon, semicolon, comma, or full stop in 15 components - Matching test assertions updated in RationalePanel.test.tsx and ScheduleBadge.test.tsx --- src/components/admin/AdminPanel.tsx | 6 +++--- src/components/advanced/AdvancedTools.tsx | 6 +++--- src/components/advanced/ProportionAnalyzer.tsx | 6 +++--- src/components/advanced/TreatmentWizard.tsx | 4 ++-- src/components/calculator/HannemanRI.tsx | 4 ++-- src/components/calculator/RICalculator.tsx | 6 +++--- src/components/calculator/SGCalculator.tsx | 2 +- .../identification/HardnessReference.tsx | 10 +++++----- src/components/lab/SpectroscopeBandMatcher.tsx | 2 +- src/components/optical/OpticSignReasoner.tsx | 8 ++++---- src/components/optical/PleochroismReasoner.tsx | 6 +++--- src/components/optical/PolariscopeGuide.tsx | 2 +- src/components/quiz/study/ConfidenceTap.tsx | 2 +- .../quiz/study/ExportImportPanel.tsx | 2 +- src/components/quiz/study/LearnQuizWidget.tsx | 2 +- .../quiz/study/RationalePanel.test.tsx | 8 ++++---- src/components/quiz/study/RationalePanel.tsx | 4 ++-- .../quiz/study/ScheduleBadge.test.tsx | 2 +- src/components/quiz/study/ScheduleBadge.tsx | 2 +- src/components/quiz/study/StudyDevHarness.tsx | 18 +++++++++--------- .../quiz/study/StudyReviewScreen.tsx | 4 ++-- 21 files changed, 53 insertions(+), 53 deletions(-) diff --git a/src/components/admin/AdminPanel.tsx b/src/components/admin/AdminPanel.tsx index dfbb7e5..f0709fd 100644 --- a/src/components/admin/AdminPanel.tsx +++ b/src/components/admin/AdminPanel.tsx @@ -261,7 +261,7 @@ export function AdminPanel() {
- Admin Login + Admin Access
@@ -286,7 +286,7 @@ export function AdminPanel() { )}
@@ -303,7 +303,7 @@ export function AdminPanel() {

Admin Panel

diff --git a/src/components/advanced/AdvancedTools.tsx b/src/components/advanced/AdvancedTools.tsx index 6c8ce0f..2f62356 100644 --- a/src/components/advanced/AdvancedTools.tsx +++ b/src/components/advanced/AdvancedTools.tsx @@ -39,7 +39,7 @@ export function AdvancedTools() {

Origin Determination

- Geographic origin determination requires comprehensive knowledge of inclusion suites, - trace element chemistry, and regional characteristics. See our in-depth learn section: + Geographic origin determination requires detailed knowledge of inclusion suites, + trace element chemistry, and regional characteristics. See the learn section:

- Educational reference only — formal GIA grading also weighs symmetry, polish, and overall appeal. + Educational reference only. Formal GIA grading also weighs symmetry, polish, and overall appeal.

)} diff --git a/src/components/advanced/TreatmentWizard.tsx b/src/components/advanced/TreatmentWizard.tsx index 6a11620..943c01d 100644 --- a/src/components/advanced/TreatmentWizard.tsx +++ b/src/components/advanced/TreatmentWizard.tsx @@ -130,8 +130,8 @@ export function TreatmentWizard() { ) : verdicts.length === 0 ? (
- Selected clues do not point to any common treatment — likely natural / untreated within - the limits of these observations. + Selected clues do not point to any common treatment; the stone is likely natural or untreated + within the limits of these observations.
) : (
diff --git a/src/components/calculator/HannemanRI.tsx b/src/components/calculator/HannemanRI.tsx index 7dd34b7..75fd1fa 100644 --- a/src/components/calculator/HannemanRI.tsx +++ b/src/components/calculator/HannemanRI.tsx @@ -30,7 +30,7 @@ const RELIEF_OPTIONS: { value: Relief; label: string }[] = [ const liquidOptions = CONTACT_LIQUIDS.map((l) => ({ value: l.id, - label: `${l.name} — RI ${l.ri.toFixed(3)}`, + label: `${l.name}: RI ${l.ri.toFixed(3)}`, })); export function HannemanRI() { @@ -106,7 +106,7 @@ export function HannemanRI() {
{rows.map((row, i) => (
- +