Skip to content

Commit 3891328

Browse files
committed
Devdocs: Fixed visual theme system lang folder reference
Made some other minor updates while there. Fixes #4998
1 parent c14d7d9 commit 3891328

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dev/docs/visual-theme-system.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ This theme system itself is maintained and supported but usages of this system,
66

77
## Getting Started
88

9-
*[Video Guide](https://www.youtube.com/watch?v=gLy_2GBse48)*
9+
*[Video Guide](https://foss.video/w/ibNY6bGmKFV1tva3Jz4KfA)*
1010

1111
This makes use of the theme system. Create a folder for your theme within your BookStack `themes` directory. As an example we'll use `my_theme`, so we'd create a `themes/my_theme` folder.
1212
You'll need to tell BookStack to use your theme via the `APP_THEME` option in your `.env` file. For example: `APP_THEME=my_theme`.
1313

1414
## Customizing View Files
1515

16-
Content placed in your `themes/<theme_name>/` folder will override the original view files found in the `resources/views` folder. These files are typically [Laravel Blade](https://laravel.com/docs/8.x/blade) files.
16+
Content placed in your `themes/<theme_name>/` folder will override the original view files found in the `resources/views` folder. These files are typically [Laravel Blade](https://laravel.com/docs/10.x/blade) files.
1717
As an example, I could override the `resources/views/books/parts/list-item.blade.php` file with my own template at the path `themes/<theme_name>/books/parts/list-item.blade.php`.
1818

1919
## Customizing Icons
@@ -22,7 +22,7 @@ SVG files placed in a `themes/<theme_name>/icons` folder will override any icons
2222

2323
## Customizing Text Content
2424

25-
Folders with PHP translation files placed in a `themes/<theme_name>/lang` folder will override translations defined within the `resources/lang` folder. Custom translations are merged with the original files so you only need to override the select translations you want to override, you don't need to copy the whole original file. Note that you'll need to include the language folder.
25+
Folders with PHP translation files placed in a `themes/<theme_name>/lang` folder will override translations defined within the `lang` folder. Custom translations are merged with the original files, so you only need to override the select translations you want to override, you don't need to copy the whole original file. Note that you'll need to include the language folder.
2626

2727
As an example, Say I wanted to change 'Search' to 'Find'; Within a `themes/<theme_name>/lang/en/common.php` file I'd set the following:
2828

0 commit comments

Comments
 (0)