Skip to content

fix: add missing profile_save_btn i18n key to 43 languages - #50

Merged
lnanology merged 1 commit into
mainfrom
fix/i18n-profile-save-btn-gap
Sep 9, 2026
Merged

fix: add missing profile_save_btn i18n key to 43 languages#50
lnanology merged 1 commit into
mainfrom
fix/i18n-profile-save-btn-gap

Conversation

@lnanology

Copy link
Copy Markdown
Owner

tests/step_defs/test_i18n_coverage.py flagged a pre-existing gap: 'profile_save_btn' ("Save name / icon" -- the profile settings save button) only existed in en/zh-HK/zh-TW/zh-CN, missing from the other 43 supported languages. Not caused by any recent change -- found while verifying an unrelated homepage fix.

Added a translated value to each of the 43 language blocks in services/i18n.py, inserted right after topbar_account/before share_btn_label (matching the existing zh-HK/zh-TW/zh-CN placement) via a scripted insertion keyed off each block's own header, so every language got the key exactly once and no other translations were touched.

Verified: py_compile clean, i18n_coverage BDD test now passes (was failing before this commit), backend boots with 66 routes, test_level1 still 4 passed/1 skipped.

tests/step_defs/test_i18n_coverage.py flagged a pre-existing gap:
'profile_save_btn' ("Save name / icon" -- the profile settings save
button) only existed in en/zh-HK/zh-TW/zh-CN, missing from the other
43 supported languages. Not caused by any recent change -- found while
verifying an unrelated homepage fix.

Added a translated value to each of the 43 language blocks in
services/i18n.py, inserted right after topbar_account/before
share_btn_label (matching the existing zh-HK/zh-TW/zh-CN placement) via
a scripted insertion keyed off each block's own header, so every
language got the key exactly once and no other translations were
touched.

Verified: py_compile clean, i18n_coverage BDD test now passes (was
failing before this commit), backend boots with 66 routes, test_level1
still 4 passed/1 skipped.
@vercel

vercel Bot commented Sep 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
finlab-ai Ready Ready Preview Sep 9, 2026 2:49am UTC

@lnanology
lnanology merged commit e8d896b into main Sep 9, 2026
4 checks passed
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.

1 participant