feat: enhance internationalization support with dynamic routing

This commit is contained in:
radishzzz 2025-01-18 02:25:00 +00:00
parent d6c98880d3
commit 8c19d26cfd
12 changed files with 199 additions and 87 deletions

38
pnpm-lock.yaml generated
View file

@ -2736,8 +2736,8 @@ packages:
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
eslint-plugin-jsdoc@50.6.1:
resolution: {integrity: sha512-UWyaYi6iURdSfdVVqvfOs2vdCVz0J40O/z/HTsv2sFjdjmdlUI/qlKLOTmwbPQ2tAfQnE5F9vqx+B+poF71DBQ==}
eslint-plugin-jsdoc@50.6.2:
resolution: {integrity: sha512-n7GNZ4czMAAbDg7DsDA7PvHo1IPIUwAXYmxTx6j/hTlXbt5V0x5q/kGkiJ7s4wA9SpB/yaiK8jF7CO237lOLew==}
engines: {node: '>=18'}
peerDependencies:
eslint: ^7.0.0 || ^8.0.0 || ^9.0.0
@ -2930,8 +2930,8 @@ packages:
fastq@1.18.0:
resolution: {integrity: sha512-QKHXPW0hD8g4UET03SdOdunzSouc9N4AuHdsX8XNcTsuz+yYFILVNIX4l9yHABMhiEI9Db0JTTIpu0wB+Y1QQw==}
fdir@6.4.2:
resolution: {integrity: sha512-KnhMXsKSPZlAhp7+IjUkRZKPb4fUyccpDrdFXbi4QL1qkmFh9kVY09Yox+n4MaOb3lHZ1Tv829C3oaaXoMYPDQ==}
fdir@6.4.3:
resolution: {integrity: sha512-PMXmW2y1hDDfTSRc9gaXIuCCRpuoz3Kaz8cUelp3smouvfT632ozg2vrT6lJsHKKOF59YLbOGfAWGUcKEfRMQw==}
peerDependencies:
picomatch: ^3 || ^4
peerDependenciesMeta:
@ -3545,8 +3545,8 @@ packages:
jsonfile@6.1.0:
resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==}
katex@0.16.20:
resolution: {integrity: sha512-jjuLaMGD/7P8jUTpdKhA9IoqnH+yMFB3sdAFtq5QdAqeP2PjiSbnC3EaguKPNtv6dXXanHxp1ckwvF4a86LBig==}
katex@0.16.21:
resolution: {integrity: sha512-XvqR7FgOHtWupfMiigNzmh+MgUVmDGU2kXZm899ZkPfcuoPuFxyHmXsgATDpFZDAXCI8tvinaVcDo8PIIJSo4A==}
hasBin: true
keyv@4.5.4:
@ -4222,8 +4222,8 @@ packages:
pathe@1.1.2:
resolution: {integrity: sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==}
pathe@2.0.1:
resolution: {integrity: sha512-6jpjMpOth5S9ITVu5clZ7NOgHNsv5vRQdheL9ztp2vZmM6fRbLvyua1tiBIL4lk8SAe3ARzeXEly6siXCjDHDw==}
pathe@2.0.2:
resolution: {integrity: sha512-15Ztpk+nov8DR524R4BF7uEuzESgzUEAV4Ah7CUMNGXdE5ELuvxElxGXndBl32vMSsWa1jpNf22Z+Er3sKwq+w==}
perfect-debounce@1.0.0:
resolution: {integrity: sha512-xCy9V055GLEqoFaHoC1SoLIaLmWctgCUaBaWxDZ7/Zx4CTyX7cJQLJOok/orfjZAh9kEYpjJa4d0KcJmCbctZA==}
@ -5755,7 +5755,7 @@ snapshots:
eslint-plugin-antfu: 2.7.0(eslint@9.18.0(jiti@2.4.2))
eslint-plugin-command: 2.1.0(eslint@9.18.0(jiti@2.4.2))
eslint-plugin-import-x: 4.6.1(eslint@9.18.0(jiti@2.4.2))(typescript@5.7.3)
eslint-plugin-jsdoc: 50.6.1(eslint@9.18.0(jiti@2.4.2))
eslint-plugin-jsdoc: 50.6.2(eslint@9.18.0(jiti@2.4.2))
eslint-plugin-jsonc: 2.18.2(eslint@9.18.0(jiti@2.4.2))
eslint-plugin-n: 17.15.1(eslint@9.18.0(jiti@2.4.2))
eslint-plugin-no-only-tests: 3.3.0
@ -8838,7 +8838,7 @@ snapshots:
eslint-flat-config-utils@1.0.0:
dependencies:
pathe: 2.0.1
pathe: 2.0.2
eslint-import-resolver-node@0.3.9:
dependencies:
@ -8910,7 +8910,7 @@ snapshots:
- supports-color
- typescript
eslint-plugin-jsdoc@50.6.1(eslint@9.18.0(jiti@2.4.2)):
eslint-plugin-jsdoc@50.6.2(eslint@9.18.0(jiti@2.4.2)):
dependencies:
'@es-joy/jsdoccomment': 0.49.0
are-docs-informative: 0.0.2
@ -9204,7 +9204,7 @@ snapshots:
dependencies:
reusify: 1.0.4
fdir@6.4.2(picomatch@4.0.2):
fdir@6.4.3(picomatch@4.0.2):
optionalDependencies:
picomatch: 4.0.2
@ -9898,7 +9898,7 @@ snapshots:
optionalDependencies:
graceful-fs: 4.2.11
katex@0.16.20:
katex@0.16.21:
dependencies:
commander: 8.3.0
@ -10446,7 +10446,7 @@ snapshots:
dependencies:
'@types/katex': 0.16.7
devlop: 1.1.0
katex: 0.16.20
katex: 0.16.21
micromark-factory-space: 2.0.1
micromark-util-character: 2.1.1
micromark-util-symbol: 2.0.1
@ -10669,7 +10669,7 @@ snapshots:
mlly@1.7.4:
dependencies:
acorn: 8.14.0
pathe: 2.0.1
pathe: 2.0.2
pkg-types: 1.3.1
ufo: 1.5.4
@ -10910,7 +10910,7 @@ snapshots:
pathe@1.1.2: {}
pathe@2.0.1: {}
pathe@2.0.2: {}
perfect-debounce@1.0.0: {}
@ -10936,7 +10936,7 @@ snapshots:
dependencies:
confbox: 0.1.8
mlly: 1.7.4
pathe: 2.0.1
pathe: 2.0.2
pluralize@8.0.0: {}
@ -11347,7 +11347,7 @@ snapshots:
'@types/katex': 0.16.7
hast-util-from-html-isomorphic: 2.0.0
hast-util-to-text: 4.0.2
katex: 0.16.20
katex: 0.16.21
unist-util-visit-parents: 6.0.1
vfile: 6.0.3
@ -12026,7 +12026,7 @@ snapshots:
tinyglobby@0.2.10:
dependencies:
fdir: 6.4.2(picomatch@4.0.2)
fdir: 6.4.3(picomatch@4.0.2)
picomatch: 4.0.2
to-regex-range@5.0.1: