Skip to content

Commit 9a7a30d

Browse files
committed
Fix README code sample to use current localization code
1 parent d2cc6e5 commit 9a7a30d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ let gbp = GBP(109.23)
2828
print(usd + gbp) // compile error
2929

3030
let jpy: JPY = 399 // JPY(399)
31-
print("The total cost is \(localize: JPY, forLocale: .init(identifier: "fr_FR")).)
31+
print("The total cost is \(localize: JPY, for: .init(identifier: "fr_FR")).)
3232
// "The total cost is 399 JPY."
3333
```
3434

0 commit comments

Comments
 (0)