From ac84f5251326ef3a67e2eaa82a54cfa6b2293468 Mon Sep 17 00:00:00 2001 From: Felipe Mateus Date: Thu, 9 Jan 2025 20:49:51 -0300 Subject: [PATCH] feat(translate): Helpcenter Profile #2 --- resources/lang/en/helpcenter.php | 86 +++++++++- resources/lang/pt/helpcenter.php | 72 ++++++++ .../views/site/help/your-profile.blade.php | 157 ++++-------------- 3 files changed, 186 insertions(+), 129 deletions(-) diff --git a/resources/lang/en/helpcenter.php b/resources/lang/en/helpcenter.php index ddf207b97..7a601fd2f 100644 --- a/resources/lang/en/helpcenter.php +++ b/resources/lang/en/helpcenter.php @@ -229,13 +229,13 @@ return [ ', 'discoverTips' => '
Discover Tips
-
- +
', 'dmSubTitle'=> 'Send and recieve direct messages from other profiles.', 'howUseDirectMessagesAsk' => 'How do I use Pixelfed Direct?', @@ -293,4 +293,78 @@ return [ 'safetyTipsVisilityContent' => 'You can limit the visibility of your content to specific people, followers, public and more.', 'safetyTipsPostsPrivacy' => 'Make your account or posts private', 'safetyTipsPostsPrivacyContent' => 'You can make your account private and vet new follow requests to control who your posts are shared with.', + + 'profieleTitle' => 'Your Profile', + 'profileEdit' => "Edit", + "profileEditBioAsk" => 'How do I edit my bio, name, email, or password?', + 'profileEditBioAnswer' => '
+ To edit your account using a web browser: +
    +
  1. Go to '.route('settings').'.
  2. +
  3. You should see the Name, Website, and Bio fields.
  4. +
  5. Change the desired fields, and then click the Submit button.
  6. +
+
', + 'profileEditUpdateUsernameAsk' => ' Why can\'t I update my username?', + 'profileEditUpdateUsernameAnswer' => '
+ Pixelfed is a federated application, changing your username is not supported in every federated software so we cannot allow username changes. Your best option is to create a new account with your desired username. +
', + 'profilePrivacyTitle' => 'Privacy', + 'profilePrivacyAsk' => 'How do I set my photos and videos to private so that only approved followers can see them?', + 'profilePrivacyAnswer' => '
+ To change your account visibility: +
    +
  1. Go to '.route('settings.privacy').'.
  2. +
  3. Check the Private Account checkbox.
  4. +
  5. The confirmation modal will popup and ask you if you want to keep existing followers and disable new follow requests
  6. +
  7. Click the Submit button.
  8. +
+
', + 'profileSecurityTitle' => 'Security', + 'profileSecurityHowSecureAsk' => 'How can I secure my account?', + 'profileSecurityHowSecureAnswer' => '
+ Here are some recommendations to keep your account secure: + +
', + 'profileSecurityHowAddSecurityAsk' => 'How can I add additional protection to my account?', + 'profileSecurityHowAddSecurityAnswer' => '
+ You can add an additional layer of security to your account by enabling Two Factor Authentication. For more information, check your security settings. +
', + 'profileSecurityHowReportUnauthorizedAsk' => 'How do I report unauthorized use of my account?', + 'profileSecurityHowReportUnauthorizedAnswer' => ' Please contact the administrators of this instance.', + 'profileMigrarionTitle' => 'Migration', + 'profileMigrarionHowMigrateAsk' => 'How can I migrate my account?', + 'profileMigrarionHowMigrateAnswer' => '
+ To migrate your account successfully, your old account must be on a Pixelfed or Mastodon server, or one that supports the Mastodon Account Migration extension. +
+

Navigate to the Account Aliases page in the Settings to begin.

+
', + 'profileMigrationHowLongAsk' => 'How long does the migration take?', + 'profileMigrationHowLongAnswer' => 'It can take a few hours to process post migration imports, please contact admins if it takes longer than 24 hours.', + 'profileMigrationWhyPostNotAsk' => 'Why are my posts not migrated?', + 'profileMigrationWhyPostNotAnswer' => '
+ Post migrations are officially supported on Pixelfed servers running v0.11.9+ and higher, and when enabled by server admins. +
+ It can take a few hours to process post migration imports, please contact admins if it takes longer than 24 hours. +
', + + 'profileDeleteTitle' => 'Delete Your Account', + 'profileDeleteTemporaryAsk' => 'How do I temporarily disable my account?', + 'profileDeleteTemporaryAnswer' => '
+

If you temporarily disable your account, your profile, photos, comments and likes will be hidden until you reactivate it by logging back in. To temporarily disable your account:

