Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/gold-ties-whisper.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@google-translate-select/constants': major
'@google-translate-select/theme-chalk': major
---

Add Portuguese (Brazil)
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
> This project inherits from [v-google-translate](https://www.npmjs.com/package/v-google-translate). The previous `v-google-translate` package move to branch `backup/master`, if you want to check it, click [here](https://github.com/i7eo/google-translate-select/tree/backup/master).

<!-- [![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/i7eo/google-translate-select/Release/master?label=build%20%26%20release)](https://github.com/i7eo/google-translate-select/actions/workflows/release.yml/badge.svg) -->

![GitHub Workflow Status (branch)](https://github.com/i7eo/google-translate-select/actions/workflows/release.yml/badge.svg)
[![All Contributors](https://img.shields.io/github/all-contributors/i7eo/google-translate-select/master)](#contributors-)

Expand Down Expand Up @@ -108,12 +109,14 @@ This repository is published under the [MIT](LICENSE) license.
## Contributors

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tbody>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/rochac2lee"><img src="https://avatars.githubusercontent.com/u/60928171?v=4?s=100" width="100px;" alt="rochac2lee"/><br /><sub><b>rochac2lee</b></sub></a><br /><a href="https://github.com/i7eo/google-translate-select/commits?author=rochac2lee" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/MiracleH"><img src="https://avatars.githubusercontent.com/u/22657524?v=4?s=100" width="100px;" alt="hyj"/><br /><sub><b>hyj</b></sub></a><br /><a href="https://github.com/i7eo/google-translate-select/commits?author=MiracleH" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://yesux.github.io/"><img src="https://avatars.githubusercontent.com/u/44074974?v=4?s=100" width="100px;" alt="suxiong"/><br /><sub><b>suxiong</b></sub></a><br /><a href="https://github.com/i7eo/google-translate-select/commits?author=YeSuX" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ubercj"><img src="https://avatars.githubusercontent.com/u/73803823?v=4?s=100" width="100px;" alt="Chris Jones"/><br /><sub><b>Chris Jones</b></sub></a><br /><a href="https://github.com/i7eo/google-translate-select/commits?author=ubercj" title="Code">💻</a></td>
Expand All @@ -137,5 +140,3 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<!-- prettier-ignore-end -->

<!-- ALL-CONTRIBUTORS-LIST:END -->


9 changes: 7 additions & 2 deletions apps/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,13 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<table>
<tbody>
<tr>
<td align="center"><a href="https://github.com/MiracleH"><img src="https://avatars.githubusercontent.com/u/22657524?v=4?s=100" width="100px;" alt="hyj"/><br /><sub><b>hyj</b></sub></a><br /><a href="https://github.com/i7eo/google-translate-select/commits?author=MiracleH" title="Code">💻</a></td>
<td align="center"><a href="https://yesux.github.io/"><img src="https://avatars.githubusercontent.com/u/44074974?v=4?s=100" width="100px;" alt="suxiong"/><br /><sub><b>suxiong</b></sub></a><br /><a href="https://github.com/i7eo/google-translate-select/commits?author=YeSuX" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/rochac2lee"><img src="https://avatars.githubusercontent.com/u/60928171?v=4?s=100" width="100px;" alt="rochac2lee"/><br /><sub><b>rochac2lee</b></sub></a><br /><a href="https://github.com/i7eo/google-translate-select/commits?author=rochac2lee" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/MiracleH"><img src="https://avatars.githubusercontent.com/u/22657524?v=4?s=100" width="100px;" alt="hyj"/><br /><sub><b>hyj</b></sub></a><br /><a href="https://github.com/i7eo/google-translate-select/commits?author=MiracleH" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://yesux.github.io/"><img src="https://avatars.githubusercontent.com/u/44074974?v=4?s=100" width="100px;" alt="suxiong"/><br /><sub><b>suxiong</b></sub></a><br /><a href="https://github.com/i7eo/google-translate-select/commits?author=YeSuX" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ubercj"><img src="https://avatars.githubusercontent.com/u/73803823?v=4?s=100" width="100px;" alt="Chris Jones"/><br /><sub><b>Chris Jones</b></sub></a><br /><a href="https://github.com/i7eo/google-translate-select/commits?author=ubercj" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://info.souldoit.com"><img src="https://avatars.githubusercontent.com/u/15118790?v=4?s=100" width="100px;" alt="Syamsoul Azrien Muda"/><br /><sub><b>Syamsoul Azrien Muda</b></sub></a><br /><a href="https://github.com/i7eo/google-translate-select/commits?author=syamsoul" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/huazhuangnan"><img src="https://avatars.githubusercontent.com/u/46070704?v=4?s=100" width="100px;" alt="HuaZhuangNan"/><br /><sub><b>HuaZhuangNan</b></sub></a><br /><a href="https://github.com/i7eo/google-translate-select/commits?author=huazhuangnan" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://collins-odongo.netlify.app/"><img src="https://avatars.githubusercontent.com/u/86556838?v=4?s=100" width="100px;" alt="Zero"/><br /><sub><b>Zero</b></sub></a><br /><a href="https://github.com/i7eo/google-translate-select/commits?author=zero-stealth" title="Documentation">📖</a></td>
</tr>
</tbody>
</table>
Expand Down
13 changes: 10 additions & 3 deletions packages/constants/src/web/languages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export const GOOGLE_TRANSLATE_SELECT_LANGUAGES_CODES = [
'vi',
'no',
'pl',
'pt-PT',
'pt',
'ro',
'ru',
Expand Down Expand Up @@ -284,11 +285,17 @@ export const GOOGLE_TRANSLATE_SELECT_LANGUAGES: Language[] = [
cname: '波兰语',
ename: 'Polish',
},
{
code: 'pt-PT',
name: 'Português (Portugal)',
cname: '葡萄牙语 (葡萄牙)',
ename: 'Portuguese (Portugal)',
},
{
code: 'pt',
name: 'Português',
cname: '葡萄牙语',
ename: 'Portuguese',
name: 'Português (Brasil)',
cname: '葡萄牙语 (巴西)',
ename: 'Portuguese (Brazil)',
},
{
code: 'ro',
Expand Down
13 changes: 11 additions & 2 deletions packages/theme-chalk/src/google-translate-select.scss

Large diffs are not rendered by default.