From 4ba7ba5cf3c4adb73f34eb2e3df61cf271f9132c Mon Sep 17 00:00:00 2001
From: igor <134963561+igormiguell@users.noreply.github.com>
Date: Sun, 5 Jan 2025 23:05:13 -0300
Subject: [PATCH] Update translations & add portuguese translation
---
docs/README.md | 14 +-
docs/README_CN.md | 8 +-
docs/README_PT-BR.md | 49 ++++++
docs/README_TR.md | 6 +-
docs/index.html | 34 ++--
.../src/main/res/values-pt-rBR/strings.xml | 159 ++++++++++++++++++
manager/app/src/main/res/values/strings.xml | 46 ++---
7 files changed, 262 insertions(+), 54 deletions(-)
create mode 100644 docs/README_PT-BR.md
create mode 100644 manager/app/src/main/res/values-pt-rBR/strings.xml
diff --git a/docs/README.md b/docs/README.md
index 856b47fa..69b11518 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -1,4 +1,4 @@
-**English** | [简体中文](/docs/README_CN.md) | [Türkçe](/docs/README_TR.md)
+**English** | [简体中文](/docs/README_CN.md) | [Türkçe](/docs/README_TR.md) | [Português (Brasil)](/docs/README_PT-BR.md)
# KernelSU Next
@@ -6,8 +6,8 @@
A Kernel-based root solution for Android devices.
-[](https://github.com/rifsxd/KernelSU-Next/releases/latest)
-[](https://nightly.link/rifsxd/KernelSU-Next/workflows/build-manager/next/manager)
+[](https://github.com/rifsxd/KernelSU-Next/releases/latest)
+[](https://nightly.link/rifsxd/KernelSU-Next/workflows/build-manager/next/manager)
[](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)
[](/LICENSE)
@@ -19,16 +19,16 @@ A Kernel-based root solution for Android devices.
## Compatibility State
-KernelSU Next officially supports most Android kernels starting from 4.4 upto 6.6.
+KernelSU Next officially supports most Android kernels starting from 4.4 up to 6.6.
- GKI 2.0 (5.10+) kernels can run pre-built images and LKM/KMI.
- GKI 1.0 (4.19 - 5.4) kernels need to rebuilt with KernelSU driver.
- - EOL (<4.14) kernels also need to be rebuilt with KernelSU driver. (3.18+ is experimental and may need some function backports)
+ - EOL (<4.14) kernels also need to be rebuilt with KernelSU driver (3.18+ is experimental and may need some function backports).
Currently, only `arm64-v8a` is supported.
## Usage
-- [Installation Instruction](https://rifsxd.github.io/KernelSU-Next/)
+- [Installation instruction](https://rifsxd.github.io/KernelSU-Next/)
## Security
@@ -45,5 +45,5 @@ For information on reporting security vulnerabilities in KernelSU, see [SECURITY
- [Magisk](https://github.com/topjohnwu/Magisk): the powerful root tool.
- [genuine](https://github.com/brevent/genuine/): apk v2 signature validation.
- [Diamorphine](https://github.com/m0nad/Diamorphine): some rootkit skills.
-- [KernelSU](https://github.com/tiann/KernelSU): thanks to tiann or else KernelSU Next wouldn't even exist.
+- [KernelSU](https://github.com/tiann/KernelSU): thanks to tiann, or else KernelSU Next wouldn't even exist.
- [Magic Mount Port](https://github.com/5ec1cff/KernelSU/blob/main/userspace/ksud/src/magic_mount.rs): 💜 5ec1cff for saving KernelSU!
diff --git a/docs/README_CN.md b/docs/README_CN.md
index 8ee57497..1d8af202 100644
--- a/docs/README_CN.md
+++ b/docs/README_CN.md
@@ -1,4 +1,4 @@
-[English](README.md) | **简体中文** | [Türkçe](README_TR.md)
+[English](README.md) | **简体中文** | [Türkçe](README_TR.md) | [Português (Brasil)](/docs/README_PT-BR.md)
# KernelSU Next
@@ -6,8 +6,8 @@
安卓基于内核的 Root 方案
-[](https://github.com/rifsxd/KernelSU-Next/releases/latest)
-[](https://nightly.link/rifsxd/KernelSU-Next/workflows/build-manager/next/manager)
+[](https://github.com/rifsxd/KernelSU-Next/releases/latest)
+[](https://nightly.link/rifsxd/KernelSU-Next/workflows/build-manager/next/manager)
[](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)
[](/LICENSE)
@@ -15,7 +15,7 @@
1. 基于内核的 SU 和权限管理
2. 基于 [Magic Mount](https://github.com/topjohnwu/Magisk/blob/c512496847d182526f2043295ecfd275398eccac/docs/releases/26100.md#new-magic-mount-implementation) 的模块系统
-3. [App Profile](https://kernelsu.org/guide/app-profile.html):把 Root 权限关进笼子里
+3. [App Profile](https://kernelsu.org/zh_CN/guide/app-profile.html):把 Root 权限关进笼子里
## 兼容状态
diff --git a/docs/README_PT-BR.md b/docs/README_PT-BR.md
new file mode 100644
index 00000000..a0abb2af
--- /dev/null
+++ b/docs/README_PT-BR.md
@@ -0,0 +1,49 @@
+[English](README.md) | [简体中文](/docs/README_CN.md) | [Türkçe](/docs/README_TR.md) | **Português (Brasil)**
+
+# KernelSU Next
+
+
+
+Uma solução root baseada em kernel para dispositivos Android.
+
+[](https://github.com/rifsxd/KernelSU-Next/releases/latest)
+[](https://nightly.link/rifsxd/KernelSU-Next/workflows/build-manager/next/manager)
+[](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)
+[](/LICENSE)
+
+## Características
+
+1. `su` e gerenciamento de acesso root baseado em kernel.
+2. Sistema modular baseado em [Magic Mount](https://github.com/topjohnwu/Magisk/blob/c512496847d182526f2043295ecfd275398eccac/docs/releases/26100.md#new-magic-mount-implementation).
+3. [Perfil do Aplicativo](https://kernelsu.org/pt_BR/guide/app-profile.html): Tranque o poder root em uma gaiola.
+
+## Estado de compatibilidade
+
+KernelSU Next suporta oficialmente a maioria dos kernels Android a partir de 4.4 até 6.6.
+ - Os kernels GKI 2.0 (5.10+) podem executar imagens pré-construídas e LKM/KMI.
+ - Os kernels GKI 1.0 (4.19 - 5.4) precisam ser reconstruídos com o driver KernelSU.
+ - Os kernels EOL (<4.14) também precisam ser reconstruídos com o driver KernelSU (3.18+ é experimental e pode precisar portar algumas funções).
+
+Atualmente, apenas `arm64-v8a` é suportado.
+
+## Uso
+
+- [Instruções de instalação](https://rifsxd.github.io/KernelSU-Next/)
+
+## Segurança
+
+Para obter informações sobre como relatar vulnerabilidades de segurança do KernelSU, consulte [SECURITY.md](/SECURITY.md).
+
+## Licença
+
+- Os arquivos no diretório `kernel` são [GPL-2.0-only](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html).
+- Todas as outras partes, exceto o diretório `kernel` são [GPL-3.0-or-later](https://www.gnu.org/licenses/gpl-3.0.html).
+
+## Créditos
+
+- [kernel-assisted-superuser](https://git.zx2c4.com/kernel-assisted-superuser/about/): a ideia do KernelSU.
+- [Magisk](https://github.com/topjohnwu/Magisk): a poderosa ferramenta root.
+- [genuine](https://github.com/brevent/genuine/): validação de assinatura apk v2.
+- [Diamorphine](https://github.com/m0nad/Diamorphine): algumas habilidades de rootkit.
+- [KernelSU](https://github.com/tiann/KernelSU): obrigado a tiann, ou então o KernelSU Next nem existiria.
+- [Magic Mount Port](https://github.com/5ec1cff/KernelSU/blob/main/userspace/ksud/src/magic_mount.rs): 💜 5ec1cff por salvar o KernelSU!
diff --git a/docs/README_TR.md b/docs/README_TR.md
index 42d4b8a7..5bd8a249 100644
--- a/docs/README_TR.md
+++ b/docs/README_TR.md
@@ -1,4 +1,4 @@
-[English](README.md) | [简体中文](/docs/README_CN.md) | **Türkçe**
+[English](README.md) | [简体中文](/docs/README_CN.md) | **Türkçe** | [Português (Brasil)](/docs/README_PT-BR.md)
# KernelSU Next
@@ -6,8 +6,8 @@
Android cihazlar için Kernel tabanlı bir root çözümü.
-[](https://github.com/rifsxd/KernelSU-Next/releases/latest)
-[](https://nightly.link/rifsxd/KernelSU-Next/workflows/build-manager/next/manager)
+[](https://github.com/rifsxd/KernelSU-Next/releases/latest)
+[](https://nightly.link/rifsxd/KernelSU-Next/workflows/build-manager/next/manager)
[](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)
[](/LICENSE)
diff --git a/docs/index.html b/docs/index.html
index 5c87efff..73045240 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -41,7 +41,7 @@
Supports kernel 4.9 - 6.6 (NON-GKI & GKI)
+Supports kernel 4.9 - 6.6 (Non-GKI & GKI)
Copy and paste the commands below to install KernelSU Next. Latest tag (stable)
curl -LSs "https://raw.githubusercontent.com/rifsxd/KernelSU-Next/next/kernel/setup.sh" | bash -
+ curl -LSs "https://raw.githubusercontent.com/rifsxd/KernelSU-Next/next/kernel/setup.sh" | bash -
Copy and paste the commands below to install KernelSU Next. Next branch (development bleeding edge).
+Copy and paste the commands below to install KernelSU Next. Next branch (development bleeding edge)
curl -LSs "https://raw.githubusercontent.com/rifsxd/KernelSU-Next/next/kernel/setup.sh" | bash -s next
+ curl -LSs "https://raw.githubusercontent.com/rifsxd/KernelSU-Next/next/kernel/setup.sh" | bash -s next
Copy and paste the commands below to install KernelSU Next. Select tag (such as v1.0.2-R14).
+Copy and paste the commands below to install KernelSU Next. Select tag (such as v1.0.2-R14)
curl -LSs "https://raw.githubusercontent.com/rifsxd/KernelSU-Next/next/kernel/setup.sh" | bash -s v1.0.2-R14
+ curl -LSs "https://raw.githubusercontent.com/rifsxd/KernelSU-Next/next/kernel/setup.sh" | bash -s v1.0.2-R14
KernelSU Next has many features and improvements!
-just mentioning a few features
+Just mentioning a few features: