Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ab0d601

Browse files
fix: use the locale name as-is
1 parent d674d56 commit ab0d601

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎.github/scripts/generate-locale-matrix.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,8 @@ function processAutoTrigger(localeConfig, changesJson) {
205205
// Check each locale dynamically from config
206206
for (const locale of Object.keys(localeConfig)) {
207207
if (isLocaleEnabled(localeConfig, locale)) {
208-
const localeKey = locale.replace('-', '_'); // Convert locale key for changes JSON
208+
// For changes JSON, use the locale name as-is (no conversion needed)
209+
const localeKey = locale; // Keep original locale name for changes JSON key
209210
const localeChanged = changesJson[`${localeKey}_any_changed`] === 'true';
210211

211212
if (coreChanged || localeChanged) {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /