From e6143b750d0e3b08b8a57129ea95e2c43bbd4186 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 17 Mar 2019 01:01:22 -0600 Subject: [PATCH 1/2] Update Help Center --- resources/lang/en/helpcenter.php | 1 + resources/views/site/help.blade.php | 2 +- .../views/site/help/partial/sidebar.blade.php | 32 +++++++++---------- 3 files changed, 18 insertions(+), 17 deletions(-) diff --git a/resources/lang/en/helpcenter.php b/resources/lang/en/helpcenter.php index 2ae6d85ce..62877d1a2 100644 --- a/resources/lang/en/helpcenter.php +++ b/resources/lang/en/helpcenter.php @@ -13,6 +13,7 @@ return [ 'discover' => 'Discover', 'directMessages' => 'Direct Messages', 'timelines' => 'Timelines', + 'embed' => 'Embed', 'communityGuidelines' => 'Community Guidelines', 'whatIsTheFediverse' => 'What is the fediverse?', diff --git a/resources/views/site/help.blade.php b/resources/views/site/help.blade.php index 7a5c9c959..c0d873e4e 100644 --- a/resources/views/site/help.blade.php +++ b/resources/views/site/help.blade.php @@ -43,7 +43,7 @@

-

Hashtags

+

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

 

 

diff --git a/resources/views/site/help/partial/sidebar.blade.php b/resources/views/site/help/partial/sidebar.blade.php index daa8b0807..a23f92bf2 100644 --- a/resources/views/site/help/partial/sidebar.blade.php +++ b/resources/views/site/help/partial/sidebar.blade.php @@ -1,66 +1,66 @@
From d7ad4b36b03cccb8ef15af69e78a2ca7960f7f52 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 17 Mar 2019 01:07:18 -0600 Subject: [PATCH 2/2] Update Help Center --- resources/views/site/help/getting-started.blade.php | 4 ++-- resources/views/site/help/partial/template.blade.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/views/site/help/getting-started.blade.php b/resources/views/site/help/getting-started.blade.php index b2161c37b..f29567337 100644 --- a/resources/views/site/help/getting-started.blade.php +++ b/resources/views/site/help/getting-started.blade.php @@ -1,9 +1,9 @@ -@extends('site.help.partial.template', ['breadcrumb'=>'Getting Started']) +@extends('site.help.partial.template', ['breadcrumb'=>__('helpcenter.gettingStarted')]) @section('section')
-

Getting Started

+

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


Welcome to Pixelfed!

diff --git a/resources/views/site/help/partial/template.blade.php b/resources/views/site/help/partial/template.blade.php index 4156777b9..74431b81c 100644 --- a/resources/views/site/help/partial/template.blade.php +++ b/resources/views/site/help/partial/template.blade.php @@ -6,7 +6,7 @@
- Help Center + {{__('helpcenter.helpcenter')}} {{ $breadcrumb ?? ''}}