Skip to content

Commit 30be319

Browse files
authored
Prepare new release (#158)
1 parent 98da5c1 commit 30be319

File tree

4 files changed

+23
-5
lines changed

4 files changed

+23
-5
lines changed

CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# CHANGELOG
22

3-
## Unreleased - [0.1.4]
3+
## 2024-06-25 - [0.1.4]
44

55
### New features
66

@@ -281,7 +281,7 @@ version to `0.1` during installation.
281281

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

284-
[0.1.4]: https://github.com/mondeja/leptos-fluent/compare/v0.1.3...master
284+
[0.1.4]: https://github.com/mondeja/leptos-fluent/compare/v0.1.3...v0.1.4
285285
[0.1.3]: https://github.com/mondeja/leptos-fluent/compare/v0.1.2...v0.1.3
286286
[0.1.2]: https://github.com/mondeja/leptos-fluent/compare/v0.1.1...v0.1.2
287287
[0.1.1]: https://github.com/mondeja/leptos-fluent/compare/v0.1.0...v0.1.1

README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ fn App() -> impl IntoView {
9595
// Check translations correctness in the specified files.
9696
check_translations: "./src/**/*.rs",
9797

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

101101
// Client side options
@@ -128,6 +128,12 @@ fn App() -> impl IntoView {
128128
// Get the initial language from `navigator.languages` if not
129129
// found in the local storage.
130130
initial_language_from_navigator: true,
131+
// Set the discovered initial language of the user from
132+
// the navigator to local storage.
133+
initial_language_from_navigator_to_localstorage: true,
134+
// Set the discovered initial language of the user from
135+
// the navigator to a cookie.
136+
initial_language_from_navigator_to_cookie: true,
131137
// Attributes to set for the language cookie.
132138
// By default is `""`.
133139
cookie_attrs: "SameSite=Strict; Secure; Path=/; Max-Age=600",

leptos-fluent/README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ fn App() -> impl IntoView {
9595
// Check translations correctness in the specified files.
9696
check_translations: "./src/**/*.rs",
9797

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

101101
// Client side options
@@ -128,6 +128,12 @@ fn App() -> impl IntoView {
128128
// Get the initial language from `navigator.languages` if not
129129
// found in the local storage.
130130
initial_language_from_navigator: true,
131+
// Set the discovered initial language of the user from
132+
// the navigator to local storage.
133+
initial_language_from_navigator_to_localstorage: true,
134+
// Set the discovered initial language of the user from
135+
// the navigator to a cookie.
136+
initial_language_from_navigator_to_cookie: true,
131137
// Attributes to set for the language cookie.
132138
// By default is `""`.
133139
cookie_attrs: "SameSite=Strict; Secure; Path=/; Max-Age=600",

leptos-fluent/src/lib.rs

+7-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
//! // Check translations correctness in the specified files.
9393
//! check_translations: "./src/**/*.rs",
9494
//!
95-
//! // All next options are all opt-in and can be enabled
95+
//! // Next options are all opt-in and can be enabled
9696
//! // separately as needed.
9797
//!
9898
//! // Client side options
@@ -125,6 +125,12 @@
125125
//! // Get the initial language from `navigator.languages` if not
126126
//! // found in the local storage.
127127
//! initial_language_from_navigator: true,
128+
//! // Set the discovered initial language of the user from
129+
//! // the navigator to local storage.
130+
//! initial_language_from_navigator_to_localstorage: true,
131+
//! // Set the discovered initial language of the user from
132+
//! // the navigator to a cookie.
133+
//! initial_language_from_navigator_to_cookie: true,
128134
//! // Attributes to set for the language cookie.
129135
//! // By default is `""`.
130136
//! cookie_attrs: "SameSite=Strict; Secure; Path=/; Max-Age=600",

0 commit comments

Comments
 (0)