mirror of
https://github.com/jakejarvis/sofa.git
synced 2026-08-29 05:05:38 -04:00
feat(native): internationalize tab bar labels and improve recently-viewed row
- Wrap tab bar trigger labels and stack screen titles with `useLingui()` / `t` so they translate correctly across all 6 supported locales - Swap `IconDeviceTv` → `IconDeviceTvOld` in the recently-viewed badge to match the icon used elsewhere in the app - Show the type icon inside the pill badge and display a department label (Actor, Director, Writer, etc.) for person results instead of the generic "Person" / "TV" label - Suppress the subtitle row for person results (department is shown in the badge instead) - Merge the separate iOS/Android `headerTitleStyle` variables in `TabStack` into a single shared style - Mark `packages/i18n/src/po/*` as readonly/excluded in VS Code settings alongside `routeTree.gen.ts` - Extract and compile updated PO/TS catalogs for all locales (de, en, es, fr, it, pt)
This commit is contained in:
Vendored
+6
-3
@@ -7,13 +7,16 @@
|
||||
"source.fixAll.oxlint": "explicit"
|
||||
},
|
||||
"files.readonlyInclude": {
|
||||
"**/routeTree.gen.ts": true
|
||||
"**/routeTree.gen.ts": true,
|
||||
"packages/i18n/src/po/*": true
|
||||
},
|
||||
"files.watcherExclude": {
|
||||
"**/routeTree.gen.ts": true
|
||||
"**/routeTree.gen.ts": true,
|
||||
"packages/i18n/src/po/*": true
|
||||
},
|
||||
"search.exclude": {
|
||||
"**/routeTree.gen.ts": true
|
||||
"**/routeTree.gen.ts": true,
|
||||
"packages/i18n/src/po/*": true
|
||||
},
|
||||
"emmet.showExpandedAbbreviation": "never",
|
||||
"[javascript]": {
|
||||
|
||||
Reference in New Issue
Block a user