]> BookStack Code Mirror - bookstack/blobdiff - resources/views/common/header.blade.php
Added tests and translations for dark-mode components
[bookstack] / resources / views / common / header.blade.php
index af7aaeeb0ee8ec3cb498867c3084ac91b2d6621b..98bd01788cd3b3960951c0c6e7ea9fefd18b4cda 100644 (file)
@@ -76,9 +76,9 @@
                                     {{ csrf_field() }}
                                     {{ method_field('patch') }}
                                     @if(setting()->getForCurrentUser('dark-mode-enabled'))
-                                        <button>@icon('light-mode')Light Mode</button>
+                                        <button>@icon('light-mode'){{ trans('common.light_mode') }}</button>
                                     @else
-                                        <button>@icon('dark-mode')Dark Mode</button>
+                                        <button>@icon('dark-mode'){{ trans('common.dark_mode') }}</button>
                                     @endif
                                 </form>
                             </li>