File tree 4 files changed +23
-5
lines changed
4 files changed +23
-5
lines changed Original file line number Diff line number Diff line change 1
1
# CHANGELOG
2
2
3
- ## Unreleased - [ 0.1.4]
3
+ ## 2024-06-25 - [ 0.1.4]
4
4
5
5
### New features
6
6
@@ -281,7 +281,7 @@ version to `0.1` during installation.
281
281
282
282
- Added all ISO-639-1 and ISO-639-2 languages.
283
283
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
285
285
[ 0.1.3 ] : https://github.com/mondeja/leptos-fluent/compare/v0.1.2...v0.1.3
286
286
[ 0.1.2 ] : https://github.com/mondeja/leptos-fluent/compare/v0.1.1...v0.1.2
287
287
[ 0.1.1 ] : https://github.com/mondeja/leptos-fluent/compare/v0.1.0...v0.1.1
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ fn App() -> impl IntoView {
95
95
// Check translations correctness in the specified files.
96
96
check_translations : " ./src/**/*.rs" ,
97
97
98
- // All next options are all opt-in and can be enabled
98
+ // Next options are all opt-in and can be enabled
99
99
// separately as needed.
100
100
101
101
// Client side options
@@ -128,6 +128,12 @@ fn App() -> impl IntoView {
128
128
// Get the initial language from `navigator.languages` if not
129
129
// found in the local storage.
130
130
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 ,
131
137
// Attributes to set for the language cookie.
132
138
// By default is `""`.
133
139
cookie_attrs : " SameSite=Strict; Secure; Path=/; Max-Age=600" ,
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ fn App() -> impl IntoView {
95
95
// Check translations correctness in the specified files.
96
96
check_translations : " ./src/**/*.rs" ,
97
97
98
- // All next options are all opt-in and can be enabled
98
+ // Next options are all opt-in and can be enabled
99
99
// separately as needed.
100
100
101
101
// Client side options
@@ -128,6 +128,12 @@ fn App() -> impl IntoView {
128
128
// Get the initial language from `navigator.languages` if not
129
129
// found in the local storage.
130
130
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 ,
131
137
// Attributes to set for the language cookie.
132
138
// By default is `""`.
133
139
cookie_attrs : " SameSite=Strict; Secure; Path=/; Max-Age=600" ,
Original file line number Diff line number Diff line change 92
92
//! // Check translations correctness in the specified files.
93
93
//! check_translations: "./src/**/*.rs",
94
94
//!
95
- //! // All next options are all opt-in and can be enabled
95
+ //! // Next options are all opt-in and can be enabled
96
96
//! // separately as needed.
97
97
//!
98
98
//! // Client side options
125
125
//! // Get the initial language from `navigator.languages` if not
126
126
//! // found in the local storage.
127
127
//! 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,
128
134
//! // Attributes to set for the language cookie.
129
135
//! // By default is `""`.
130
136
//! cookie_attrs: "SameSite=Strict; Secure; Path=/; Max-Age=600",
You can’t perform that action at this time.
0 commit comments