8000 fix(locale): rename ja and zh_CN company affix files by matsueushi · Pull Request #3448 · faker-js/faker · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix(locale): rename ja and zh_CN company affix files #3448

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

Merged

Conversation

matsueushi
Copy link
Contributor

In #2975, most locales moved company affixes to legal_entity_type.ts, but the Japanese (ja) and Simplified Chinese (zh_CN) locales were left using type.ts.
This commit corrects that by aligning these locale with other languages.

@matsueushi matsueushi requested a review from a team as a code owner March 28, 2025 13:49
Copy link
netlify bot commented Mar 28, 2025

Deploy Preview for fakerjs ready!

Name Link
🔨 Latest commit a545cd0
🔍 Latest deploy log https://app.netlify.com/sites/fakerjs/deploys/67f80bd93618b20008f0be79
😎 Deploy Preview https://deploy-preview-3448.fakerjs.dev
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
codecov bot commented Mar 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.97%. Comparing base (ea6e179) to head (a545cd0).
Report is 1 commits behind head on next.

Additional details and impacted files
@@            Coverage Diff             @@
##             next    #3448      +/-   ##
==========================================
- Coverage   99.97%   99.97%   -0.01%     
==========================================
  Files        2825     2825              
  Lines      217571   217571              
  Branches      952      949       -3     
==========================================
- Hits       217518   217516       -2     
- Misses         53       55       +2     
Files with missing lines Coverage Δ
src/locales/ja/company/index.ts 100.00% <100.00%> (ø)
src/locales/ja/company/legal_entity_type.ts 100.00% <ø> (ø)
src/locales/ja/company/name_pattern.ts 100.00% <100.00%> (ø)
src/locales/zh_CN/company/index.ts 100.00% <100.00%> (ø)
src/locales/zh_CN/company/legal_entity_type.ts 100.00% <ø> (ø)
src/locales/zh_CN/company/name_pattern.ts 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@xDivisionByZerox xDivisionByZerox added p: 1-normal Nothing urgent c: locale Permutes locale definitions m: company Something is referring to the company module labels Mar 29, 2025
@xDivisionByZerox xDivisionByZerox added this to the vAnytime milestone Mar 29, 2025
@xDivisionByZerox xDivisionByZerox merged commit 1e551c5 into faker-js:next Apr 10, 2025
23 checks passed
@xDivisionByZerox
Copy link
Member
xDivisionByZerox commented Apr 11, 2025

@matsueushi I see that this was your first contribution to our project.
Would you mind answering some questions regarding your contribution? This way we can understand the potential struggles or confusions new contributors might have when getting into the project. If you don't want to answer, please ignore this comment:

  1. What did motivate you to do your contribution?
  2. Did you read our documentation regarding contributing before starting to work on your contribution?
  3. How clear was the process of working on your contribution (before the PR) for you? Was there ever a time while working in the project where you didn't know what to do? If so how did you solve your problem?
  4. How clear was the process of the code review (PR) for you? Was there ever a time you felt unsure about the current situation?
  5. Anything else you'd like to share with the Faker team?

@matsueushi
Copy link
Contributor Author

I’m sorry for my late reply.

I often use Faker in my projects, and I wanted to improve the quality of Japanese test data. That was my main motivation.

Yes, I read the contributing documentation before starting. It was very helpful and easy to follow.

Thanks to the well-prepared devcontainer, the development environment was easy to set up. The process was quite clear, and I didn’t have many problems.

The review process was smooth and clear. I didn’t feel lost or confused during it.

Thank you for maintaining such a great project. I’d love to contribute more in the future if I get the chance!

@Shinigami92
Copy link
Member

@matsueushi Oh that is very good feedback for us and very good to know that persons are actually using the devcontainer 👍

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: company Something is referring to the company module p: 1-normal Nothing urgent
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0