-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Init script to detect broken i18n keys #7329
base: master
Are you sure you want to change the base?
Conversation
scripts/detect-broken-i18n.mjs
Outdated
import { Project, SyntaxKind } from "ts-morph"; | ||
|
||
const __filename = fileURLToPath(import.meta.url); // get the resolved path to the file | ||
const __dirname = path.dirname(__filename); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
__dirname is not supported out of the box for .mjs
files, hence this declaration
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #7329 +/- ##
=======================================
Coverage 41.98% 41.98%
=======================================
Files 42 42
Lines 936 936
Branches 227 233 +6
=======================================
Hits 393 393
Misses 499 499
Partials 44 44
Flags with carried forward coverage won't be shown. Click here to find out more. |
b0f3ca8
to
5be4e86
Compare
5be4e86
to
2bce06f
Compare
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. |
The following files contain i18n that couldn't be resolved by the script. There may be more. features/admin.roles.v2/components/edit-role/edit-role-common/role-api-resources-list-item.tsx features/admin.console-settings.v1/pages/console-administrator-edit-page.tsx features/admin.sms-templates.v1/pages/sms-customization.tsx features/admin.claims.v1/pages/attribute-mappings.tsx features/admin.claims.v1/pages/local-claims.tsx features/admin.roles.v2/components/edit-role/edit-role-common/role-api-resources-list-item.tsx features/admin.identity-providers.v1/components/forms/authenticators/saml-authenticator-form.tsx features/admin.actions.v1/components/action-endpoint-config-form.tsx features/admin.feature-gate.v1/components/feature-flag-label.tsx admin.connections.v1/components/create/enterprise-connection-create-wizard.tsx#L379 features/admin.connections.v1/components/create/custom-authentication-create-wizard.tsx features/admin.connections.v1/pages/connection-templates.tsx#L435 features/admin.core.v1/components/header.tsx#L229 features/admin.users.v1/components/users-list.tsx#L283 features/admin.users.v1/components/wizard/bulk-import-user-wizard.tsx#L575 features/admin.users.v1/components/user-profile.tsx# features/admin.users.v1/pages/users.tsx features/admin.applications.v1/components/settings/sign-on-methods/step-based-flow/add-authenticator-modal.tsx features/admin.applications.v1/components/settings/sign-on-methods/script-based-flow/script-based-flow.tsx#L1300 features/admin.applications.v1/components/forms/inbound-oidc-form.tsx#L2233 features/admin.applications.v1/components/forms/general-details-form.tsx#L596 features/admin.secrets.v1/components/secret-value-form.tsx |
Purpose
$subject
Related Issues
Related PRs
Checklist
Security checks