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

පරිවර්තන නිවරදි කිරීම #1475

Merged
merged 1 commit into from
Jul 27, 2021

Conversation

Aikatsui
Copy link
Contributor

This fix incorrect localization for sinhalese/sinhala language (sri lanka). Below describe using examples

e.g. January
current: ජනවාරි (janavaari)
update: දුරුතු (duruthu)

e.g. August
current: අගෝස්තු (agoosthu)
update: නිකිණි (nikini)

I saw @aadityataparia @iamkun have updated si.js then do you remember the source of that resources? if then it will helpful for me to follow and re-correct.

@codecov
Copy link

codecov bot commented Apr 27, 2021

Codecov Report

Merging #1475 (80ae50a) into dev (0fdac93) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##              dev    #1475   +/-   ##
=======================================
  Coverage   99.94%   99.94%           
=======================================
  Files         176      176           
  Lines        1770     1770           
  Branches      411      411           
=======================================
  Hits         1769     1769           
  Misses          1        1           
Impacted Files Coverage Δ
src/locale/si.js 100.00% <ø> (ø)

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 0fdac93...80ae50a. Read the comment docs.

@iamkun
Copy link
Owner

iamkun commented Apr 27, 2021

the source file should be this https://github.com/moment/moment/blob/develop/locale/si.js

@Aikatsui
Copy link
Contributor Author

the source file should be this https://github.com/moment/moment/blob/develop/locale/si.js

謝謝! I already found it and added PR. you can merge this changes meanwhile however let me know if i need to provide more details about that

@iamkun
Copy link
Owner

iamkun commented May 26, 2021

I'm not sure if we should keep the same with momentjs or not?

@Aikatsui
Copy link
Contributor Author

I'm not sure if we should keep the same with momentjs or not?

Same PR for that repository moment/moment#5877
There're many localization related fixes PRs on momentjs moment/pulls but it seems take long time for review them

Project Status
Moment.js is a legacy project, now in maintenance mode. In most cases, you should choose a different library.

https://momentjs.com/docs/#/-project-status/

  • We will not be making any major changes (no version 3).
  • We may choose to not fix bugs or behavioral quirks, especially if they are long-standing known issues.

May be, someone from dayjs able to join to momentjs for review PRs for example. I'm not sure if that necessary or convenient otherwise you may able to take a look at important PRs randomly and apply them to dayjs.

@iamkun
Copy link
Owner

iamkun commented Jun 28, 2021

Thanks, I'll mark this PR for more code review by native speakers before it gets merged.

@dinithija
Copy link
Contributor

