From 3fc359bd7a1c45366d91038c233c74e747eaccc9 Mon Sep 17 00:00:00 2001 From: Rafael Amorim <3620428+rafaelmamorim@users.noreply.github.com> Date: Mon, 10 Apr 2023 16:52:01 -0300 Subject: [PATCH 1/3] Create ossn.pt.php --- locale/ossn.pt.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 locale/ossn.pt.php diff --git a/locale/ossn.pt.php b/locale/ossn.pt.php new file mode 100644 index 0000000..8bc37ef --- /dev/null +++ b/locale/ossn.pt.php @@ -0,0 +1,15 @@ + + * @copyright (C) OPENTEKNIK LLC, COMMERCIAL LICENSE + * @license OPENTEKNIK LLC, COMMERCIAL LICENSE, COMMERCIAL LICENSE https://www.openteknik.com/license/commercial-license-v1 + * @link http://www.opensource-socialnetwork.org/licence + */ +$pt = array( + 'singupprofilephoto' => 'Imagem de perfil (Tam. Máx : %s MB)', + 'singupprofilephoto:error:matching' => 'A imagem do perfil é inválida. Use somente arquivos de imagem.', +); +ossn_register_languages('pt', $pt); From 9becef600d3ea00c57d8a334114b9ec715d5c46e Mon Sep 17 00:00:00 2001 From: Rafael Amorim <3620428+rafaelmamorim@users.noreply.github.com> Date: Mon, 10 Apr 2023 16:52:31 -0300 Subject: [PATCH 2/3] Create ossn.es.php --- locale/ossn.es.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 locale/ossn.es.php diff --git a/locale/ossn.es.php b/locale/ossn.es.php new file mode 100644 index 0000000..67ab082 --- /dev/null +++ b/locale/ossn.es.php @@ -0,0 +1,15 @@ + + * @copyright (C) OPENTEKNIK LLC, COMMERCIAL LICENSE + * @license OPENTEKNIK LLC, COMMERCIAL LICENSE, COMMERCIAL LICENSE https://www.openteknik.com/license/commercial-license-v1 + * @link http://www.opensource-socialnetwork.org/licence + */ +$es = array( + 'singupprofilephoto' => 'Imagen de perfil (Tamaño máximo: %s MB)', + 'singupprofilephoto:error:matching' => 'Imagen de perfil inválida agregada. Por favor, asegúrese de agregar solo archivos de imagen.', +); +ossn_register_languages('es', $es); From bbdb82b50b1fa3c4d23851a41a8f07f3143fcebf Mon Sep 17 00:00:00 2001 From: Rafael Amorim <3620428+rafaelmamorim@users.noreply.github.com> Date: Mon, 10 Apr 2023 17:06:31 -0300 Subject: [PATCH 3/3] Update input.php Added parameter on input to accept images only --- plugins/default/signup_profile_photo/input.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/default/signup_profile_photo/input.php b/plugins/default/signup_profile_photo/input.php index c25b685..f26cd41 100644 --- a/plugins/default/signup_profile_photo/input.php +++ b/plugins/default/signup_profile_photo/input.php @@ -6,7 +6,7 @@ ?> \ No newline at end of file +