Skip to content

Commit

Permalink
Update to Brazillian portuguese (#1028)
Browse files Browse the repository at this point in the history
* Updato Brazillian portuguese

* 000000000

---------

Co-authored-by: Dmitrii Selivanov <[email protected]>
  • Loading branch information
unnamed-orbert and Anarios authored Feb 25, 2024
1 parent 6e15426 commit 27d97a8
Show file tree
Hide file tree
Showing 10 changed files with 494 additions and 11 deletions.
67 changes: 67 additions & 0 deletions CONTRIBUTINGpt_BR.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
Read this in other languages: [русский](CONTRIBUTINGru.md), [Nederlands](CONTRIBUTINGnl.md), [Français](CONTRIBUTINGfr.md), [Türkçe](CONTRIBUTINGtr.md), [українська](CONTRIBUTINGuk.md), [Polski](CONTRIBUTINGpl.md)

# Bem-vindo ao Guia de contribuição do Return YouTube Dislikes

Thank you for investing your time in contributing to our project! All your changes will be reflected in the next version of the extension (or the [website](https://www.returnyoutubedislike.com/)).

## Vamos ao começo

Por favor use o Prettir com a configurações padrão de formatação.

#### Prerequisites

vocÊ precisa ter node e npm instalado para criar um You need to have node and npm installed to create the bundled version of the source.

Versões que usará quando estiver trabalhando nisso:

- node: 12.18.4
- npm: 6.14.6

To create the `bundled-content-script.js` that contains most of the business logic of this extension you have to install all dependencies first.

1. Vá para a raiz do repositorio e execute:

```
npm install
```

2. Execute o seguinte comando para criar `bundled-content-script.js` which (what is?) e usando no `manifest.json`

```
npm start // to create the build file(s) and start a file watcher that hot-reloads on save
// ou
npm run build // para criar uma build para cria um arquivo de build
```

Congratulations, You are now ready to develop!

If you are new to developing Chrome extensions, or need extra help, please see [this YouTube tutorial](https://www.youtube.com/watch?v=mdOj6HYE3_0)

### Problemas

#### Abrindo um novo problema

Se voce tiver qualquer problema com a extensão, por favor pesquisa o que faz o problema antes de reporta-lo de fato. Se não houver, abra um probelma, usando o formulario de problema é recomendado mas não é uma obrigação.

#### Solucionando um problema

Se você tiver um problema If you found an issue that you feel you might be able to solve, Não seja "shy"? . Abra um PR(Pull Request)com a correção e faça uma menção do problema que está consertando.

### Requisitação de Recurso

#### Abrindo uma nova requisitação de recurso

Se você tem alguma ideia para a extensão, sinta livre para abrir uma requisitação de recurso, mas por favor pesquise isso antes para não perder seu tempo com sua sugestão. Usando o formulario de recurso é altamente recomendado mas não é um obrigação.

#### Implementando uma requisitação de recurso

If you found a feature that you feel you might be able to implement, don't be shy. Open a PR with the fix and make sure to mention the feature you are implementing.

### What PRs do we accept?

- Resolução de problemas.
- Implementação de recurso.
- Marcação, melhoria facilitação de palavras usadas.
- Contribuição para o Website.
3 changes: 2 additions & 1 deletion Docs/FAQ.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Read this in other languages: [русский](FAQru.md), [Français](FAQfr.md), [Nederlands](FAQnl.md), [Türkçe](FAQtr.md), [українська](FAQuk.md), [Polski](FAQpl.md), [Deutsch](FAQde.md)
Read this in other languages: [русский](FAQru.md), [Français](FAQfr.md), [Nederlands](FAQnl.md), [Türkçe](FAQtr.md), [українська](FAQuk.md), [Polski](FAQpl.md), [Deutsch](FAQde.md), [Português do Brasil](FAQpt_BRmd)


# Frequently Asked Questions

Expand Down
61 changes: 61 additions & 0 deletions Docs/FAQpt_BRmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
Leia isso em outros Idiomas: [русский](FAQru.md), [Français](FAQfr.md), [Nederlands](FAQnl.md), [Türkçe](FAQtr.md), [українська](FAQuk.md), [Polski](FAQpl.md)

# Frequently Asked Questions

## Before asking a question on GitHub or Discord, please refer to this.

<br>

### **1. Where does this extension get the data?**

A Combination of Google APIs and scraped data.

We save all available data to our DB for it to be available after Google shuts down dislike counts in their API.

<br>

### **2. Video dislike count doesn't update**

Right now video dislikes are cached, and aren't updated very frequenly. Once every 2-3 days, not more often.

Yeah, it's not ideal, but it is what it is. Working on improving how often we can update them.

<br>

### **3. How does this work?**

The extension collects the video id of the video you are watching, fetches the dislike (and other fields like views, likes etc) using our API, if this is the first time the video was fetched by our API, it will use the YouTube API to get the data, then stores the data in a database for caching (cached for around 2-3 days) and archiving purposes and returns it to you. The extension then displays the dislikes to you.

<br>

### **4. What will happen after the YouTube API stops returning the dislike count?**

The backend will switch to using a combination of archived dislike stats, estimates extrapolated from extension user data and estimates based on view/like ratios for videos whose dislikes weren't archived and for outdated dislike archives.

<br>

### **5. How is the dislike count calculated?**

RYD uses the votes from its users to extrapolate the dislike count.

- If the video was uploaded after the API was shut down:

$$ \textup{RYD Dislike Count} = \left( \frac{\textup{RYD Users Dislike Count}}{\textup{RYD Users Like Count}} \right) \times \textup{Public Like Count} $$

- If the RYD database somehow had the actual like and dislike count (provided by the uploader or from the archive), the dislike count will be calculated based on both - the users' votes and the archived value. The archived value will have less influence on the final count as it ages.

<br>

---

Essa a This in video form

[![IReturn YouTube Dislike Explained](https://yt-embed.herokuapp.com/embed?v=GSmmtv-0yYQ)](https://www.youtube.com/watch?v=GSmmtv-0yYQ)

---

<br>

## I have security / privacy concerns

See [this page](SECURITY-FAQpt_BR.md) for more info.
31 changes: 31 additions & 0 deletions Docs/SECURITY-FAQpt_BR.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Leia isso em outros idiomas: [русский](SECURITY-FAQru.md), [Nederlands](SECURITY_FAQnl.md), [Français](SECURITY-FAQfr.md), [Türkçe](SECURITY-FAQtr.md), [українська](SECURITY-FAQuk.md), [Polski](SECURITY-FAQpl.md)

# Segurança

### Are you tracking my viewing history?

No. The extension's code is public and you can see it for yourself. The only information being sent is the video ID, which is required to fetch the dislike count for the videos. There are no additional headers being sent. Over the communication layer, your public IP will be exposed to the server, as well as the time when the request was made. However, none of these are uniquely identifying you in any way. Assuming a zero-trust environment, the best we could get is a dynamic IP. Which, today is yours, tomorrow is your neighbor's. If you're really worried about your IP being traced, you probably already use a VPN.

### Can you uniquely identify me if I dislike?

Yes. When you dislike a video, we create a randomly generated unique ID for you that is not tied to your Google account. This is done to prevent botting. But there is no way to tie this random Id to you or your personal YouTube account.

### Quais as informações que você tem, exatamente?

Somente seu video ID. Não temos seus comentarios, seu nome de usuario, ou qualquer outro Not your comments, not your username, not who you've shared the video with, not any additional metadata. NADA. Apenas seu Video ID.

### How is my IP stored?

The backend keeps unhashed IP addresses in volatile memory (RAM) only. These addresses aren't stored on a hard drive, and therefore aren't logged. We hash the IP addresses, and that's stored instead. This is done to prevent database vandalism.

### I heard some discussion over OAuth, and access to my YouTube account!

This feature will be optional, and very much opt-in. If you are a YouTube creator, and would like to share your dislike stats with us, you can. The way [OAuth](https://en.wikipedia.org/wiki/OAuth#:~:text=but%20without%20giving%20them%20the%20passwords.) was structured, it's actually very secure. You can revoke access to your account at any time, and can give very specific permissions to us. We will not ask for any permissions that aren't required. We'll only ask for permissions to view your video stats.

### How can I trust this dislike count?

We have implemented measures to prevent bot attacks and are gonna continue to work on improving the effectiveness of the bot prevention system: this will help us keep the dislike count as a good representative of the actual count. Of course it will never be 100% accurate so it's up to you to decide whether you trust the count or not.

### Why don't you share the backend code?

We will share it at some point - but there's really no real reason to share it right now. It gives a false sense of security - because in a zero-trust system, we could just as well disclose one version but deploy another. There are plenty of reasons to keep the code hidden, specifically, how we battle spam. Hiding/Obfuscating the spam handling code is a fairly standard practice.
39 changes: 39 additions & 0 deletions Docs/readmept_BR.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
Leia isso em outros idiomas: [Nederlands](readmenl.md), [Français](readmefr.md), [Türkçe](readmetr.md)

**Contents**

- [Guides](#guides)
- [FAQs](#faqs)
<!-- - [FAQs](#faqs)
- [Other Lists](#other-lists) -->

<br>

## Guides

- [Downloading, Installing & Using](https://github.com/Anarios/return-youtube-dislike/wiki/Downloading,-Installing-&-Using)
- [Troubleshooting](https://github.com/Anarios/return-youtube-dislike/wiki/Troubleshooting-Guide)
<!-- - [FAQ](FAQ.md)
- [When & How to Report Bugs](Guide__Bug_Reporting.md)
- [Contributing](https://github.com/Anarios/return-youtube-dislike/blob/main/CONTRIBUTING.md) -->
<!-- - [How to update wiki](/) -->

<br>

## FAQs

- [General](https://github.com/Anarios/return-youtube-dislike/blob/main/Docs/FAQ.md)
- [Security](https://github.com/Anarios/return-youtube-dislike/blob/main/Docs/SECURITY-FAQ.md)

<!-- - [Privacy](FAQ_Privacy.md)
- [Technical](FAQ_Technical.md)
- [Creators](FAQ_Creators.md)
<br>
## Other Lists
- [Common Problems](Common_Problems.md)
- [Repeated Questions](Repeated_Questions.md)
- [Repeated Feature requests](Repeated_Feature_requests.md)
- [Repeated Issues](Repeated_Issues.md) -->
90 changes: 81 additions & 9 deletions Extensions/combined/_locales/pt_BR/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"message": "Voltar Dislikes do YouTube Beta"
},
"extensionDesc": {
"message": "Voltar os Deslikes do YouTube"
"message": "Retorna a capacidade de ver os não-gostados"
},
"textDeveloper": {
"message": "por Dmitry Selivanov e Comunidade"
"message": "por Dmitry Selivanov & Comunidade"
},
"linkWebsite": {
"message": "Website"
Expand All @@ -23,20 +23,62 @@
"linkHelp": {
"message": "Ajuda"
},
"linkChangelog": {
"message": "O que mudou?"
},
"legendSettings": {
"message": "Configurações"
},
"textSettings": {
"message": "Desativar envio de Curtidas/Não Curtidas"
"message": "Desativar envios de Gostei/Não gostei"
},
"textLikesDisabled": {
"message": "Desativado pelo proprietário"
},
"textSettingsHover": {
"message": "Parar de contar suas curtidas e não curtidas."
"message": "Pare de contar os gostei e Não gostei."
},
"textRoundingNumbers": {
"message": "Arredondar estatísticas gostei/não gostei (comportamento padrão do YouTube)"
},
"textRoundingNumbersHover": {
"message": "Mostrar números arredondados."
},
"textConsistentFormat": {
"message": "Torna consistentes os Gostados e o formato não gostei"
},
"textConsistentFormatHover": {
"message": "Reformatar números como."
},
"textNumberFormat": {
"message": "Formato do número:"
},
"textColorizeRatioBar": {
"message": "Colorir barra de proporção"
},
"textColorizeRatioBarHover": {
"message": "Use cores personalizadas para os ícones miniaturas."
},
"textColorizeThumbs": {
"message": "Colorir miniaturas"
},
"textColorizeThumbsHover": {
"message": "Use cores personalizadas para os ícones miniaturas."
},
"textColorTheme": {
"message": "Tema de cor:"
},
"textColorTheme1": {
"message": "Clássico"
},
"textColorTheme2": {
"message": "Acessível"
},
"textColorTheme3": {
"message": "Neon"
},
"textTempUnavailable": {
"message": "Temporariamente indisponível"
"message": "Temporariamente Indisponível"
},
"textUpdate": {
"message": "Atualizar para"
Expand All @@ -45,18 +87,48 @@
"message": "Versão __RYD_VERSION__ instalada"
},
"whatsnew": {
"message": "O que há de novo?"
"message": "O que há de novo?:"
},
"shortsSupport": {
"message": "Suporte para Shorts"
"message": "Suporte ao Shorts do YouTube"
},
"customColors": {
"message": "Cores personalizadas para barra de não curtidas e botões"
"message": "Cores personalizadas para exibir barra de não curtidas e botões"
},
"customNumberFormats": {
"message": "Formato de números personalizados"
"message": "Formatos de números personalizados"
},
"considerDonating": {
"message": "A única coisa que mantém a extensão funcionando são suas doações, considere apoiar o projeto."
},
"roundNumbers": {
"message": "Mostrar números arredondados"
},
"roundNumbersHover": {
"message": "Arredondar estatísticas gostei/não gostei (comportamento padrão do YouTube)."
},
"reformatLikes": {
"message": "Reformatar números como"
},
"reformatLikesHover": {
"message": "Torna consistentes os Gostados e o formato não gostei."
},
"numberFormat": {
"message": "Formato do número:"
},
"colorizeRatio": {
"message": "Colorir barra de proporção"
},
"colorizeRatioHover": {
"message": "Use cores personalizadas para os ícones miniaturas."
},
"colorizeThumbs": {
"message": "Colorir miniaturas"
},
"colorizeThumbsHover": {
"message": "Use cores personalizadas para os ícones miniaturas."
},
"colorTheme": {
"message": "Tema de cor:"
}
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[![Discord](https://img.shields.io/discord/909435648170160229?label=Discord&style=flat&logo=discord)](https://discord.gg/UMxyMmCgfF)
[![License](https://img.shields.io/badge/License-GPLv3-blue.svg?style=flat)](https://github.com/Anarios/return-youtube-dislike/blob/main/LICENSE)

Read this in other languages: [русский](READMEru.md), [Español](READMEes.md), [Nederlands](READMEnl.md), [Français](READMEfr.md), [日本語](READMEja.md), [Türkçe](READMEtr.md), [українська](READMEuk.md), [Deutsch](READMEde.md), [Ελληνικά](READMEgr.md), [Svenska](READMEsv.md), [中文](READMEcn.md), [Polski](READMEpl.md)
Read this in other languages: [русский](READMEru.md), [Español](READMEes.md), [Nederlands](READMEnl.md), [Français](READMEfr.md), [日本語](READMEja.md), [Türkçe](READMEtr.md), [українська](READMEuk.md), [Deutsch](READMEde.md), [Ελληνικά](READMEgr.md), [Svenska](READMEsv.md), [中文](READMEcn.md), [Polski](READMEpl.md), [Português do Brasil](READMEpt_BR.md)

# Return YouTube Dislike

Expand Down
Loading

0 comments on commit 27d97a8

Please sign in to comment.