Function
germanTrans
(id: string, values?: Record<string, any>)
Source from the content-addressed store, hash-verified
| 9 | } |
| 10 | |
| 11 | const germanTrans = (id: string, values?: Record<string, any>) => { |
| 12 | let text = germanTranslations[id] || id |
| 13 | if (values) { |
| 14 | for (const [k, v] of Object.entries(values)) text = text.replace(`{${k}}`, String(v)) |
| 15 | } |
| 16 | return text |
| 17 | } |
| 18 | |
| 19 | describe("Integer validation with German translations (form-level localized schema)", () => { |
| 20 | it("should generate number metadata with int refinement for S.Int fields", () => { |
Callers
nothing calls this directly
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…