mirror of
https://github.com/dong-nz/cv.git
synced 2026-11-23 00:20:40 +07:00
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:
1 parent
2c3ee8271d
commit
fecbd44899
23 files changed
+273
-169
No files matched your search
@@ -23,7 +23,15 @@ export function AboutPage() {
|
||||
>
|
||||
<SectionHeading
|
||||
title={s.about.heading}
|
||||
subtitle={s.about.subtitle}
|
||||
subtitle={
|
||||
<EditableText
|
||||
as="p"
|
||||
path="profile.subtitle"
|
||||
label={s.edit.fields.subtitle}
|
||||
>
|
||||
{c.profile.subtitle}
|
||||
</EditableText>
|
||||
}
|
||||
tag={s.about.heading}
|
||||
/>
|
||||
<EditableText
|
||||
|
||||
Reference in new issue
Block a user