Skip to content

Commit

Permalink
Merge pull request n3d1117#300 from gkpiccoli/main
Browse files Browse the repository at this point in the history
pt-br translation
  • Loading branch information
n3d1117 committed May 7, 2023
2 parents 14b8457 + ce1e7c6 commit 3023c45
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 2 deletions.
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

0 comments on commit 3023c45

Please sign in to comment.