Skip to content

Conversation

@rschristian
Copy link
Member

No description provided.

@github-actions
Copy link

github-actions bot commented Oct 10, 2025

Size Change: +488 B (+0.11%)

Total Size: 449 kB

Filename Size Change
build/assets/index-********.js 31.1 kB -1.49 kB (-4.57%)
build/assets/blog-overview-********.js 319 B +319 B (new file) 🆕
build/assets/branding-********.js 365 B +365 B (new file) 🆕
build/assets/we-are-using-********.js 1.32 kB +1.32 kB (new file) 🆕
ℹ️ View Unchanged
Filename Size Change
build/assets/blog-page-********.js 255 B -2 B (-0.78%)
build/assets/docsearch-********.js 28.9 kB 0 B
build/assets/errors-********.js 342 B 0 B
build/assets/index-********.css 9.64 kB -6 B (-0.06%)
build/assets/repl-********.css 1.51 kB 0 B
build/assets/repl-********.js 148 kB 0 B
build/assets/repl-page-********.js 7.66 kB +1 B (+0.01%)
build/assets/repl.worker-********.js 213 kB 0 B
build/assets/style-********.css 3.07 kB 0 B
build/assets/style.module-********.js 159 B 0 B
build/assets/tutorial-page-********.js 1.97 kB -20 B (-1.01%)
build/assets/tutorial-page-********.css 1.76 kB 0 B

compressed-size-action

Comment on lines -59 to +76
"tutorial": {
"begin": {
"en": "Begin Tutorial",
"kr": "튜토리얼 시작",
"ru": "Начать обучение",
"zh": "开始教程"
},
"help": {
"en": "Help",
"ja": "助ける",
"kr": "정답 확인",
"ru": "Помощь",
"zh": "帮助"
},
"solve": {
"en": "Solve",
"ja": "説き明かす",
"ru": "Решить",
"zh": "解决"
}
"beginTutorial": {
"en": "Begin Tutorial",
"kr": "튜토리얼 시작",
"ru": "Начать обучение",
"zh": "开始教程"
},
"help": {
"en": "Help",
"ja": "助ける",
"kr": "정답 확인",
"ru": "Помощь",
"zh": "帮助"
},
"solve": {
"en": "Solve",
"ja": "説き明かす",
"ru": "Решить",
"zh": "解决"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flattening this out makes it a bit easier & more consistent to access (useTranslation) for little loss; the nesting only gives an indication of where the string is used, nothing essential.

"zh": "简体中文"
},
"repo": "preact",
"repo": "preactjs/preact",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not against just inlining the string altogether, but if we do have it hoisted to our app-wide config, feels like org + repo makes more sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants