Skip to content

fix: correct i18n key for optional variables placeholder#48

Open
huanggz0828 wants to merge 1 commit intolanggenius:mainfrom
huanggz0828:fix/correct-i18n-key
Open

fix: correct i18n key for optional variables placeholder#48
huanggz0828 wants to merge 1 commit intolanggenius:mainfrom
huanggz0828:fix/correct-i18n-key

Conversation

@huanggz0828
Copy link
Copy Markdown

This PR fixes an issue where the placeholder for optional input variables was displaying the raw i18n key string (appDebug.variableTable.optional) instead of the actual translated text (e.g., "(Optional)" or "(可选)").

The issue was caused by using a translation key that does not exist in the webapp-text-generator locale files. I have updated the key to app.common.optional, which is correctly defined in i18n/lang/app.zh.ts and app.en.ts.

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