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

Split JA translation file into one file per class #2315

Merged

Conversation

yujideveloper
Copy link
Contributor

No-Story

Description:

I split JA translation file into one file per class like EN translation files

@psibi
Copy link
Member

psibi commented May 6, 2021

Is having it in a single file causing any issues ?

Apart from en, all other locales are put into the same file.

Also, this would break downstream consumes of faker that assumes other locales are in a single file: https://github.com/fakedata-haskell/fakedata

@yujideveloper
Copy link
Contributor Author

There is maintainability issue, but nothing else.
FR locale is no longer a single file since #2289. I assume downstream, which depends on a single file, is already broken.

@psibi
Copy link
Member

psibi commented May 7, 2021

@yujideveloper I didn't about that MR, if not I would have commented there itself. Given the scenario, let's get this merged.

Do you know why the CI is failing ?

@yujideveloper
Copy link
Contributor Author

@psibi
I don't know why the CI is failing.
But the CI is failing in the same test case on master branch since bcd12d9.

@psibi psibi merged commit e110fa4 into faker-ruby:master May 7, 2021
@psibi
Copy link
Member

psibi commented May 7, 2021

Ah, I see. Thanks for your contribution!

@yujideveloper yujideveloper deleted the feature/split-japanese-locale-file branch May 7, 2021 05:50
gongo added a commit to gongo/faker that referenced this pull request May 18, 2021
vbrazo pushed a commit that referenced this pull request May 30, 2021
* 🐛 Fix indentation ( `ja.faker.name` to `ja.faker.color.name` )

via #2315

* 🎨 Convert a huge one-line array to multiple lines

Because the file cannot be opened with a weak editor...

* 🐛 Japanese postcode has a hyphen.

via: #2297

* Update test/test_ja_locale.rb

Co-authored-by: Koichi ITO <koic.ito@gmail.com>

Co-authored-by: Koichi ITO <koic.ito@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants