-
-
Notifications
You must be signed in to change notification settings - Fork 919
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
feat(locale): Add locale ro_MD #1848
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also run pnpm run test
and check for errors, CI reports two about duplicate entries:
⎯⎯⎯⎯⎯⎯⎯ Failed Tests 2 ⎯⎯⎯⎯⎯⎯⎯
FAIL test/locales.spec.ts > locale > ro_MD > location > city_name > should not have duplicate entries
Error: Duplicated values are [Florești]
FAIL test/locales.spec.ts > locale > ro_MD > person > female_first_name > should not have duplicate entries
Error: Duplicated values are [Ianna, Irina]
Btw recommended you don't force push, that way it's easier to see the history of the PR. It gets squash-merged at the end anyway! |
I'm almost done with reviewing this, I will do the rest this weekend. |
Thanks |
Hi @ST-DDT, let me know, please, if there are any other changes required. Thanks. |
I overlooked that there are failing tests, please fix them
How should I fix this:
? |
I assume this test ensures that inside some locale files exporting empty arrays is not allowed @ST-DDT please tell me if I'm right or wrong |
For now please add them to the skipped locale entries (with a comment that this locale doesn't have that data).
That is correct. It will do so when #893 is merged. |
Hi, can you guid on how todo this? |
Done. Thanks for your patience. |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## next #1848 +/- ##
=========================================
Coverage 99.62% 99.63%
=========================================
Files 2355 2392 +37
Lines 236403 237965 +1562
Branches 1153 1158 +5
=========================================
+ Hits 235527 237099 +1572
+ Misses 854 844 -10
Partials 22 22
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that #1340 has been closed we have support for multiple fallback languages, so it would make sense to change the fallback languages
ro_MD -> ro -> en, so ro_MD only includes MD-specific data.
@botzill Did you close this PR by accident? |
hm, @ST-DDT I think yes, |
How can I get it back? |
The force push comment contains a reference to the old version: 91a0aa8 You should be able to locally checkout the commit or reset your branch to that commit. |
Add a new locale for ro_MD