Skip to content

Commit

Permalink
Prepare new release (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
mondeja authored Jun 25, 2024
1 parent 98da5c1 commit 30be319
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CHANGELOG

## Unreleased - [0.1.4]
## 2024-06-25 - [0.1.4]

### New features

Expand Down Expand Up @@ -281,7 +281,7 @@ version to `0.1` during installation.

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

[0.1.4]: https://github.com/mondeja/leptos-fluent/compare/v0.1.3...master
[0.1.4]: https://github.com/mondeja/leptos-fluent/compare/v0.1.3...v0.1.4
[0.1.3]: https://github.com/mondeja/leptos-fluent/compare/v0.1.2...v0.1.3
[0.1.2]: https://github.com/mondeja/leptos-fluent/compare/v0.1.1...v0.1.2
[0.1.1]: https://github.com/mondeja/leptos-fluent/compare/v0.1.0...v0.1.1
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ fn App() -> impl IntoView {
// Check translations correctness in the specified files.
check_translations: "./src/**/*.rs",

// All next options are all opt-in and can be enabled
// Next options are all opt-in and can be enabled
// separately as needed.

// Client side options
Expand Down Expand Up @@ -128,6 +128,12 @@ fn App() -> impl IntoView {
// Get the initial language from `navigator.languages` if not
// found in the local storage.
initial_language_from_navigator: true,
// Set the discovered initial language of the user from
// the navigator to local storage.
initial_language_from_navigator_to_localstorage: true,
// Set the discovered initial language of the user from
// the navigator to a cookie.
initial_language_from_navigator_to_cookie: true,
// Attributes to set for the language cookie.
// By default is `""`.
cookie_attrs: "SameSite=Strict; Secure; Path=/; Max-Age=600",
Expand Down
8 changes: 7 additions & 1 deletion leptos-fluent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ fn App() -> impl IntoView {
// Check translations correctness in the specified files.
check_translations: "./src/**/*.rs",

// All next options are all opt-in and can be enabled
// Next options are all opt-in and can be enabled
// separately as needed.

// Client side options
Expand Down Expand Up @@ -128,6 +128,12 @@ fn App() -> impl IntoView {
// Get the initial language from `navigator.languages` if not
// found in the local storage.
initial_language_from_navigator: true,
// Set the discovered initial language of the user from
// the navigator to local storage.
initial_language_from_navigator_to_localstorage: true,
// Set the discovered initial language of the user from
// the navigator to a cookie.
initial_language_from_navigator_to_cookie: true,
// Attributes to set for the language cookie.
// By default is `""`.
cookie_attrs: "SameSite=Strict; Secure; Path=/; Max-Age=600",
Expand Down
8 changes: 7 additions & 1 deletion leptos-fluent/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
//! // Check translations correctness in the specified files.
//! check_translations: "./src/**/*.rs",
//!
//! // All next options are all opt-in and can be enabled
//! // Next options are all opt-in and can be enabled
//! // separately as needed.
//!
//! // Client side options
Expand Down Expand Up @@ -125,6 +125,12 @@
//! // Get the initial language from `navigator.languages` if not
//! // found in the local storage.
//! initial_language_from_navigator: true,
//! // Set the discovered initial language of the user from
//! // the navigator to local storage.
//! initial_language_from_navigator_to_localstorage: true,
//! // Set the discovered initial language of the user from
//! // the navigator to a cookie.
//! initial_language_from_navigator_to_cookie: true,
//! // Attributes to set for the language cookie.
//! // By default is `""`.
//! cookie_attrs: "SameSite=Strict; Secure; Path=/; Max-Age=600",
Expand Down

0 comments on commit 30be319

Please sign in to comment.