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(locale): remove duplicated countries in ja locale #2189

Conversation

KeisukeYamashita
Copy link
Contributor

@KeisukeYamashita KeisukeYamashita commented May 31, 2023

Hello, Faker team!
Thank you for the great work.

I'm currently developing a product in Japan and I'm trying to use the Faker with ja local for my unit testing.
I have realized that there are duplicated entries in the countries list

Moreover, Kanji character country names are abbreviations and not official indications, thus it's only used in limited cases and it should be excluded from this list.

Signed-off-by: KeisukeYamashita <19yamashita15@gmail.com>
Signed-off-by: KeisukeYamashita <19yamashita15@gmail.com>
@KeisukeYamashita KeisukeYamashita marked this pull request as ready for review May 31, 2023 02:47
@KeisukeYamashita KeisukeYamashita requested a review from a team as a code owner May 31, 2023 02:47
@codecov
Copy link

codecov bot commented May 31, 2023

Codecov Report

Merging #2189 (39f28a7) into next (cdd162a) will decrease coverage by 0.01%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##             next    #2189      +/-   ##
==========================================
- Coverage   99.60%   99.59%   -0.01%     
==========================================
  Files        2607     2607              
  Lines      245021   245017       -4     
  Branches     1154     1153       -1     
==========================================
- Hits       244043   244034       -9     
- Misses        951      956       +5     
  Partials       27       27              
Impacted Files Coverage Δ
src/locales/ja/location/country.ts 100.00% <ø> (ø)

... and 1 file with indirect coverage changes

ST-DDT
ST-DDT previously approved these changes Jun 1, 2023
@ST-DDT ST-DDT added p: 1-normal Nothing urgent c: locale Permutes locale definitions m: location Something is referring to the location module labels Jun 1, 2023
@ST-DDT ST-DDT requested review from a team June 1, 2023 21:45
@xDivisionByZerox xDivisionByZerox changed the title fix(local): remove duplicated countries in ja local locale(ja): remove duplicated countries Jun 1, 2023
@xDivisionByZerox xDivisionByZerox changed the title locale(ja): remove duplicated countries fix(locale): remove duplicated countries in ja local Jun 1, 2023
@xDivisionByZerox xDivisionByZerox changed the title fix(locale): remove duplicated countries in ja local fix(locale): remove duplicated countries in ja locale Jun 1, 2023
ejcheng
ejcheng previously approved these changes Jun 1, 2023
Signed-off-by: KeisukeYamashita <19yamashita15@gmail.com>
@KeisukeYamashita
Copy link
Contributor Author

KeisukeYamashita commented Jun 2, 2023

@faker-jp/maintainers Sorry, I noticed that 英国 (イギリス) and 米国 (アメリカ) are duplicated too 🙇
I have removed it in this commit cc0bc83

PTAL again when you got chance, thank you in advance!!!

@ST-DDT ST-DDT enabled auto-merge (squash) June 4, 2023 21:50
@ST-DDT ST-DDT merged commit 785a38a into faker-js:next Jun 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: locale Permutes locale definitions m: location Something is referring to the location module p: 1-normal Nothing urgent
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants