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

feat: Galician Locale #26015

Merged
merged 7 commits into from
Aug 21, 2020
Merged

feat: Galician Locale #26015

merged 7 commits into from
Aug 21, 2020

Conversation

barreeeiroo
Copy link
Contributor

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?): locale update

🔗 Related issue link

Adds support for Galician language.

💡 Background and solution

This PR intends to add support for another language, Galician, spoken in the northwest of Spain.

📝 Changelog

Language Changelog
🇺🇸 English
🇨🇳 Chinese

☑️ Self Check before Merge

⚠️ Please check all items below before review. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

@todo
Copy link

todo bot commented Aug 4, 2020

',

selectAll: 'Seleccionar todo',
selectInvert: 'Invertir selección',
sortTitle: 'Ordenar',
},
Modal: {
okText: 'Aceptar',


This comment was generated by todo based on a todo comment in 9a0e381 in #26015. cc @barreeeiroo.

@ant-design-bot
Copy link
Contributor

ant-design-bot commented Aug 4, 2020

@ant-design-bot
Copy link
Contributor

ant-design-bot commented Aug 4, 2020

@afc163
Copy link
Member

afc163 commented Aug 5, 2020

There is no rc-picker/lib/locale/gl_ES now.

@barreeeiroo
Copy link
Contributor Author

@afc163 I know, I've also submitted a PR to their repo, so it can be used here

@yoyo837
Copy link
Contributor

yoyo837 commented Aug 6, 2020

@afc163 I know, I've also submitted a PR to their repo, so it can be used here

Is it submitted to the wrong place?

https://github.com/react-component/picker

@barreeeiroo
Copy link
Contributor Author

@yoyo837 My bad, I did only the rc-pagination, not the rc-picker. Opened a PR now
react-component/picker#120

@todo
Copy link

todo bot commented Aug 6, 2020

',

selectAll: 'Seleccionar todo',
selectInvert: 'Invertir selección',
sortTitle: 'Ordenar',
},
Modal: {
okText: 'Aceptar',


This comment was generated by todo based on a todo comment in 677040c in #26015. cc @barreeeiroo.

@todo
Copy link

todo bot commented Aug 6, 2020

',

selectAll: 'Seleccionar todo',
selectInvert: 'Invertir selección',
sortTitle: 'Ordenar'
},
Modal: {
okText: 'Aceptar',


This comment was generated by todo based on a todo comment in 38c438d in #26015. cc @barreeeiroo.

@todo
Copy link

todo bot commented Aug 6, 2020

',

selectAll: 'Seleccionar todo',
selectInvert: 'Invertir selección',
sortTitle: 'Ordenar'
},
Modal: {
okText: 'Aceptar',


This comment was generated by todo based on a todo comment in fcb6d05 in #26015. cc @barreeeiroo.

@afc163
Copy link
Member

afc163 commented Aug 10, 2020

@yoyo837
Copy link
Contributor

yoyo837 commented Aug 10, 2020

Now you need to switch to the feature branch and dependence on the new version of rc-picker.

@afc163
Copy link
Member

afc163 commented Aug 12, 2020

ping @barreeeiroo

@todo
Copy link

todo bot commented Aug 13, 2020

',

selectAll: 'Seleccionar todo',
selectInvert: 'Invertir selección',
sortTitle: 'Ordenar'
},
Modal: {
okText: 'Aceptar',


This comment was generated by todo based on a todo comment in da0d581 in #26015. cc @barreeeiroo.

@barreeeiroo barreeeiroo changed the base branch from master to feature August 13, 2020 11:41
@todo
Copy link

todo bot commented Aug 13, 2020

',

selectAll: 'Seleccionar todo',
selectInvert: 'Invertir selección',
sortTitle: 'Ordenar'
},
Modal: {
okText: 'Aceptar',


This comment was generated by todo based on a todo comment in e886be0 in #26015. cc @barreeeiroo.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Aug 13, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 638d71c:

Sandbox Source
antd reproduction template Configuration

@todo
Copy link

todo bot commented Aug 13, 2020

',

selectAll: 'Seleccionar todo',
selectInvert: 'Invertir selección',
sortTitle: 'Ordenar',
},
Modal: {
okText: 'Aceptar',


This comment was generated by todo based on a todo comment in cd00dc3 in #26015. cc @barreeeiroo.

@codecov
Copy link

codecov bot commented Aug 13, 2020

Codecov Report

Merging #26015 into feature will decrease coverage by 0.02%.
The diff coverage is 0.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           feature   #26015      +/-   ##
===========================================
- Coverage    99.52%   99.49%   -0.03%     
===========================================
  Files          378      377       -1     
  Lines         7339     7334       -5     
  Branches      2005     2046      +41     
===========================================
- Hits          7304     7297       -7     
- Misses          35       37       +2     
Impacted Files Coverage Δ
components/date-picker/locale/gl_ES.tsx 0.00% <0.00%> (ø)
components/locale/gl_ES.tsx 0.00% <0.00%> (ø)
components/time-picker/locale/gl_ES.tsx 0.00% <0.00%> (ø)
components/upload/Upload.tsx 99.18% <0.00%> (-0.82%) ⬇️
components/form/FormItem.tsx 99.22% <0.00%> (-0.78%) ⬇️
components/form/Form.tsx 100.00% <0.00%> (ø)
components/space/index.tsx 100.00% <0.00%> (ø)
components/form/context.tsx 100.00% <0.00%> (ø)
components/progress/Line.tsx 100.00% <0.00%> (ø)
components/progress/utils.ts 100.00% <0.00%> (ø)
... and 22 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 16962bb...638d71c. Read the comment docs.

@barreeeiroo
Copy link
Contributor Author

@yoyo837 @afc163 fixed, and rebased the branch onto feature. I bumped the rc-picker to the minimum required version to work with the Galician locale.
All checks are passing.

@yoyo837
Copy link
Contributor

yoyo837 commented Aug 14, 2020

docs/react/i18n.en-US.md
docs/react/i18n.zh-CN.md

Please add docs for it.

Test case: /components/locale-provider/__tests__/index.test.js

@afc163
Copy link
Member

afc163 commented Aug 14, 2020

Please add test case.

@todo
Copy link

todo bot commented Aug 16, 2020

',

selectAll: 'Seleccionar todo',
selectInvert: 'Invertir selección',
sortTitle: 'Ordenar',
},
Modal: {
okText: 'Aceptar',


This comment was generated by todo based on a todo comment in eae905b in #26015. cc @barreeeiroo.

docs/react/i18n.zh-CN.md Outdated Show resolved Hide resolved
@yoyo837
Copy link
Contributor

yoyo837 commented Aug 17, 2020

Pls run:

npm test -- -u

and push all changes.

@afc163
Copy link
Member

afc163 commented Aug 17, 2020

Please add test case like other locales.

@todo
Copy link

todo bot commented Aug 18, 2020

',

selectAll: 'Seleccionar todo',
selectInvert: 'Invertir selección',
sortTitle: 'Ordenar',
},
Modal: {
okText: 'Aceptar',


This comment was generated by todo based on a todo comment in 580b161 in #26015. cc @barreeeiroo.

@barreeeiroo
Copy link
Contributor Author

@afc163 which test case are you talking about? I searched for es_ES tests, and only found one.

@afc163
Copy link
Member

afc163 commented Aug 19, 2020

  1. Please rebase latest feature branch and run npm test -- -u to update test snapshot.
  2. Please add a semantic commit or PR title.

image

@zombieJ
Copy link
Member

zombieJ commented Aug 20, 2020

/rebase

@barreeeiroo barreeeiroo changed the title Galician Locale feat: Galician Locale Aug 20, 2020
barreeeiroo and others added 5 commits August 20, 2020 10:52
@barreeeiroo
Copy link
Contributor Author

@afc163 it should be ready now. I have changed the PR name and made a commit with a semantic name (which now passes the check), and run npm test -- -u updating the test snapshots. It now uses the latest feature commit:

image

@zombieJ
Copy link
Member

zombieJ commented Aug 20, 2020

@barreeeiroo, feature branch merged master yet. Pls rebase again. Thanks : )

@yoyo837
Copy link
Contributor

yoyo837 commented Aug 20, 2020

  1. rebase, again :)
  2. git clean -fdx or delete node_modules, package-lock.json or yarn.lock manually
  3. npm test -- -u
  4. push all changes

@zombieJ zombieJ merged commit f1a09fe into ant-design:feature Aug 21, 2020
@zombieJ zombieJ mentioned this pull request Aug 22, 2020
1 task
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.

5 participants