mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 02:16:45 +00:00
Fix.
This commit is contained in:
parent
596a6da241
commit
c1a589c5b6
7078 changed files with 1882834 additions and 319 deletions
35
node_modules/lcid/readme.md
generated
vendored
Normal file
35
node_modules/lcid/readme.md
generated
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
# lcid [](https://travis-ci.org/sindresorhus/lcid)
|
||||
|
||||
> Mapping between [standard locale identifiers](https://en.wikipedia.org/wiki/Locale_(computer_software)) and [Windows locale identifiers (LCID)](http://en.wikipedia.org/wiki/Locale#Specifics_for_Microsoft_platforms)
|
||||
|
||||
Based on the [mapping](https://github.com/python/cpython/blob/8f7bb100d0fa7fb2714f3953b5b627878277c7c6/Lib/locale.py#L1465-L1674) used in the Python standard library.
|
||||
|
||||
The mapping itself is just a [JSON file](lcid.json) and can be used wherever.
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install lcid
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
const lcid = require('lcid');
|
||||
|
||||
lcid.from(1044);
|
||||
//=> 'nb_NO'
|
||||
|
||||
lcid.to('nb_NO');
|
||||
//=> 1044
|
||||
|
||||
lcid.all;
|
||||
//=> {'af_ZA': 1078, ...}
|
||||
```
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](https://sindresorhus.com)
|
Loading…
Add table
Add a link
Reference in a new issue