// SPDX-FileCopyrightText: 2025 Ethan Reece // // SPDX-License-Identifier: LGPL-3.0-or-later #import "@preview/linguify:0.4.2": linguify #import "../lib.typ": reset #let lang-data = toml("lang.toml") #let l(content) = linguify(content, from: lang-data) #let Current_GPA = l("Current_GPA") #let Expected_Graduation = l("Expected_Graduation") #let GPA = l("GPA") #let Unweighted_GPA = l("Unweighted_GPA") #let Weighted_GPA = l("Weighted_GPA") #let coursework(completed: (), current: ()) = reset( grid( gutter: 0.95em, heading( level: 4, text( weight: "medium", l("relevant-coursework"), ), ), pad( left: 1.5em, text( size: 0.95em, grid( columns: 2, rows: 2, gutter: 1em, heading( level: 5, text( weight: "regular", l("Completed"), ), ), text( weight: "light", par( justify: true, completed.join(", "), ), ), heading( level: 5, text( weight: "regular", l("Current"), ), ), text( weight: "light", par( justify: true, current.join(", "), ), ), ), ), ), ), )