+
    +
  1. Log into '.config('pixelfed.domain.app').'
  2. +
  3. Tap or click the menu and select Settings
  4. +
  5. Navigate to the Security Settings
  6. +
  7. Confirm your account password.
  8. +
  9. Scroll down to the Danger Zone section and click on the Disable button.
  10. +
  11. Follow the instructions on the next page.
  12. +
+
', ]; diff --git a/resources/lang/pt/helpcenter.php b/resources/lang/pt/helpcenter.php index 77a519095..56fb56da0 100644 --- a/resources/lang/pt/helpcenter.php +++ b/resources/lang/pt/helpcenter.php @@ -273,5 +273,77 @@ return [ 'safetyTipsPostsPrivacy' => 'Torne sua conta ou postagens privadas', 'safetyTipsPostsPrivacyContent' => 'Você pode tornar sua conta privada e verificar novas solicitações de seguidores para controlar com quem suas postagens são compartilhadas.', + 'profieleTitle' => 'Seu Perfil', + 'profileEdit' => 'Editar', + 'profileEditBioAsk' => 'Como edito minha biografia, nome, e-mail ou senha?', + 'profileEditBioAnswer' => '
+ Para editar sua conta usando um navegador web: +
    +
  1. Vá para '.route('settings').'.
  2. +
  3. Você deve ver os campos Nome, Website e Bio.
  4. +
  5. Altere os campos desejados e clique no botão Enviar.
  6. +
+
', + 'profileEditUpdateUsernameAsk' => 'Por que não consigo alterar meu nome de usuário?', + 'profileEditUpdateUsernameAnswer' => '
+ Pixelfed é um aplicativo federado, alterar seu nome de usuário não é suportado em todos os softwares federados, portanto, não podemos permitir alterações de nome de usuário. Sua melhor opção é criar uma nova conta com o nome de usuário desejado. +
', + 'profilePrivacyTitle' => 'Privacidade', + 'profilePrivacyAsk' => 'Como faço para definir minhas fotos e vídeos como privados para que apenas seguidores aprovados possam vê-los?', + 'profilePrivacyAnswer' => '
+ Para alterar a visibilidade da sua conta: +
    +
  1. Vá para '.route('settings.privacy').'.
  2. +
  3. Marque a caixa de seleção Conta Privada.
  4. +
  5. O modal de confirmação aparecerá e perguntará se você deseja manter os seguidores existentes e desativar novas solicitações de seguidores.
  6. +
  7. Clique no botão Enviar.
  8. +
+
', + 'profileSecurityTitle' => 'Segurança', + 'profileSecurityHowSecureAsk' => 'Como posso proteger minha conta?', + 'profileSecurityHowSecureAnswer' => '
+ Aqui estão algumas recomendações para manter sua conta segura: + +
', + 'profileSecurityHowAddSecurityAsk' => 'Como posso adicionar proteção adicional à minha conta?', + 'profileSecurityHowAddSecurityAnswer' => '
+ Você pode adicionar uma camada adicional de segurança à sua conta ativando a Autenticação de Dois Fatores. Para mais informações, verifique suas configurações de segurança. +
', + 'profileSecurityHowReportUnauthorizedAsk' => 'Como faço para relatar o uso não autorizado da minha conta?', + 'profileSecurityHowReportUnauthorizedAnswer' => 'Por favor, entre em contato com os administradores desta instância.', + 'profileMigrarionTitle' => 'Migração', + 'profileMigrarionHowMigrateAsk' => 'Como posso migrar minha conta?', + 'profileMigrarionHowMigrateAnswer' => '
+ Para migrar sua conta com sucesso, sua conta antiga deve estar em um servidor Pixelfed ou Mastodon, ou em um que suporte a extensão de Migração de Conta do Mastodon. +
+

Navegue até a página de Gerenciamento de Apelidos de Conta nas Configurações para começar.

+
', + 'profileMigrationHowLongAsk' => 'Quanto tempo leva a migração?', + 'profileMigrationHowLongAnswer' => 'Pode levar algumas horas para processar as importações de migração de postagens, por favor, entre em contato com os administradores se demorar mais de 24 horas.', + 'profileMigrationWhyPostNotAsk' => 'Por que minhas postagens não foram migradas?', + 'profileMigrationWhyPostNotAnswer' => '
+ As migrações de postagens são oficialmente suportadas em servidores Pixelfed que executam a versão v0.11.9+ e superior, e quando habilitadas pelos administradores do servidor. +
+ Pode levar algumas horas para processar as importações de migração de postagens, por favor, entre em contato com os administradores se demorar mais de 24 horas. +
', + 'profileDeleteTitle' => 'Excluir Sua Conta', + 'profileDeleteTemporaryAsk' => 'Como desativo temporariamente minha conta?', + 'profileDeleteTemporaryAnswer' => '
+

Se você desativar temporariamente sua conta, seu perfil, fotos, comentários e curtidas serão ocultados até que você a reative fazendo login novamente. Para desativar temporariamente sua conta:

