forked from payloadcms/payload
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(translations): changes rs and rs-Latin dateFNSkey to proper local…
…e instead of en-US (payloadcms#9621) ### What? Adds Serbian `rs` and `rs-Latin` to `importDateFNSLocale` as well as changes their `dateFNSKey` in the language definition to the appropriate key instead of `en-US` ### Why? To support Serbian language with appropriately localized dates. ### How? Minor changes in translations package.
- Loading branch information
1 parent
e6ea68e
commit 2b4522b
Showing
4 changed files
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,8 @@ type DateFNSKeys = | |
| 'pl' | ||
| 'pt' | ||
| 'ro' | ||
| 'rs' | ||
| 'rs-Latin' | ||
| 'ru' | ||
| 'sk' | ||
| 'sl-SI' | ||
|