refactor(i18n): move person text out of ui.json and localize structure-held strings (spec-v4 rows 18-19)

Row 18: ui.about.subtitle/experience.tldrText/philosophy.quotes -> profile.subtitle/.tldr/.philosophyQuotes in content.{vi,en}.json; call sites repointed with EditableText wrap; SectionHeading subtitle prop becomes ReactNode; edit.fields labels added. Row 19: experience.company/.duration, projects.role/.metrics, profile.currentInterests/.roles, philosophy keywords move to text documents; VI carries localized dates/company labels/metrics, en overrides with originals, proper nouns and term lists identical (en omits); draft templates, JsonPanel hints, loader comments, resume TL;DR follow the new shapes. Verified: build, validate:content, lint (no new warnings), smoke-draft 7/7, per-language SSR marker smoke on affected routes, build:resume-all.
This commit is contained in:
dong.nguyen committed 2026-10-22 22:53:26 +07:00
1 parent 2c3ee8271d
commit fecbd44899
23 files changed
+273 -169

No files matched your search

+1 -1
View File
@@ -154,7 +154,7 @@ function renderTldr(lang: Language): string {
return `
<div class="timeline-tldr avoid-break">
<div class="timeline-tldr-chip">${escapeHtml(UI[lang].experience.tldr)}</div>
<div class="timeline-tldr-text">${escapeHtml(UI[lang].experience.tldrText)}</div>
<div class="timeline-tldr-text">${escapeHtml(CONTENT[lang].profile.tldr)}</div>
</div>
`;
}