+
    +
  1. Faça login em '.config('pixelfed.domain.app').'
  2. +
  3. Toque ou clique no menu e selecione Configurações
  4. +
  5. Navegue até as Configurações de Segurança
  6. +
  7. Confirme a senha da sua conta.
  8. +
  9. Role para baixo até a seção Zona de Perigo e clique no botão Desativar.
  10. +
  11. Siga as instruções na próxima página.
  12. +
+
', ]; diff --git a/resources/views/site/help/your-profile.blade.php b/resources/views/site/help/your-profile.blade.php index 22a105d33..ac1fee419 100644 --- a/resources/views/site/help/your-profile.blade.php +++ b/resources/views/site/help/your-profile.blade.php @@ -1,207 +1,118 @@ -@extends('site.help.partial.template', ['breadcrumb'=>'Your Profile']) +@extends('site.help.partial.template', ['breadcrumb'=>__("helpcenter.profieleTitle") ]) @section('section')
-

Your Profile

+

{{ __("helpcenter.profieleTitle") }}


-

Edit

+

{{ __("helpcenter.profileEdit") }}

-
- To edit your account using a web browser: -
    -
  1. Go to {{route('settings')}}.
  2. -
  3. You should see the Name, Website, and Bio fields.
  4. -
  5. Change the desired fields, and then click the Submit button.
  6. -
-
+ {!! __("helpcenter.profileEditBioAnswer") !!}

-

+

-
- Pixelfed is a federated application, changing your username is not supported in every federated software so we cannot allow username changes. Your best option is to create a new account with your desired username. -
+ {!! __("helpcenter.profileEditUpdateUsernameAnswer") !!}


-

Privacy

-

+

{{ __('helpcenter.profilePrivacyTitle')}}

+

-
- To change your account visibility: -
    -
  1. Go to {{route('settings.privacy')}}.
  2. -
  3. Check the Private Account checkbox.
  4. -
  5. The confirmation modal will popup and ask you if you want to keep existing followers and disable new follow requests
  6. -
  7. Click the Submit button.
  8. -
-
+ {!! __('helpcenter.profilePrivacyAnswer') !!}

- {{--

- -

-
- It depends on the visibility of your post. -
-
-

--}} - {{--

- -

-
-
-
-

--}} - {{--

- -

-
- You can update your account by visiting the account settings page. -
-
-

--}} - {{--

- -

-
- You can update your account by visiting the account settings page. -
-
-

--}}
-

Security

-

+

{{ __("helpcenter.profileSecurityTitle")}}

+

-
- Here are some recommendations to keep your account secure: -
    -
  • Pick a strong password, don't re-use it on other websites
  • -
  • Never share your password
  • -
  • Remember to log out on public computers or devices
  • -
  • Periodically check your Account Log for any suspicious activity
  • -
  • Setup Two Factor Authentication
  • -
-
+ {!! __("helpcenter.profileSecurityHowSecureAnswer") !!}

-

+

-
- You can add an additional layer of security to your account by enabling Two Factor Authentication. For more information, check your security settings. -
+ {!! __("helpcenter.profileSecurityHowAddSecurityAnswer") !!}

-

+

- Please contact the administrators of this instance{{-- , for contact information click here --}}. + {{ __('helpcenter.profileSecurityHowReportUnauthorizedAnswer') }}


-

Migration

+

{{ __("helpcenter.profileMigrarionTitle") }}

-
- To migrate your account successfully, your old account must be on a Pixelfed or Mastodon server, or one that supports the Mastodon Account Migration extension. -
-

Navigate to the Account Aliases page in the Settings to begin.

-
+ {!! __("helpcenter.profileMigrarionHowMigrateAnswer") !!}

- It can take a few hours to process post migration imports, please contact admins if it takes longer than 24 hours. + {!! __("helpcenter.profileMigrationHowLongAnswer") !!}

-
- Post migrations are officially supported on Pixelfed servers running v0.11.9+ and higher, and when enabled by server admins. -
- It can take a few hours to process post migration imports, please contact admins if it takes longer than 24 hours. -
+ {!! __("helpcenter.profileMigrationWhyPostNotAnswer") !!}


-

Delete Your Account

-

+

{{ __('helpcenter.profileDeleteTitle') }}

+

-
-

If you temporarily disable your account, your profile, photos, comments and likes will be hidden until you reactivate it by logging back in. To temporarily disable your account:

-
    -
  1. Log into {{config('pixelfed.domain.app')}}
  2. -
  3. Tap or click the menu and select Settings
  4. -
  5. Navigate to the Security Settings
  6. -
  7. Confirm your account password.
  8. -
  9. Scroll down to the Danger Zone section and click on the Disable button.
  10. -
  11. Follow the instructions on the next page.
  12. -
-
+ {!! __('helpcenter.profileDeleteTemporaryAnswer') !!}

@if(config('pixelfed.account_deletion')) -

+