Skip to content

Commit

Permalink
Rename pt-br -> pt
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jun 12, 2021
1 parent 29cbded commit 23789e0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"fr.d.ts",
"it.js",
"it.d.ts",
"pt-br.js",
"pt-br.d.ts",
"pt.js",
"pt.d.ts",
"pt-pt.js",
"pt-pt.d.ts"
],
Expand All @@ -49,8 +49,8 @@
"./fr.js": "./fr.js",
"./it": "./it.js",
"./it.js": "./it.js",
"./pt-br": "./pt-br.js",
"./pt-br.js": "./pt-br.js",
"./pt": "./pt.js",
"./pt.js": "./pt.js",
"./pt-pt": "./pt-pt.js",
"./pt-pt.js": "./pt-pt.js"
},
Expand Down
File renamed without changes.
14 changes: 7 additions & 7 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ console.log(cuss.asshat) // 2

### Usage of locale versions

To use Portuguese (as used in Brazil), do:
To use Portuguese do:

```js
import {cuss} from 'cuss/pt-br'
import {cuss} from 'cuss/pt'

console.log(Object.keys(cuss).length) // 173

Expand All @@ -48,8 +48,8 @@ console.log(cuss.bixa) // 2

`cuss` has the following entries in its export map: `cuss` (English),
`cuss/ar-latn` (Arabic (Latin script)), `cuss/es` (Spanish), `cuss/fr` (French),
`cuss/it` (Italian), `cuss/pt-br` (Portuguese (Brazillian)), `cuss/pt-pt`
(Portuguese (Portugal)).
`cuss/it` (Italian), `cuss/pt` (Portuguese), `cuss/pt-pt` (Portuguese
(Portugal)).

Each entry exports the identifier `cuss`.
There are no default exports.
Expand Down Expand Up @@ -91,8 +91,8 @@ profanity depending on context.
(Wiktionary);
[Parole oscene][it-source-treccani-paroleoscene] (Treccani);
and [`chucknorris-io/swear-words`][it-source-swear-words]
* [`cuss/pt-br`](pt-br.js) — ± 148 Brazilian Portuguese profane words from
[`aprenderpalavras.com`][pt-br-source]
* [`cuss/pt`](pt.js) — ± 148 Portuguese profane words from
[`aprenderpalavras.com`][pt-source]
* [`cuss/pt-pt`](pt-pt.js) — ± 45 Portuguese profane words from
[`wikipedia`][pt-pt-source] and common culture

Expand Down Expand Up @@ -188,7 +188,7 @@ Finally, open a pull request.

[it-source-swear-words]: https://github.com/chucknorris-io/swear-words/blob/master/it

[pt-br-source]: https://aprenderpalavras.com/lista-de-palavroes-xingamentos-e-girias/
[pt-source]: https://aprenderpalavras.com/lista-de-palavroes-xingamentos-e-girias/

[luis-von-ahn]: https://www.cs.cmu.edu/~biglou/resources/

Expand Down

0 comments on commit 23789e0

Please sign in to comment.