diff --git a/_data/en-US/strings.json b/_data/en-US/strings.json index 5f910d22..3a03b83c 100644 --- a/_data/en-US/strings.json +++ b/_data/en-US/strings.json @@ -1,10 +1,13 @@ { "by": "By: $1", + "close": "Close", "description": "Wikis for DS-Homebrew projects", "discord-server": "Discord server (English only)", "published-with": "Published with GitHub Pages, view the source on GitHub.", + "select-language": "Select language", "source": "Source", + "title": "DS-Homebrew Wiki", + "toggle-navigation": "Toggle navigation", "translate-here": "Translate here", - "translate-on-crowdin": "Translate on Crowdin", - "title": "DS-Homebrew Wiki" + "translate-on-crowdin": "Translate on Crowdin" } \ No newline at end of file diff --git a/_includes/favicon.html b/_includes/favicon.html index 34ece3e2..b74d1cb9 100644 --- a/_includes/favicon.html +++ b/_includes/favicon.html @@ -11,7 +11,6 @@ - \ No newline at end of file diff --git a/_includes/head.html b/_includes/head.html index 871da75c..0c1cde32 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -1,7 +1,6 @@ - - - + + {% if site.data[page.collection].strings.title != page.title %} diff --git a/_includes/language-alert.html b/_includes/language-alert.html index 64512b47..8e63e6ac 100644 --- a/_includes/language-alert.html +++ b/_includes/language-alert.html @@ -1,7 +1,7 @@ <div class="row"> <div class="col-12"> <div id="language-alert" class="alert alert-secondary alert-dismissible fade show d-none mt-3 mb-0" role="alert"> - <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button> + <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="{{ site.data[page.collection].strings.close }}"></button> </div> </div> </div> \ No newline at end of file diff --git a/_includes/nav.html b/_includes/nav.html index 0edd9692..d00a81a3 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -3,7 +3,7 @@ <span class="navbar-brand"> <a class="navbar-brand mb-0 h1" href="{% unless page.collection == "en-US" %}/{{ page.collection }}{% endunless %}{{ site.data[page.collection].nav[0].url }}">{{ site.data[page.collection].strings.title }}</a> </span> - <button class="navbar-toggler mr-4" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> + <button class="navbar-toggler mr-4" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="{{ site.data[page.collection].strings.toggle-navigation }}"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse" id="navbarSupportedContent"> @@ -35,7 +35,7 @@ </li> </ul> <div class="btn-group position-absolute-sm end-0 me-1"> - <button type="button" class="btn btn-primary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false"> + <button type="button" class="btn btn-primary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false" aria-label="{{ site.data[page.collection].strings.select-language }}"> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-globe" viewBox="0 0 16 16"> <path fill-rule="evenodd" d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm7.5-6.923c-.67.204-1.335.82-1.887 1.855A7.97 7.97 0 0 0 5.145 4H7.5V1.077zM4.09 4H2.255a7.025 7.025 0 0 1 3.072-2.472 6.7 6.7 0 0 0-.597.933c-.247.464-.462.98-.64 1.539zm-.582 3.5h-2.49c.062-.89.291-1.733.656-2.5H3.82a13.652 13.652 0 0 0-.312 2.5zM4.847 5H7.5v2.5H4.51A12.5 12.5 0 0 1 4.846 5zM8.5 5v2.5h2.99a12.495 12.495 0 0 0-.337-2.5H8.5zM4.51 8.5H7.5V11H4.847a12.5 12.5 0 0 1-.338-2.5zm3.99 0V11h2.653c.187-.765.306-1.608.338-2.5H8.5zM5.145 12H7.5v2.923c-.67-.204-1.335-.82-1.887-1.855A7.97 7.97 0 0 1 5.145 12zm.182 2.472a6.696 6.696 0 0 1-.597-.933A9.268 9.268 0 0 1 4.09 12H2.255a7.024 7.024 0 0 0 3.072 2.472zM3.82 11H1.674a6.958 6.958 0 0 1-.656-2.5h2.49c.03.877.138 1.718.312 2.5zm6.853 3.472A7.024 7.024 0 0 0 13.745 12H11.91a9.27 9.27 0 0 1-.64 1.539 6.688 6.688 0 0 1-.597.933zM8.5 12h2.355a7.967 7.967 0 0 1-.468 1.068c-.552 1.035-1.218 1.65-1.887 1.855V12zm3.68-1h2.146c.365-.767.594-1.61.656-2.5h-2.49a13.65 13.65 0 0 1-.312 2.5zm2.802-3.5h-2.49A13.65 13.65 0 0 0 12.18 5h2.146c.365.767.594 1.61.656 2.5zM11.27 2.461c.247.464.462.98.64 1.539h1.835a7.024 7.024 0 0 0-3.072-2.472c.218.284.418.598.597.933zM10.855 4H8.5V1.077c.67.204 1.335.82 1.887 1.855.173.324.33.682.468 1.068z"/> </svg> diff --git a/assets/images/favicon/browserconfig.xml b/assets/images/favicon/browserconfig.xml deleted file mode 100644 index c5541482..00000000 --- a/assets/images/favicon/browserconfig.xml +++ /dev/null @@ -1,2 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<browserconfig><msapplication><tile><square70x70logo src="/ms-icon-70x70.png"/><square150x150logo src="/ms-icon-150x150.png"/><square310x310logo src="/ms-icon-310x310.png"/><TileColor>#ffffff</TileColor></tile></msapplication></browserconfig> \ No newline at end of file diff --git a/assets/images/favicon/manifest.json b/assets/images/favicon/manifest.json deleted file mode 100644 index 013d4a6a..00000000 --- a/assets/images/favicon/manifest.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "App", - "icons": [ - { - "src": "\/android-icon-36x36.png", - "sizes": "36x36", - "type": "image\/png", - "density": "0.75" - }, - { - "src": "\/android-icon-48x48.png", - "sizes": "48x48", - "type": "image\/png", - "density": "1.0" - }, - { - "src": "\/android-icon-72x72.png", - "sizes": "72x72", - "type": "image\/png", - "density": "1.5" - }, - { - "src": "\/android-icon-96x96.png", - "sizes": "96x96", - "type": "image\/png", - "density": "2.0" - }, - { - "src": "\/android-icon-144x144.png", - "sizes": "144x144", - "type": "image\/png", - "density": "3.0" - }, - { - "src": "\/android-icon-192x192.png", - "sizes": "192x192", - "type": "image\/png", - "density": "4.0" - } - ] -} \ No newline at end of file