From db31728c465712cd2ff54f6b864440c941361674 Mon Sep 17 00:00:00 2001 From: Saade Date: Sat, 2 Apr 2022 18:13:52 -0300 Subject: [PATCH] feat: add pt_BR translations --- config/filament-translations.php | 6 ++++-- resources/lang/pt_BR/global.php | 6 ++++++ resources/lang/pt_BR/translation.php | 18 ++++++++++++++++++ 3 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 resources/lang/pt_BR/global.php create mode 100644 resources/lang/pt_BR/translation.php diff --git a/config/filament-translations.php b/config/filament-translations.php index 02ca795..dd0c93e 100644 --- a/config/filament-translations.php +++ b/config/filament-translations.php @@ -25,7 +25,8 @@ */ "locals" => [ "en" => "English", - "ar" => "Arabic" + "ar" => "Arabic", + "pt_BR" => "Português (Brasil)", ], /* @@ -48,7 +49,8 @@ */ "switcher" => [ "ar", - "en" + "en", + "pt_BR", ], /* diff --git a/resources/lang/pt_BR/global.php b/resources/lang/pt_BR/global.php new file mode 100644 index 0000000..538fa48 --- /dev/null +++ b/resources/lang/pt_BR/global.php @@ -0,0 +1,6 @@ + "Criado em", + "updated_at" => "Atualizado em", +]; diff --git a/resources/lang/pt_BR/translation.php b/resources/lang/pt_BR/translation.php new file mode 100644 index 0000000..2322537 --- /dev/null +++ b/resources/lang/pt_BR/translation.php @@ -0,0 +1,18 @@ + "Idiomas", + "label" => "Idiomas", + "group" => "Grupo", + "key" => "Chave", + "text" => "Texto", + "scan" => "Buscar por novos idiomas", + "namespace" => "Namespace", + "notification" => "Idioma definido com sucesso", + "loaded" => "Lista de idiomas atualizada", + "menu" => "Alterar idioma", + "modal" => [ + "heading" => "Alterar idioma atual", + "button" => "Salvar idioma", + ] +];