Skip to content
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

Add translations field to I18n's Debug implementation #247

Merged
merged 1 commit into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGELOG

## [Unreleased]

### Enhancements

- Add `translations` field to `I18n`'s `Debug` implementation.

## 2024-09-25 - [0.1.23]

### Enhancements
Expand Down Expand Up @@ -523,6 +529,7 @@ version to `0.1` during installation.

- Added all ISO-639-1 and ISO-639-2 languages.

[Unreleased]: https://github.com/mondeja/leptos-fluent/compare/v0.1.23...master
[0.1.23]: https://github.com/mondeja/leptos-fluent/compare/v0.1.22...v0.1.23
[0.1.22]: https://github.com/mondeja/leptos-fluent/compare/v0.1.21...v0.1.22
[0.1.21]: https://github.com/mondeja/leptos-fluent/compare/v0.1.20...v0.1.21
Expand Down
13 changes: 1 addition & 12 deletions leptos-fluent/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@
/// Used to provide the current language, the available languages and all
/// the translations. It is capable of doing what is needed to translate
/// and manage translations in a whole application.
#[derive(Clone, Copy)]
#[derive(Clone, Copy, Debug)]
pub struct I18n {
/// Signal that holds the current language.
pub language: RwSignal<&'static Language>,
Expand Down Expand Up @@ -466,17 +466,6 @@
}
}

impl core::fmt::Debug for I18n {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
let language = self.language;
with!(|language| f
.debug_struct("I18n")
.field("language", language)
.field("languages", &self.languages)
.finish())
}
}

// get language
#[cfg(feature = "nightly")]
impl FnOnce<()> for I18n {
Expand Down Expand Up @@ -848,7 +837,7 @@
#[component(transparent)]
#[cfg(feature = "ssr")]
#[cfg_attr(feature = "tracing", tracing::instrument(level = "trace"))]
pub fn SsrHtmlTag() -> impl IntoView {

Check warning on line 840 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Build example (ssr-hydrate-axum, stable, ubuntu-latest)

use of deprecated function `__SsrHtmlTag`: The component SsrHtmlTag is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 840 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Build example (ssr-hydrate-axum, nightly, ubuntu-latest)

use of deprecated function `__SsrHtmlTag`: The component SsrHtmlTag is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 840 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Build example (ssr-hydrate-actix, nightly, ubuntu-latest)

use of deprecated function `__SsrHtmlTag`: The component SsrHtmlTag is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 840 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Build example (ssr-hydrate-actix, stable, ubuntu-latest)

use of deprecated function `__SsrHtmlTag`: The component SsrHtmlTag is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 840 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Build example (ssr-hydrate-actix, nightly, macos-latest)

use of deprecated function `__SsrHtmlTag`: The component SsrHtmlTag is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 840 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Build example (ssr-hydrate-axum, nightly, macos-latest)

use of deprecated function `__SsrHtmlTag`: The component SsrHtmlTag is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 840 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Build example (ssr-hydrate-axum, stable, macos-latest)

use of deprecated function `__SsrHtmlTag`: The component SsrHtmlTag is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 840 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Build example (ssr-hydrate-actix, stable, macos-latest)

use of deprecated function `__SsrHtmlTag`: The component SsrHtmlTag is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.
let lang = expect_i18n().language.get_untracked();
view! { <Html lang=lang.id.to_string() dir=lang.dir.as_str() /> }
}
Expand All @@ -875,7 +864,7 @@
#[component(transparent)]
#[cfg(not(feature = "ssr"))]
#[cfg_attr(feature = "tracing", tracing::instrument(level = "trace"))]
pub fn SsrHtmlTag() -> impl IntoView {}

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Build example (csr-complete, stable, ubuntu-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Build example (csr-minimal, stable, ubuntu-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Build example (csr-minimal, nightly, ubuntu-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Build example (csr-complete, nightly, ubuntu-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Build example (csr-minimal, nightly, macos-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Build example (csr-complete, nightly, macos-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / End to end tests (chrome, ubuntu-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / End to end tests (chrome, ubuntu-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Build example (csr-complete, stable, macos-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / End to end tests (firefox, ubuntu-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / End to end tests (firefox, ubuntu-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Build example (csr-minimal, stable, macos-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Build example (system-gtk, stable, ubuntu-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Build example (system-gtk, nightly, ubuntu-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Build example (ssr-hydrate-axum, stable, ubuntu-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Build example (ssr-hydrate-axum, nightly, ubuntu-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Build example (ssr-hydrate-actix, nightly, ubuntu-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Build example (ssr-hydrate-actix, stable, ubuntu-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Unit tests (ubuntu-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Unit tests (ubuntu-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Unit tests (ubuntu-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Unit tests (ubuntu-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Unit tests (ubuntu-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Unit tests (ubuntu-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Unit tests (ubuntu-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Unit tests (ubuntu-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Unit tests (ubuntu-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Unit tests (ubuntu-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Build example (ssr-hydrate-actix, nightly, macos-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Build example (ssr-hydrate-axum, nightly, macos-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / End to end tests (chrome, windows-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / End to end tests (chrome, windows-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / QA (check-all-features)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / QA (check-all-features)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / QA (check-all-features)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / QA (check-all-features)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / QA (check-all-features)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / QA (check-all-features)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / QA (check-all-features)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / QA (check-all-features)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / QA (check-all-features)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / QA (check-all-features)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / End to end tests (firefox, windows-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / End to end tests (firefox, windows-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Build example (ssr-hydrate-axum, stable, macos-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Build example (ssr-hydrate-actix, stable, macos-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / QA (build-all-features)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / QA (build-all-features)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / QA (build-all-features)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / QA (build-all-features)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / QA (build-all-features)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / QA (build-all-features)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / QA (build-all-features)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / QA (build-all-features)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / QA (build-all-features)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / QA (build-all-features)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Unit tests (windows-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Unit tests (windows-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Unit tests (windows-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Build example (system-gtk, stable, macos-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Build example (system-gtk, nightly, macos-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Unit tests (macos-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Unit tests (macos-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Unit tests (macos-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Unit tests (macos-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Unit tests (macos-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Unit tests (macos-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Unit tests (macos-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Unit tests (macos-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Unit tests (macos-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / Unit tests (macos-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / End to end tests (chrome, macos-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

Check warning on line 867 in leptos-fluent/src/lib.rs

View workflow job for this annotation

GitHub Actions / End to end tests (chrome, macos-latest)

use of deprecated function `__SsrHtmlTag`: The component `SsrHtmlTag` is not needed anymore and will be removed in v0.2. The `sync_html_tag_lang` and `sync_html_tag_dir` parameters of the `leptos_fluent!` macro are enough to set the `lang` and `dir` attributes of the `<html>` tag on SSR.

/// Parameters passed to `leptos_fluent!` macro at creation of `i18n` context
#[derive(Clone, Debug)]
Expand Down
Loading