Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 5, 2026

Bumps leptos_i18n from 0.6.0-rc.4 to 0.6.0-rc.5.

Release notes

Sourced from leptos_i18n's releases.

v0.6.0-rc.5

What's new

TOML support

Self explanatory, you can write translations in TOML. (thanks @​sabify)

Self-closed components

You can now now interpolate components with no children:

{
    "key": "before<br/>after"
}
t!(i18n, key, <br/> = || view! { <br /> })

Or

t!(i18n, key, <br/> =  <br />)

(thanks @​sabify)

Custom formatters

You can inject parsers for formatters to the translations parser for custom value formatters, see the appendix for it in the book.

Component attributes in translations

You can now declare component attributes directly in the translations:

{
  "key": "before<b id={{ id }} foo=\"bar\">middle</b>after"
}
t!(i18n, key, id = "my_id", <b> = <b attr:bar="foo" />) // parsed attributes get passed to `<b>` alsongside user defined ones

Or

let b = |children: ChildrenFn, attr: Vec<AnyAttribute>| view!{ <b {..attr} >{children}</b> }
t!(i18n, key, id = "my_id", <b>)

See book for more informations

... (truncated)

Commits
  • 611e3e8 v0.6.0-rc.5
  • dde2955 Merge pull request #264 from Baptistemontan/parse_attributes
  • cb21751 swap place of children and attributes for consistency with into_view order
  • 1971cf0 added notes on the different kind of closure accepted for components
  • 0678ad1 update docs
  • effad89 make Children field public
  • 1c6efa5 allow multiple kind of closure for component interpolation to string
  • 3dfb6fb attributes spreading for direct components
  • 44aa960 comp to string with attributes
  • fffeec8 its working
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [leptos_i18n](https://github.com/Baptistemontan/leptos_i18n) from 0.6.0-rc.4 to 0.6.0-rc.5.
- [Release notes](https://github.com/Baptistemontan/leptos_i18n/releases)
- [Commits](Baptistemontan/leptos_i18n@v0.6.0-rc.4...v0.6.0-rc.5)

---
updated-dependencies:
- dependency-name: leptos_i18n
  dependency-version: 0.6.0-rc.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 5, 2026

Labels

The following labels could not be found: dependencies, rust. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot bot requested a review from geofmureithi as a code owner January 5, 2026 06:28
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