Skip to content

Commit

Permalink
chore: improve translations
Browse files Browse the repository at this point in the history
  • Loading branch information
paulovareiro29 committed Sep 3, 2024
1 parent 404abff commit 687b642
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions src/pages/index.twig
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
<div class='col-12 col-md-7'>
<form class='form-inline d-flex gap-2' action='overview'>
<input
class='form-control mr-sm-2'
class='form-control fs-5 mr-sm-2'
type='search'
placeholder='Datensatze suchen'
aria-label='Datensatze suchen'
>
<button class='btn btn-primary' type='submit' aria-label='Search'>
<button class='btn btn-primary fs-5' type='submit' aria-label='Search'>
<i class='bi bi-search'></i>
</button>
</form>
Expand Down
10 changes: 5 additions & 5 deletions src/pages/overview.twig
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
<div class='col-12 col-md-7'>
<form action='./overview' class='d-flex gap-2 align-items-center'>
<input
class='form-control mr-sm-2'
class='form-control fs-5 mr-sm-2'
type='search'
placeholder='Datensatze suchen'
aria-label='Datensatze suchen'
placeholder='Datensätze suchen'
aria-label='Datensätze suchen'
>
<button class='btn btn-primary my-2 my-sm-0' type='submit' aria-label='Search'>
<button class='btn btn-primary fs-5 my-2 my-sm-0' type='submit' aria-label='Search'>
<i class='bi bi-search'></i>
</button>
</form>
Expand Down Expand Up @@ -159,7 +159,7 @@
</div>
</div>
<div class='d-flex gap-2 align-items-center justify-content-end d-block d-lg-none'>
<p class='h6 m-0'><strong>Filters Nach</strong></p>
<p class='h6 m-0'><strong>Filtern nach</strong></p>
<button
class='btn btn-dark'
type='button'
Expand Down
12 changes: 6 additions & 6 deletions src/partials/base/b_header.twig
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<div class='d-flex align-items-center gap-4'>
<div id='header-nav' class='offcanvas offcanvas-end' aria-modal='true' role='dialog'>
<div class='offcanvas-header d-flex gap-4 d-xl-none justify-content-end'>
<a href='./overview' class='link fs-3'><i class='bi bi-search'></i></a>
<button type='button' class='btn btn-outline-light' data-bs-dismiss='offcanvas' aria-label='Close'>
<a href='./overview' class='link fs-3' aria-label='Datensätze suchen'><i class='bi bi-search'></i></a>
<button type='button' class='btn btn-outline-light' data-bs-dismiss='offcanvas' aria-label='Schließen'>
<i class='bi bi-x-lg'></i>
</button>
</div>
Expand All @@ -39,13 +39,13 @@
<input
class='form-control mr-sm-2'
type='search'
placeholder='Datensatze suchen'
aria-label='Datensatze suchen'
placeholder='Datensätze suchen'
aria-label='Datensätze suchen'
>
<button class='btn btn-outline-light' type='submit'>Search</button>
<button class='btn btn-outline-light' type='submit'>Suche</button>
</form>

<a href='./overview' class='link d-block d-lg-none fs-3' aria-label='Datensatze suchen'>
<a href='./overview' class='link d-block d-lg-none fs-3' aria-label='Datensätze suchen'>
<i class='bi bi-search'></i>
</a>

Expand Down
4 changes: 2 additions & 2 deletions src/partials/base/b_highlight-teaser.twig
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
</div>
<div class='mt-n5 col-lg-6 position-lg-absolute end-0 top-0 mt-lg-5'>
<div class='card-body text-bg-primary p-4 mx-4 mx-lg-0 d-flex flex-column'>
<h5 class='mb-3'>Titel lorem ipsum</h5>
<p class='mb-3'>
<h3 class='mb-3'>Title lorem ipsum</h3>
<p class='fs-5 text-lg mb-3'>
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et
dolore magna aliquyam erat, sed diam voluptua...
</p>
Expand Down
8 changes: 4 additions & 4 deletions src/partials/content-layout/cl_filters.twig
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<aside class='offcanvas offcanvas-reset-lg offcanvas-end' id='offcanvas-filters'>
<div class='offcanvas-header d-flex d-lg-none gap-2 align-items-center justify-content-end'>
<p class='h6 m-0'>Close filters</p>
<p class='h6 m-0'>Filter schließens</p>
<button
type='button'
class='btn btn-outline-light'
data-bs-dismiss='offcanvas'
aria-label='Close'
aria-label='Filter schließen'
>
<i class='bi bi-x-lg'></i>
</button>
Expand Down Expand Up @@ -44,8 +44,8 @@
{% endfor %}
</div>
<div class='d-flex d-lg-none flex-column gap-2 mt-4'>
<button type='button' class='btn btn-lg btn-primary'>Apply Filters</button>
<button type='button' class='btn btn-lg btn-outline-primary' data-bs-dismiss='offcanvas'>Close Filters</button>
<button type='button' class='btn btn-lg btn-primary'>Filter anwenden</button>
<button type='button' class='btn btn-lg btn-outline-primary' data-bs-dismiss='offcanvas'>Filter schließen</button>
</div>
</div>
</aside>
2 changes: 1 addition & 1 deletion src/partials/content-layout/cl_section-header.twig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class='col-12 mb-5 d-flex justify-content-between align-items-center'>
<h2 class='m-0'>{{ title }}</h2>
<h2 class='display-6 m-0'>{{ title }}</h2>

{% if link is defined %}
<p class='h5 fw-normal m-0'>
Expand Down

0 comments on commit 687b642

Please sign in to comment.