diff --git a/README.md b/README.md index 79a46a6..2584f17 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,7 @@ Viewers can create, edit, mark as done, and delete tasks from the list. This Tas - JP - 日本語 - UA - українська - DE - German + - PT_BR - Portuguese (Brazilian) ## Table of Contents @@ -46,6 +47,7 @@ Viewers can create, edit, mark as done, and delete tasks from the list. This Tas - [Commands for Everyone](#commands-for-everyone) - [Commands for Broadcasters and Moderators](#commands-for-broadcasters-and-moderators) - [Aliases](#aliases) + - [User Commands](#user-commands) - [Credits](#credits) ## Installation Instructions @@ -131,7 +133,7 @@ Open the `_settings.js` file and modify the following settings to customized the - **"JP"**: Japanese translation - **"UA"**: Ukrainian translation - **"DE"**: German translation - +- **"PT_BR"**: Brazilian Portuguese translation `maxTasksPerUser`: Default = **10** - **number**: A value between 1 - 20. @@ -287,14 +289,17 @@ Open the `_styles.js` file and modify the following settings to customized the T - `!追加` (Japanese) - `!додати` (Ukrainian) - `!aufgabe` (German) +- `!tarefa` (Brazilian Portuguese) **focus commands:** + - `!focus` - `!enfocar` (Spanish) - `!concentrer` (French) - `!集中` (Japanese) - `!фокус` (Ukrainian) - `!fokus` (German) +- `!focar` (Brazilian Portuguese) **edit task commands:** @@ -304,6 +309,7 @@ Open the `_styles.js` file and modify the following settings to customized the T - `!編集` (Japanese) - `!редагувати` (Ukrainian) - `!bearbeiten` (German) +- `!editar` (Brazilian Portuguese) **complete task commands:** @@ -313,6 +319,7 @@ Open the `_styles.js` file and modify the following settings to customized the T - `!完了` (Japanese) - `!готово` (Ukrainian) - `!erledigt` (German) +- `!completo` (Brazilian Portuguese) **delete task commands:** @@ -322,6 +329,7 @@ Open the `_styles.js` file and modify the following settings to customized the T - `!削除` (Japanese) - `!видалити` (Ukrainian) - `!löschen` (German) +- `!deletar` (Brazilian Portuguese) **check commands:** @@ -331,6 +339,7 @@ Open the `_styles.js` file and modify the following settings to customized the T - `!チェック` (Japanese) - `!перевірити` (Ukrainian) - `!prüfen` (German) +- `!verificar` (Brazilian Portuguese) **help commands:** @@ -340,6 +349,7 @@ Open the `_styles.js` file and modify the following settings to customized the T - `!ヘルプ` (Japanese) - `!допомога` (Ukrainian) - `!hilfe` (German) +- `!ajuda` (Brazilian Portuguese) **extra commands:** @@ -349,6 +359,7 @@ Open the `_styles.js` file and modify the following settings to customized the T - `!クレジット` (Japanese) - `!кредит` (Ukrainian) - `!kontakt` (German) +- `!crédito` (Brazilian Portuguese) ## Credits diff --git a/_configAdmin.js b/_configAdmin.js index e252528..742b79a 100644 --- a/_configAdmin.js +++ b/_configAdmin.js @@ -46,5 +46,11 @@ const _adminConfig = { clearDone: "Alle erledigten Aufgaben wurden gelöscht", clearUser: "Alle Aufgaben von {message} wurden gelöscht", }, + PT_BR: { + timer: "Temporizador de foco definido para {message} minutos", + clearList: "Todas as tarefas foram removidas", + clearDone: "Todas as tarefas concluídas foram removidas", + clearUser: "Todas as tarefas de {message} foram removidas", + } }, }; diff --git a/_configUser.js b/_configUser.js index ef2cea0..4f79111 100644 --- a/_configUser.js +++ b/_configUser.js @@ -4,14 +4,14 @@ /** @type {UserConfig} */ const _userConfig = { commands: { - addTask: ["!task", "!add", "!añadir", "!ajouter", "!追加", "!додати", "!aufgabe"], + addTask: ["!task", "!add", "!añadir", "!ajouter", "!追加", "!додати", "!aufgabe", "!tarefa"], editTask: ["!edit", "!editar", "!modifier", "!編集", "!редагувати", "!bearbeiten"], - finishTask: ["!done", "!hecho", "!terminé", "!完了", "!готово", "!erledigt"], - deleteTask: ["!delete", "!eliminar", "!supprimer", "!削除", "!видалити", "!löschen"], - focusTask: ["!focus", "!enfocar", "!concentrer", "!集中", "!фокус", "!fokus"], - check: ["!check", "!comprobar", "!vérifier", "!チェック", "!перевірити", "!prüfen"], - help: ["!help", "!ayuda", "!aide", "!ヘルプ", "!допомога", "!hilfe"], - additional: ["!credit", "!crédito", "!crédit", "!クレジット", "!кредит", "!kontakt"], + finishTask: ["!done", "!hecho", "!terminé", "!完了", "!готово", "!erledigt", "!concluir"], + deleteTask: ["!delete", "!eliminar", "!supprimer", "!削除", "!видалити", "!löschen", "!deletar"], + focusTask: ["!focus", "!enfocar", "!concentrer", "!集中", "!фокус", "!fokus", "!focar"], + check: ["!check", "!comprobar", "!vérifier", "!チェック", "!перевірити", "!prüfen", "!verificar"], + help: ["!help", "!ayuda", "!aide", "!ヘルプ", "!допомога", "!hilfe", "!ajuda"], + additional: ["!credit", "!crédito", "!crédit", "!クレジット", "!кредит", "!kontakt", "!credito"], }, responseTo: { EN: { @@ -111,5 +111,21 @@ const _userConfig = { noTaskFound: "Diese Aufgabe scheint nicht zu existieren, versuche eine hinzuzufügen!", invalidCommand: "Ungültiger Befehl: {message}. Versuche !help", }, + PT_BR: { + addTask: 'Tarefa(s) {message} adicionada(s)!', + editTask: 'Tarefa {message} atualizada!', + finishTask: 'Bom trabalho ao completar a(s) tarefa(s) {message}!', + deleteTask: 'Tarefa(s) {message} foi/foram deletada(s)!', + deleteAll: "Todas as suas tarefas foram deletadas!", + focusTask: 'Priorizando seu foco na tarefa {message}!', + check: 'Suas tarefas atuais são: {message}', + help: "Tente estes comandos - !tarefa !editar !concluir !deletar !verificar", + additional: + "Jujoco é o criador deste bot, confira seu Twitch em: https://www.twitch.tv/Jujoco_Dev", + maxTasksAdded: + "Número máximo de tarefas atingido, tente deletar tarefas antigas.", + noTaskFound: "Essa tarefa não parece existir, tente adicionar uma!", + invalidCommand: "Comando inválido: {message}. Tente !help", + } }, }; \ No newline at end of file diff --git a/_settings.js b/_settings.js index 33d686e..3ead404 100644 --- a/_settings.js +++ b/_settings.js @@ -3,7 +3,7 @@ // =========================== /** @type {SettingsConfig} */ const _settings = { - languageCode: "EN", // "EN", "ES", "FR", "JP", "UA", "DE" + languageCode: "EN", // "EN", "ES", "FR", "JP", "UA", "DE", "PT_BR" maxTasksPerUser: 10, // default number 10 scrollSpeed: 20, // default number 20 showUsernameColor: true, // true or false