From 50e32ff75636c1d4c5d945a267e884cb26ad7191 Mon Sep 17 00:00:00 2001
From: Yassine Doghri <yassine@doghri.fr>
Date: Thu, 15 Oct 2020 20:22:33 +0000
Subject: [PATCH] fix: replace website key for webpages in breadcrumb translate
 file

---
 INSTALL.md                     | 12 ++++++++++--
 app/Language/en/Breadcrumb.php |  2 +-
 app/Language/fr/Breadcrumb.php |  2 +-
 3 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/INSTALL.md b/INSTALL.md
index 871f904bab..71ad0e629f 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -76,10 +76,18 @@ Castopod is built on top of Codeigniter, a PHP framework that encourages
 [good security practices](https://codeigniter.com/user_guide/concepts/security.html).
 
 To maximize your instance safety and prevent any malicious attack, we recommend
-you update all your Castopod files permissions:
+you update all your Castopod files permissions (after installation to avoid any
+permission error):
 
 - `writable/` folder must be **readable** and **writable**.
 - `public/media/` folder must be **readable** and **writable**.
 - any other file must be set to **readonly**.
 
-// TODO: add instructions on how to set file permissions.
+For instance, if you are using Apache or NGINX with Ubuntu you may do the
+following:
+
+```bash
+sudo chown -R root:root /path/to/castopod
+sudo chown -R www-data:www-data /path/to/castopod/writable
+sudo chown -R www-data:www-data /path/to/castopod/public/media
+```
diff --git a/app/Language/en/Breadcrumb.php b/app/Language/en/Breadcrumb.php
index 18ff9526a7..dba5b87679 100644
--- a/app/Language/en/Breadcrumb.php
+++ b/app/Language/en/Breadcrumb.php
@@ -24,7 +24,7 @@ return [
     'platforms' => 'platforms',
     'analytics' => 'Analytics',
     'locations' => 'Locations',
-    'website' => 'Website',
+    'webpages' => 'Web pages',
     'unique-listeners' => 'Unique listeners',
     'players' => 'Players',
 ];
diff --git a/app/Language/fr/Breadcrumb.php b/app/Language/fr/Breadcrumb.php
index 75672e4e54..a27e5278fa 100644
--- a/app/Language/fr/Breadcrumb.php
+++ b/app/Language/fr/Breadcrumb.php
@@ -24,7 +24,7 @@ return [
     'platforms' => 'plateformes',
     'analytics' => 'Mesures d’audience',
     'locations' => 'Localisations',
-    'website' => 'Site web',
+    'webpages' => 'Pages web',
     'unique-listeners' => 'Auditeurs uniques',
     'players' => 'Lecteurs',
 ];
-- 
GitLab