Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect formatDistance/weeks in belarusian locale #3720

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 9 additions & 9 deletions src/locale/be-tarask/_lib/formatDistance/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,22 +181,22 @@ const formatDistanceLocale = {

aboutXWeeks: buildLocalizeTokenFn({
regular: {
singularNominative: "каля {{count}} месяца", // TODO
singularGenitive: "каля {{count}} месяцаў", // TODO
pluralGenitive: "каля {{count}} месяцаў", // TODO
singularNominative: "каля {{count}} тыдні",
singularGenitive: "каля {{count}} тыдняў",
pluralGenitive: "каля {{count}} тыдняў",
},
future: {
singularNominative: "прыблізна праз {{count}} месяц", // TODO
singularGenitive: "прыблізна праз {{count}} месяцы", // TODO
pluralGenitive: "прыблізна праз {{count}} месяцаў", // TODO
singularNominative: "прыблізна праз {{count}} тыдзень",
singularGenitive: "прыблізна праз {{count}} тыдні",
pluralGenitive: "прыблізна праз {{count}} тыдняў",
},
}),

xWeeks: buildLocalizeTokenFn({
regular: {
singularNominative: "{{count}} месяц",
singularGenitive: "{{count}} месяцы",
pluralGenitive: "{{count}} месяцаў",
singularNominative: "{{count}} тыдзень",
singularGenitive: "{{count}} тыдні",
pluralGenitive: "{{count}} тыдняў",
},
}),

Expand Down
6 changes: 3 additions & 3 deletions src/locale/be-tarask/snapshot.md
Original file line number Diff line number Diff line change
Expand Up @@ -517,9 +517,9 @@ If now is January 1st, 2000, 00:00.
| {"months":0} | 0 месяцаў |
| {"months":1} | 1 месяц |
| {"months":2} | 2 месяцы |
| {"weeks":0} | 0 месяцаў |
| {"weeks":1} | 1 месяц |
| {"weeks":2} | 2 месяцы |
| {"weeks":0} | 0 тыдняў |
| {"weeks":1} | 1 тыдзень |
| {"weeks":2} | 2 тыдні |
| {"days":0} | 0 дзён |
| {"days":1} | 1 дзень |
| {"days":2} | 2 дні |
Expand Down
18 changes: 9 additions & 9 deletions src/locale/be/_lib/formatDistance/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,22 +181,22 @@ const formatDistanceLocale = {

aboutXWeeks: buildLocalizeTokenFn({
regular: {
singularNominative: "каля {{count}} месяца", // TODO
singularGenitive: "каля {{count}} месяцаў", // TODO
pluralGenitive: "каля {{count}} месяцаў", // TODO
singularNominative: "каля {{count}} тыдні",
singularGenitive: "каля {{count}} тыдняў",
pluralGenitive: "каля {{count}} тыдняў",
},
future: {
singularNominative: "прыблізна праз {{count}} месяц", // TODO
singularGenitive: "прыблізна праз {{count}} месяцы", // TODO
pluralGenitive: "прыблізна праз {{count}} месяцаў", // TODO
singularNominative: "прыблізна праз {{count}} тыдзень",
singularGenitive: "прыблізна праз {{count}} тыдні",
pluralGenitive: "прыблізна праз {{count}} тыдняў",
},
}),

xWeeks: buildLocalizeTokenFn({
regular: {
singularNominative: "{{count}} месяц",
singularGenitive: "{{count}} месяцы",
pluralGenitive: "{{count}} месяцаў",
singularNominative: "{{count}} тыдзень",
singularGenitive: "{{count}} тыдні",
pluralGenitive: "{{count}} тыдняў",
},
}),

Expand Down
6 changes: 3 additions & 3 deletions src/locale/be/snapshot.md
Original file line number Diff line number Diff line change
Expand Up @@ -517,9 +517,9 @@ If now is January 1st, 2000, 00:00.
| {"months":0} | 0 месяцаў |
| {"months":1} | 1 месяц |
| {"months":2} | 2 месяцы |
| {"weeks":0} | 0 месяцаў |
| {"weeks":1} | 1 месяц |
| {"weeks":2} | 2 месяцы |
| {"weeks":0} | 0 тыдняў |
| {"weeks":1} | 1 тыдзень |
| {"weeks":2} | 2 тыдні |
| {"days":0} | 0 дзён |
| {"days":1} | 1 дзень |
| {"days":2} | 2 дні |
Expand Down