Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
mondeja committed Sep 25, 2024
1 parent 65981de commit 2007093
Show file tree
Hide file tree
Showing 13 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion end2end/tests/cookie.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub fn App() -> impl IntoView {
set_language_to_cookie: true,
};

view! { <LanguageSelector/> }
view! { <LanguageSelector /> }
}

#[wasm_bindgen_test]
Expand Down
2 changes: 1 addition & 1 deletion end2end/tests/cookie_to_localstorage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub fn App() -> impl IntoView {
localstorage_key: LOCALSTORAGE_KEY,
};

view! { <LanguageSelector/> }
view! { <LanguageSelector /> }
}

#[wasm_bindgen_test]
Expand Down
2 changes: 1 addition & 1 deletion end2end/tests/localstorage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub fn App() -> impl IntoView {
set_language_to_localstorage: true,
};

view! { <LanguageSelector/> }
view! { <LanguageSelector /> }
}

#[wasm_bindgen_test]
Expand Down
2 changes: 1 addition & 1 deletion end2end/tests/localstorage_to_cookie.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub fn App() -> impl IntoView {
cookie_name: COOKIE_NAME,
};

view! { <LanguageSelector/> }
view! { <LanguageSelector /> }
}

#[wasm_bindgen_test]
Expand Down
2 changes: 1 addition & 1 deletion end2end/tests/url_param.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub fn App() -> impl IntoView {
set_language_to_url_param: true,
};

view! { <LanguageSelector/> }
view! { <LanguageSelector /> }
}

#[wasm_bindgen_test]
Expand Down
2 changes: 1 addition & 1 deletion end2end/tests/url_param_to_cookie.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub fn App() -> impl IntoView {
cookie_name: COOKIE_NAME,
};

view! { <LanguageSelector/> }
view! { <LanguageSelector /> }
}

#[wasm_bindgen_test]
Expand Down
2 changes: 1 addition & 1 deletion end2end/tests/url_param_to_localstorage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub fn App() -> impl IntoView {
localstorage_key: LOCALSTORAGE_KEY,
};

view! { <LanguageSelector/> }
view! { <LanguageSelector /> }
}

#[wasm_bindgen_test]
Expand Down
10 changes: 5 additions & 5 deletions examples/ssr-hydrate-actix/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,16 @@ pub fn App() -> impl IntoView {
};

view! {
<Title text=move || tr!("welcome-to-leptos")/>
<Title text=move || tr!("welcome-to-leptos") />

// content for this welcome page
<Router>
<main>
<Routes>
<Route path="" view=HomePage/>
<Route path="/en" view=HomePage/>
<Route path="/es" view=HomePage/>
<Route path="/*any" view=NotFound/>
<Route path="" view=HomePage />
<Route path="/en" view=HomePage />
<Route path="/es" view=HomePage />
<Route path="/*any" view=NotFound />
</Routes>
</main>
</Router>
Expand Down
6 changes: 3 additions & 3 deletions examples/ssr-hydrate-axum/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,17 @@ pub fn App() -> impl IntoView {
};

view! {
<Title text=move || tr!("welcome-to-leptos")/>
<Title text=move || tr!("welcome-to-leptos") />

// content for this welcome page
<Router fallback=|| {
let mut outside_errors = Errors::default();
outside_errors.insert_with_default_key(AppError::NotFound);
view! { <ErrorTemplate outside_errors/> }.into_view()
view! { <ErrorTemplate outside_errors /> }.into_view()
}>
<main>
<Routes>
<Route path="" view=HomePage/>
<Route path="" view=HomePage />
</Routes>
</main>
</Router>
Expand Down
2 changes: 1 addition & 1 deletion leptos-fluent-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "leptos-fluent-macros"
description = "Macros for leptos-fluent"
edition.workspace = true
version = "0.1.22"
version = "0.1.23"
license = "MIT"
documentation.workspace = true
repository.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion leptos-fluent/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "leptos-fluent"
description = "Fluent framework for internationalization of Leptos applications"
edition.workspace = true
version = "0.1.22"
version = "0.1.23"
license = "MIT"
documentation.workspace = true
repository.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion leptos-fluent/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ pub fn l(
#[cfg_attr(feature = "tracing", tracing::instrument(level = "trace"))]
pub fn SsrHtmlTag() -> impl IntoView {

Check warning on line 851 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 851 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 851 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 851 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 851 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 851 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 851 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 851 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 851 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 851 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 851 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 851 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 851 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 851 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 851 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 851 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.
let lang = expect_i18n().language.get_untracked();
view! { <Html lang=lang.id.to_string() dir=lang.dir.as_str()/> }
view! { <Html lang=lang.id.to_string() dir=lang.dir.as_str() /> }
}

/// Reactive HTML tag to set attributes on SSR
Expand Down

0 comments on commit 2007093

Please sign in to comment.