@iamkun @Aikatsui notified me; I'm sinhalese language native speaker.

  • About the PR - it's correct. people're using them since ancient times and now, also for astrology, horoscopes etc.
  • About old names - those're westernized/adopted words for unknown purposes some years ago. eg: follow western style.
    (above @Aikatsui has provided examples; eg: january - ජනවාරි (janavaari)

@itsnotsaved
Copy link

itsnotsaved commented Jul 21, 2021

Thanks, I'll mark this PR for more code review by native speakers before it gets merged.

can you merge this? see another resource with pronunciation https://masteranylanguage.com/c/b/o9ly878fJ/98-Sinhala-MonthsOfYear-Learn-Step-By-Step (first three rows contain 12 months loan names. you can easily recognize them because it has pronunciation and then correct 12 months names)

@iamkun
Copy link
Owner

iamkun commented Jul 27, 2021

sure, LGTM

@iamkun iamkun merged commit 63de2a8 into iamkun:dev Jul 27, 2021
iamkun pushed a commit that referenced this pull request Sep 10, 2021
## [1.10.7](v1.10.6...v1.10.7) (2021-09-10)

### Bug Fixes

* Add  Spanish (Mexico) [es-mx] locale ([#1614](#1614)) ([3393f2a](3393f2a))
* Add Arabic (Iraq) [ar-iq] locale ([#1627](#1627)) ([b5a1391](b5a1391))
* add format object type to type file ([#1572](#1572)) ([5a79cc6](5a79cc6))
* duration plugin when parsing duration from ISO string, set missing components to 0 instead of NaN ([#1611](#1611)) ([252585b](252585b))
* narrow type for `add` and `subtract` ([#1576](#1576)) ([1686962](1686962))
* update customParseFormat plugin strict x X parsing ([#1571](#1571)) ([08adda5](08adda5))
* update Lithuanian [lt] locale spelling for single month ([#1609](#1609)) ([255dc54](255dc54))
* Update Norwegian Bokmål [nb] local yearStart 4 ([#1608](#1608)) ([7a8467c](7a8467c))
* update plugin advancedFormat `isValid` validation ([#1566](#1566)) ([755fc8b](755fc8b))
* update Sinhalese [si] locale month name ([#1475](#1475)) ([63de2a8](63de2a8))
* update utcOffset plugin type file ([#1604](#1604)) ([f68e4b1](f68e4b1))
@iamkun
Copy link
Owner

iamkun commented Sep 10, 2021

🎉 This PR is included in version 1.10.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

andrewhood125ruhuc added a commit to andrewhood125ruhuc/SidRH2 that referenced this pull request May 10, 2022
## [1.10.7](iamkun/dayjs@v1.10.6...v1.10.7) (2021-09-10)

### Bug Fixes

* Add  Spanish (Mexico) [es-mx] locale ([#1614](iamkun/dayjs#1614)) ([3393f2a](iamkun/dayjs@3393f2a))
* Add Arabic (Iraq) [ar-iq] locale ([#1627](iamkun/dayjs#1627)) ([b5a1391](iamkun/dayjs@b5a1391))
* add format object type to type file ([#1572](iamkun/dayjs#1572)) ([5a79cc6](iamkun/dayjs@5a79cc6))
* duration plugin when parsing duration from ISO string, set missing components to 0 instead of NaN ([#1611](iamkun/dayjs#1611)) ([252585b](iamkun/dayjs@252585b))
* narrow type for `add` and `subtract` ([#1576](iamkun/dayjs#1576)) ([1686962](iamkun/dayjs@1686962))
* update customParseFormat plugin strict x X parsing ([#1571](iamkun/dayjs#1571)) ([08adda5](iamkun/dayjs@08adda5))
* update Lithuanian [lt] locale spelling for single month ([#1609](iamkun/dayjs#1609)) ([255dc54](iamkun/dayjs@255dc54))
* Update Norwegian Bokmål [nb] local yearStart 4 ([#1608](iamkun/dayjs#1608)) ([7a8467c](iamkun/dayjs@7a8467c))
* update plugin advancedFormat `isValid` validation ([#1566](iamkun/dayjs#1566)) ([755fc8b](iamkun/dayjs@755fc8b))
* update Sinhalese [si] locale month name ([#1475](iamkun/dayjs#1475)) ([63de2a8](iamkun/dayjs@63de2a8))
* update utcOffset plugin type file ([#1604](iamkun/dayjs#1604)) ([f68e4b1](iamkun/dayjs@f68e4b1))
andrewhood125ruhuc added a commit to andrewhood125ruhuc/SidRH2 that referenced this pull request May 10, 2022
## [1.10.7](iamkun/dayjs@v1.10.6...v1.10.7) (2021-09-10)

### Bug Fixes

* Add  Spanish (Mexico) [es-mx] locale ([#1614](iamkun/dayjs#1614)) ([3393f2a](iamkun/dayjs@3393f2a))
* Add Arabic (Iraq) [ar-iq] locale ([#1627](iamkun/dayjs#1627)) ([b5a1391](iamkun/dayjs@b5a1391))
* add format object type to type file ([#1572](iamkun/dayjs#1572)) ([5a79cc6](iamkun/dayjs@5a79cc6))
* duration plugin when parsing duration from ISO string, set missing components to 0 instead of NaN ([#1611](iamkun/dayjs#1611)) ([252585b](iamkun/dayjs@252585b))
* narrow type for `add` and `subtract` ([#1576](iamkun/dayjs#1576)) ([1686962](iamkun/dayjs@1686962))
* update customParseFormat plugin strict x X parsing ([#1571](iamkun/dayjs#1571)) ([08adda5](iamkun/dayjs@08adda5))
* update Lithuanian [lt] locale spelling for single month ([#1609](iamkun/dayjs#1609)) ([255dc54](iamkun/dayjs@255dc54))
* Update Norwegian Bokmål [nb] local yearStart 4 ([#1608](iamkun/dayjs#1608)) ([7a8467c](iamkun/dayjs@7a8467c))
* update plugin advancedFormat `isValid` validation ([#1566](iamkun/dayjs#1566)) ([755fc8b](iamkun/dayjs@755fc8b))
* update Sinhalese [si] locale month name ([#1475](iamkun/dayjs#1475)) ([63de2a8](iamkun/dayjs@63de2a8))
* update utcOffset plugin type file ([#1604](iamkun/dayjs#1604)) ([f68e4b1](iamkun/dayjs@f68e4b1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants