Repository navigation
Commit f67947d
committed
refactor(i18n): derive eloqnt locales from i18n config, drop ui-components from srcPath
The locale list now comes from packages/i18n/src/config.json (enabled
locales only) instead of being duplicated. 'infer' is not used because it
would pick up the disabled ar.json from disk.
packages/ui-components does not use next-intl — components receive
translated strings as props — and removing it from srcPath leaves the
lint result unchanged (verified: 0 errors, 562 warnings).1 parent 7329aab commit f67947d
1 file changed
Lines changed: 5 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | | - | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
23 | 11 | | |
24 | 12 | | |
25 | 13 | | |
| |||
0 commit comments