Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 8, 2025

Description

This PR adds the missing Volo.Abp.Identity:PasswordInHistory localization entry to all language files in the Identity module. This localization text is used to inform users when their password matches a previously used password, based on the password history policy.

Changes

Added the Volo.Abp.Identity:PasswordInHistory localization key with appropriate translations to 26 language files:

  • Arabic (ar)
  • Czech (cs)
  • German (de)
  • Greek (el)
  • English UK (en-GB)
  • Spanish (es)
  • Persian (fa)
  • Finnish (fi)
  • French (fr)
  • Hindi (hi)
  • Croatian (hr)
  • Hungarian (hu)
  • Icelandic (is)
  • Italian (it)
  • Dutch (nl)
  • Polish (pl-PL)
  • Portuguese Brazil (pt-BR)
  • Romanian (ro-RO)
  • Russian (ru)
  • Slovak (sk)
  • Slovenian (sl)
  • Swedish (sv)
  • Turkish (tr)
  • Vietnamese (vi)
  • Simplified Chinese (zh-Hans)
  • Traditional Chinese (zh-Hant)

The English (en.json) file already contained this entry.

English Reference

The English localization text used as reference:

"Volo.Abp.Identity:PasswordInHistory": "Passwords must not match your last {0} passwords."

Each translation conveys the same meaning in the respective language, maintaining the {0} parameter placeholder for the password history count configuration.

Validation

  • ✅ All 27 JSON files now contain the PasswordInHistory entry
  • ✅ All JSON files validated for syntax correctness
  • ✅ Entry positioned consistently in all files (after PasswordRequiresUniqueChars, before RoleNotFound)
Original prompt

@copilot

Please add Volo.Abp.Identity:PasswordInHistory localization text to all *.json files that are under: modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/ folder and translate it into the corresponding language. eg: tr, zh-Hans`..

You can refer to modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/en.json file.

English version localization text is: "Volo.Abp.Identity:PasswordInHistory": "Passwords must not match your last {0} passwords."


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copilot AI changed the title [WIP] Add localization for password history validation Add PasswordInHistory localization text to all language files Oct 8, 2025
@maliming maliming marked this pull request as ready for review October 8, 2025 02:58
@maliming maliming merged commit 9673e0a into PasswordHistory Oct 8, 2025
1 check was pending
@maliming maliming deleted the copilot/add-password-history-localization branch October 8, 2025 02:58
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.

3 participants