Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pt-br translation #300

Merged
merged 1 commit into from
May 7, 2023
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ A [Telegram bot](https://core.telegram.org/bots/api) that integrates with OpenAI
- [x] (NEW!) GPT-4 support
- If you have access to the GPT-4 API, simply change the `OPENAI_MODEL` parameter to `gpt-4`
- [x] (NEW!) Localized bot language
- Available languages :gb: :de: :ru: :tr: :it: :finland: :es: :indonesia: :netherlands: :cn: :taiwan: :vietnam: :iran:
- Available languages :gb: :de: :ru: :tr: :it: :finland: :es: :indonesia: :netherlands: :cn: :taiwan: :vietnam: :iran: :brazil:
- [x] (NEW!) Improved inline queries support for group and private chats - by [@bugfloyd](https://github.com/bugfloyd)
- To use this feature, enable inline queries for your bot in BotFather via the `/setinline` [command](https://core.telegram.org/bots/inline)

Expand Down Expand Up @@ -90,7 +90,7 @@ Check out the [Budget Manual](https://github.com/n3d1117/chatgpt-telegram-bot/di
| `IMAGE_SIZE` | The DALL·E generated image size. Allowed values: `256x256`, `512x512` or `1024x1024` | `512x512` |
| `GROUP_TRIGGER_KEYWORD` | If set, the bot in group chats will only respond to messages that start with this keyword | - |
| `IGNORE_GROUP_TRANSCRIPTIONS` | If set to true, the bot will not process transcriptions in group chats | `true` |
| `BOT_LANGUAGE` | Language of general bot messages. Currently available: `en`, `de`, `ru`, `tr`, `it`, `fi`, `es`, `id`, `nl`, `zh-cn`, `zh-tw`, `vi`, `fa`. [Contribute with additional translations](https://github.com/n3d1117/chatgpt-telegram-bot/discussions/219) | `en` |
| `BOT_LANGUAGE` | Language of general bot messages. Currently available: `en`, `de`, `ru`, `tr`, `it`, `fi`, `es`, `id`, `nl`, `zh-cn`, `zh-tw`, `vi`, `fa`, `pt-br`. [Contribute with additional translations](https://github.com/n3d1117/chatgpt-telegram-bot/discussions/219) | `en` |

Check out the [official API reference](https://platform.openai.com/docs/api-reference/chat) for more details.

Expand Down
41 changes: 41 additions & 0 deletions translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,47 @@
"ask_chatgpt":"Preguntar a ChatGPT",
"loading":"Cargando..."
},
"pt-br":{
"help_description": "Mostra a mensagem de ajuda",
"reset_description": "Redefine a conversa. Opcionalmente, passe instruções de alto nível (por exemplo, /reset Você é um assistente útil)",
"image_description": "Gera uma imagem a partir do prompt (por exemplo, /image gato)",
"stats_description": "Obtenha suas estatísticas de uso atuais",
"resend_description": "Reenvia a última mensagem",
"chat_description": "Converse com o bot!",
"disallowed": "Desculpe, você não tem permissão para usar este bot. Você pode verificar o código-fonte em https://github.com/n3d1117/chatgpt-telegram-bot",
"budget_limit": "Desculpe, você atingiu seu limite de uso.",
"help_text": ["Eu sou um bot ChatGPT, fale comigo!", "Envie-me uma mensagem de voz ou arquivo e eu o transcreverei para você", "Código-fonte aberto em https://github.com/n3d1117/chatgpt-telegram-bot"],
"stats_conversation": ["Conversa atual", "mensagens do chat na história", "tokens do chat na história"],
"usage_today": "Uso hoje",
"usage_month": "Uso este mês",
"stats_tokens": "tokens de chat usados",
"stats_images": "imagens geradas",
"stats_transcribe": ["minutos e", "segundos transcritos"],
"stats_total": "💰 Para um valor total de $",
"stats_budget": "Seu orçamento restante",
"monthly": " para este mês",
"daily": " para hoje",
"all-time": "",
"stats_openai": "Este mês sua conta OpenAI foi cobrada em $",
"resend_failed": "Você não tem nada para reenviar",
"reset_done": "Feito!",
"image_no_prompt": "Por favor, forneça um prompt! (por exemplo, /image gato)",
"image_fail": "Falha ao gerar imagem",
"media_download_fail": ["Falha ao baixar arquivo de áudio", "Certifique-se de que o arquivo não seja muito grande. (máx. 20 MB)"],
"media_type_fail": "Tipo de arquivo não suportado",
"transcript": "Transcrição",
"answer": "Resposta",
"transcribe_fail": "Falha ao transcrever texto",
"chat_fail": "Falha ao obter resposta",
"prompt": "prompt",
"completion": "conclusão",
"openai_rate_limit": "Limite de taxa OpenAI excedido",
"openai_invalid": "Solicitação inválida OpenAI",
"error": "Ocorreu um erro",
"try_again": "Por favor, tente novamente mais tarde",
"answer_with_chatgpt": "Responder com ChatGPT",
"ask_chatgpt": "Perguntar ao ChatGPT",
"loading": "Carregando..."},
"de": {
"help_description":"Zeige die Hilfenachricht",
"reset_description":"Setze die Konversation zurück. Optionale Eingabe einer grundlegenden Anweisung (z.B. /reset Du bist ein hilfreicher Assistent)",
Expand Down