Skill update round trip / roundtrip (false, macos-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, macos-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, ubuntu-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, ubuntu-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, ubuntu-latest, symlink, latest) (push) Canceled after 0s
Skill update round trip / roundtrip (false, windows-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, windows-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, macos-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, macos-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, ubuntu-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, ubuntu-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, windows-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, windows-latest, symlink, 1.5.17) (push) Canceled after 0s
23 lines
982 B
JavaScript
23 lines
982 B
JavaScript
import { CROSS_LOCALE_KEY_OVERRIDES } from './locale-cross-locale-key-overrides.mjs'
|
|
import { JA_KEY_OVERRIDES } from './locale-ja-key-overrides.mjs'
|
|
import { KO_KEY_OVERRIDES } from './locale-ko-key-overrides.mjs'
|
|
import { MACOS_TCC_KEY_OVERRIDES } from './locale-macos-tcc-key-overrides.mjs'
|
|
|
|
export function mergeLocaleKeyOverrides(base) {
|
|
const merged = { ...base }
|
|
for (const [key, overrides] of Object.entries(CROSS_LOCALE_KEY_OVERRIDES)) {
|
|
merged[key] = { ...merged[key], ...overrides }
|
|
}
|
|
for (const [key, overrides] of Object.entries(KO_KEY_OVERRIDES)) {
|
|
// KO split overrides can share keys with zh/ja repairs; merge per locale.
|
|
merged[key] = { ...merged[key], ...overrides }
|
|
}
|
|
for (const [key, overrides] of Object.entries(JA_KEY_OVERRIDES)) {
|
|
merged[key] = { ...merged[key], ...overrides }
|
|
}
|
|
for (const [key, overrides] of Object.entries(MACOS_TCC_KEY_OVERRIDES)) {
|
|
merged[key] = { ...merged[key], ...overrides }
|
|
}
|
|
return merged
|
|
}
|