Skip to content

Conversation

@kraftbj
Copy link
Contributor

@kraftbj kraftbj commented Mar 3, 2025

Fixes #45

There are two things throwing doing_it_wrong for translating too early.

  1. The "name" setting. Resolved by setting name to "Secure Custom Fields" initially in case anything uses it super early and updating it to the translated version on the init hood.
  2. Loading the front form. This isn't needed immediately, but the initial constructor translates a few fields. Move all form loading to the init hook.

@kraftbj kraftbj merged commit 2b65f12 into trunk Mar 4, 2025
3 checks passed
kraftbj added a commit that referenced this pull request Mar 4, 2025
kraftbj added a commit that referenced this pull request Mar 7, 2025
* Move items that need translation to init (#47)

* Build assets and documentation

* Update version to 6.4.1

* Update stable tag to 6.4.1

* Update stable tag

* Update release date
@kraftbj kraftbj added this to the 6.5.0 milestone Apr 14, 2025
@kraftbj kraftbj deleted the fix/45 branch April 14, 2025 16:15
@kraftbj kraftbj mentioned this pull request May 5, 2025
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.

Update translation loading

2 participants