Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.

Commit

Permalink
Remove unused locales (#1)
Browse files Browse the repository at this point in the history
* [misc] release process fixes (moment#4961)

* Fix locale abbreviation in comment

* Update package-lock.json

* [misc] Fix type of WeekSpec (moment#4634)

* Fix "the the" typo in test (moment#4578)

* [locale] Fix moment#4568: Insert punjabi for "next" (moment#4583)

* Fix type of WeekSpec

You can set `dow` without setting `doy`, so the type should reflect that

* [new locale] (oc-lnc) Occitan (moment#4957)

* Add oc-lnc files

* Fix calendar test

* Fix the rest of tests

* Add locale author

* Dont make changes to package-lock

* Add newline at end of file

* [bugfix] Fix moment#4962 updateLocale with null to reset (moment#4966)

* [locale] es: Add es translation for invalidDate (moment#4560)

* Add es translation for invalidDate

* Fix lint

* [locale] improve mk translation (moment#4958)

* Update mk.js

* Update mk.js

* Update mk.js

* Update mk.js

* [locale] improve mk translation

* [tests] Fix various text typos (moment#4976)

* [locale] mr (Marathi) (moment#4990)

* tests according to changes in mr.js

* [locale] mr (Marathi)

We Marathi people follow standards mentioned below, to label timespans.

Label | Time Span 
------------ | -------------
पहाटे (post midnight, pre-sunrise) |    >= 12am to < 6am 
सकाळी (post sunrise, pre-noon) |    >= 6am to < 12pm
दुपारी (afternoon) |    >= 12pm to < 5pm
सायंकाळी (evening) |    >= 5pm to < 8pm
रात्री (night) |    >= 8pm to < 12am

Actually, 12am is confusing in Marathi tradition. In modern clock system, Moment 12am is considered in arriving date as 0am. And in Marathi tradition it is referred to as final moment of the previous date (Sort of, 0:01 is starting minute of the arriving date) . To comply with modern clock system, I propose to refer to 0am as पहाटे , so that it is considered as moment in the arriving date. Hope this discription itself is not confusing :)

Another point is about range of पहाटे, ie. >= 0am to < 6am. Though conventionally, upto 2 am, we refer to the time as रात्री or पहाटे, both alternatively, I want to specifically call पहाटे for early times in the arriving date and रात्री for late times in the departing date, to make it more specific and well-defined, avoiding confusion about date of the time.

* [locale] correct translation of locale for Vietnam (moment#4874)

* correct translation of locale for Vietnam

* correct translation of locale for Vietnam (edit proper src files)

* Update author comment line

* [locale] (en-sg) Rename locale en-SG to en-sg (moment#5025)

* [locale] typos in Irish locale for months (moment#5127)

Fixed some typos in the Irish locale regarding months.

* [locale] (br) Breton move from 12-hour to 24-hour notation (moment#4975)

* Breton : move from 12-hour to 24-hour notation moment#4974 moment#4974

* Replace [e] by :

* [locale] bn: Improve translation as per Bangla Academy (moment#5055)

* Delete unused locales

* Remove unused locales

* Update test and build

* Add untracked locale
  • Loading branch information
GmaMontero committed Sep 4, 2019
1 parent 96d0d67 commit ab0d313
Show file tree
Hide file tree
Showing 373 changed files with 2,798 additions and 126,966 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ nyc_output
.coveralls.yml
.vscode/
.idea
*.iml
118 changes: 2 additions & 116 deletions component.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,133 +5,19 @@
"description": "Parse, validate, manipulate, and display dates in JavaScript.",
"files": [
"moment.js",
"locale/af.js",
"locale/ar-dz.js",
"locale/ar-kw.js",
"locale/ar-ly.js",
"locale/ar-ma.js",
"locale/ar-sa.js",
"locale/ar-tn.js",
"locale/ar.js",
"locale/az.js",
"locale/be.js",
"locale/bg.js",
"locale/bm.js",
"locale/bn.js",
"locale/bo.js",
"locale/br.js",
"locale/bs.js",
"locale/ca.js",
"locale/cs.js",
"locale/cv.js",
"locale/cy.js",
"locale/da.js",
"locale/de-at.js",
"locale/de-ch.js",
"locale/de.js",
"locale/dv.js",
"locale/el.js",
"locale/en-SG.js",
"locale/en-au.js",
"locale/en-ca.js",
"locale/en-gb.js",
"locale/en-ie.js",
"locale/en-il.js",
"locale/en-nz.js",
"locale/eo.js",
"locale/en-sg.js",
"locale/es-do.js",
"locale/es-us.js",
"locale/es.js",
"locale/et.js",
"locale/eu.js",
"locale/fa.js",
"locale/fi.js",
"locale/fo.js",
"locale/fr-ca.js",
"locale/fr-ch.js",
"locale/fr.js",
"locale/fy.js",
"locale/ga.js",
"locale/gd.js",
"locale/gl.js",
"locale/gom-latn.js",
"locale/gu.js",
"locale/he.js",
"locale/hi.js",
"locale/hr.js",
"locale/hu.js",
"locale/hy-am.js",
"locale/id.js",
"locale/is.js",
"locale/it-ch.js",
"locale/it.js",
"locale/ja.js",
"locale/jv.js",
"locale/ka.js",
"locale/kk.js",
"locale/km.js",
"locale/kn.js",
"locale/ko.js",
"locale/ku.js",
"locale/ky.js",
"locale/lb.js",
"locale/lo.js",
"locale/lt.js",
"locale/lv.js",
"locale/me.js",
"locale/mi.js",
"locale/mk.js",
"locale/ml.js",
"locale/mn.js",
"locale/mr.js",
"locale/ms-my.js",
"locale/ms.js",
"locale/mt.js",
"locale/my.js",
"locale/nb.js",
"locale/ne.js",
"locale/nl-be.js",
"locale/nl.js",
"locale/nn.js",
"locale/pa-in.js",
"locale/pl.js",
"locale/pt-br.js",
"locale/pt.js",
"locale/ro.js",
"locale/ru.js",
"locale/sd.js",
"locale/se.js",
"locale/si.js",
"locale/sk.js",
"locale/sl.js",
"locale/sq.js",
"locale/sr-cyrl.js",
"locale/sr.js",
"locale/ss.js",
"locale/sv.js",
"locale/sw.js",
"locale/ta.js",
"locale/te.js",
"locale/tet.js",
"locale/tg.js",
"locale/th.js",
"locale/tl-ph.js",
"locale/tlh.js",
"locale/tr.js",
"locale/tzl.js",
"locale/tzm-latn.js",
"locale/tzm.js",
"locale/ug-cn.js",
"locale/uk.js",
"locale/ur.js",
"locale/uz-latn.js",
"locale/uz.js",
"locale/vi.js",
"locale/x-pseudo.js",
"locale/yo.js",
"locale/zh-cn.js",
"locale/zh-hk.js",
"locale/zh-tw.js"
"locale/pt.js"
],
"scripts": [
"moment.js"
Expand Down
72 changes: 0 additions & 72 deletions locale/af.js

This file was deleted.

58 changes: 0 additions & 58 deletions locale/ar-dz.js

This file was deleted.

58 changes: 0 additions & 58 deletions locale/ar-kw.js

This file was deleted.

0 comments on commit ab0d313

Please sign in to comment.