Skip to content

chore: refresh fake security translations [DHIS2-19912] (backport to 2.43) - #23986

Merged
netroms merged 1 commit into
2.43from
backport-DHIS2-19912-cleanup-2.43
May 26, 2026
Merged

chore: refresh fake security translations [DHIS2-19912] (backport to 2.43)#23986
netroms merged 1 commit into
2.43from
backport-DHIS2-19912-cleanup-2.43

Conversation

@netroms

@netroms netroms commented May 25, 2026

Copy link
Copy Markdown
Contributor

Related: DHIS2-19912
Backport of #23073 (merged to master 2026-05-22).

Summary

Removes 27 fake security-related translation entries (target value byte-identical to the English source) across 31 languages. 621 lines deleted.

Affected key buckets:

  • email verification + 2FA email body strings (verify_email_*, email_2fa_*) — 2.43+ only
  • OIDC / login UI (login_with_*, oidc_login_failed, sign_in_with_openID, login_using_two_factor_authentication, two_factor_authentication_code, mandatory_parameter_missing, password_lowercase_validation)
  • Impersonation + authority labels (impersonate_user, F_IMPERSONATE_USER, F_PREVIOUS_IMPERSONATOR_AUTHORITY, F_USER_VIEW, F_USER_VIEW_WITHIN_MANAGED_GROUP, F_VISUALIZATION_EXTERNAL, F_EVENT_VISUALIZATION_EXTERNAL)

Real (non-English) translations preserved — the script only removed lines where the value matched the English source byte-for-byte.

Transifex

The Transifex DB was already cleaned when #23073's master push happened. The next nightly transifex-ci cron will pick up these strings as "untranslated" for translator review across all branches.

Test plan

  • Verified diff: only English-as-translation lines removed; real translations preserved
  • Repo-side audit shows 0 fake security keys remaining

AI Assisted

…12] (backport to 2.43)

Backport of #23073's deletion commit. Removes 27 fake security-related
translations across 31 languages where the target value was byte-identical
to the English source.

Affected keys cover verify_email_*, email_2fa_*, OIDC/login,
impersonation, password validation, and authority labels. Real
translations preserved (the script only removed lines where the value
matched the English source).

Transifex DB was already pushed when the master PR landed; no separate
push needed for this backport.

Signed-off-by: Morten Svanaes <netroms@gmail.com>
@sonarqubecloud

Copy link
Copy Markdown

@netroms
netroms merged commit c427352 into 2.43 May 26, 2026
16 checks passed
@netroms
netroms deleted the backport-DHIS2-19912-cleanup-2.43 branch May 26, 2026 07:03
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