Skip to content

Commit

Permalink
Change to -x-
Browse files Browse the repository at this point in the history
  • Loading branch information
sffc committed Oct 11, 2023
1 parent 042585c commit 70761f9
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 101 deletions.
10 changes: 5 additions & 5 deletions provider/core/src/hello_world.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ impl KeyedDataMarker for HelloWorldV1Marker {
/// let reverse_hello_world: DataPayload<HelloWorldV1Marker> =
/// HelloWorldProvider
/// .load(DataRequest {
/// locale: &"en+reverse".parse().unwrap(),
/// locale: &"en-x-reverse".parse().unwrap(),
/// metadata: Default::default(),
/// })
/// .expect("Loading should succeed")
Expand All @@ -108,7 +108,7 @@ impl HelloWorldProvider {
("de-AT", "Servus Welt"),
("el", "Καλημέρα κόσμε"),
("en", "Hello World"),
("en+reverse", "Olleh Dlrow"),
("en-x-reverse", "Olleh Dlrow"),
("en-001", "Hello from 🗺️"), // WORLD
("en-002", "Hello from 🌍"), // AFRICA
("en-019", "Hello from 🌎"), // AMERICAS
Expand All @@ -120,7 +120,7 @@ impl HelloWorldProvider {
("fi", "hei maailma"),
("is", "Halló, heimur"),
("ja", "こんにちは世界"),
("ja+reverse", "界世はちにんこ"),
("ja-x-reverse", "界世はちにんこ"),
("la", "Ave, munde"),
("pt", "Olá, mundo"),
("ro", "Salut, lume"),
Expand Down Expand Up @@ -336,7 +336,7 @@ fn test_iter() {
locale!("de-AT").into(),
locale!("el").into(),
locale!("en").into(),
"en+reverse".parse().unwrap(),
"en-x-reverse".parse().unwrap(),
locale!("en-001").into(),
locale!("en-002").into(),
locale!("en-019").into(),
Expand All @@ -348,7 +348,7 @@ fn test_iter() {
locale!("fi").into(),
locale!("is").into(),
locale!("ja").into(),
"ja+reverse".parse().unwrap(),
"ja-x-reverse".parse().unwrap(),
locale!("la").into(),
locale!("pt").into(),
locale!("ro").into(),
Expand Down
Loading

0 comments on commit 70761f9

Please sign in to comment.