More i18n prep

This commit is contained in:
Kumi 2021-06-14 17:12:22 +02:00
parent 605490a36e
commit abca806a8b
5 changed files with 25 additions and 59 deletions

View file

@ -78,7 +78,7 @@
<div class="col-12 col-md-6 col-lg-12">
<div class="side-bar-block support-block">
<h3>{% trans "Hilfe benötigt?" %}</h3>
<p>{% trans "Bei Fragen zur Urlaubsauktion stehen wir Ihnen gerne telefonisch zur Verfügung." %}</p>
<p>{% trans "Bei Fragen zu JourneyJoker stehen wir Ihnen gerne telefonisch zur Verfügung." %}</p>
<div class="support-contact">
<span><i class="fa fa-phone"></i></span>
<p>+43 800 093004</p>

View file

@ -80,7 +80,7 @@
<div class="col-12 col-md-6 col-lg-12">
<div class="side-bar-block support-block">
<h3>{% trans "Hilfe benötigt?" %}</h3>
<p>{% trans "Bei Fragen zur Urlaubsauktion stehen wir Ihnen gerne telefonisch zur Verfügung." %}</p>
<p>{% trans "Bei Fragen zu JourneyJoker stehen wir Ihnen gerne telefonisch zur Verfügung." %}</p>
<div class="support-contact">
<span><i class="fa fa-phone"></i></span>
<p>+43 800 093004</p>

View file

@ -1,35 +0,0 @@
{% extends "frontend/base.html" %}
{% block "content" %}
<!--===== INNERPAGE-WRAPPER ====-->
<section class="innerpage-wrapper">
<div id="dashboard" class="innerpage-section-padding">
<div class="container">
<div class="row">
<div class="col-12 col-md-12 col-lg-12 col-xl-12">
<div class="dashboard-heading">
<h2>Urlaubs<span>Auktion</span></h2>
<p>Hallo {{ object.first_name }}, willkommen bei der Urlaubsauktion!</p>
<p></p>
</div><!-- end dashboard-heading -->
<div class="dashboard-wrapper">
<div class="row">
<div class="col-12 col-md-2 col-lg-2 dashboard-nav">
<ul class="nav nav-tabs">
<li class="nav-item active"><a class="nav-link" href="#"><span><i class="fa fa-cogs"></i></span>Dashboard</a></li>
<li class="nav-item"><a class="nav-link" href="/"><span><i class="fa fa-user"></i></span>Profile</a></li>
<li class="nav-item"><a class="nav-link" href="/"><span><i class="fa fa-briefcase"></i></span>Booking</a></li>
<li class="nav-item"><a class="nav-link" href="/"><span><i class="fa fa-heart"></i></span>Wishlist</a></li>
<li class="nav-item"><a class="nav-link" href="/"><span><i class="fa fa-credit-card"></i></span>My Cards</a></li>
</ul>
</div><!-- end columns -->
{% block "profilepage" %}
{% endblock %}
</div><!-- end dashboard-wrapper -->
</div><!-- end columns -->
</div><!-- end row -->
</div><!-- end container -->
</div><!-- end dashboard -->
</section><!-- end innerpage-wrapper -->
{% endblock %}

View file

@ -3,22 +3,22 @@
{% block "dashboardcontent" %}
<div class="col-12 col-md-10 col-lg-10 dashboard-content booking-trips">
<h2 class="dash-content-title">Deine Unterkünfte</h2>
<div class="dash-content-title"><a href="{% url "partners:establishment_register" %}" class="btn">Neue Unterkunft registrieren</a></span>
<div class="dash-content-title"><a href="{% url "partners:establishment_register" %}" class="btn">{% trans "Neue Unterkunft registrieren" %}</a></span>
<div class="dashboard-listing booking-listing">
<div class="dash-listing-heading">
<div class="custom-radio">
<input type="radio" id="radio01" name="radio" checked/>
<label for="radio01"><span></span>Alle Unterkünfte</label>
<label for="radio01"><span></span>{% trans "Alle Unterkünfte" %}</label>
</div><!-- end custom-radio -->
<div class="custom-radio">
<input type="radio" id="radio02" name="radio" />
<label for="radio02"><span></span>Aktiv</label>
<label for="radio02"><span></span>{% trans "Aktiv" %}</label>
</div><!-- end custom-radio -->
<div class="custom-radio">
<input type="radio" id="radio03" name="radio" />
<label for="radio03"><span></span>Inaktiv</label>
<label for="radio03"><span></span>{% trans "Inaktiv" %}</label>
</div><!-- end custom-radio -->
</div>
@ -31,14 +31,15 @@
<td class="dash-list-text booking-list-detail">
<h3>{{ establishment.name }}</h3>
<ul class="list-unstyled booking-info">
<li><span>Adresse:</span> {{ establishment.full_address }}</li>
<li><span>Buchungen:</span> {{ establishment.bookings | length }}</li>
<li><span>Status:</span> {% if establishment.is_active %}aktiv{% else %}inaktiv{% endif %}</li>
<li><span>{% trans "Adresse:" %}</span> {{ establishment.full_address }}</li>
<li><span>{% trans "Buchungen:" %}</span> {{ establishment.bookings | length }}</li>
<li><span>{% trans "Status:" %}</span> {% if establishment.is_active %}{% trans "aktiv" %}{% else %}{% trans "inaktiv" %}{% endif %}</li>
</ul>
<a href="{% url "partners:roomcategories" establishment.id %}" class="btn btn-orange">Zimmer und Ausstattung bearbeiten</a>
<a href="{% url "partners:establishment_gallery" establishment.id %}" class="btn btn-orange">Bilder bearbeiten</a>
<a href="{% url "partners:roomcategories" establishment.id %}" class="btn btn-orange">{% trans "Zimmer / Ausstattung" %}</a>
<a href="{% url "partners:establishment_gallery" establishment.id %}" class="btn btn-orange">{% trans "Bilder" %}</a>
<a href="" class="btn btn-orange">{% trans "Preise" %}</a>
</td>
<td class="dash-list-btn"><a href="{% url "auction:bidding" establishment.id %}" class="btn btn-orange">Bieten</a><button class="btn">Deaktivieren</button></td>
<td class="dash-list-btn"><a href="{% url "auction:bidding" establishment.id %}" class="btn btn-orange">{% trans "Bieten" %}</a><button class="btn">{% trans "Deaktivieren" %}</button></td>
</tr>
{% endfor %}
</tbody>

View file

@ -9,19 +9,19 @@
<div class="row d-flex justify-content-center">
<div class="col-md-12 col-lg-8 col-lg-offset-2">
<h2>{% trans "Unterkunft registrieren" %}</h2>
<p>Bitte geben Sie hier die Daten der Unterkunft ein, die Sie in JourneyJoker anbieten möchten.</p>
<p>Nach einer kurzen Überprüfung Ihrer Daten kann es dann schon losgehen!</p>
<p>{% trans "Bitte geben Sie hier die Daten der Unterkunft ein, die Sie in JourneyJoker anbieten möchten." %}</p>
<p>{% trans "Nach einer kurzen Überprüfung Ihrer Daten kann es dann schon losgehen!" %}</p>
<form enctype="multipart/form-data" method="POST">
{% csrf_token %}
{% bootstrap_form form %}
<button class="btn btn-orange btn-block">{% trans "Anwenden" %}</button>
</form>
</div><!-- end columns -->
</div><!-- end row -->
</div><!-- end container -->
</div><!-- end coming-soon-text -->
</section><!-- end innerpage-wrapper -->
<form enctype="multipart/form-data" method="POST">
{% csrf_token %}
{% bootstrap_form form %}
<button class="btn btn-orange btn-block">{% trans "Anwenden" %}</button>
</form>
</div><!-- end columns -->
</div><!-- end row -->
</div><!-- end container -->
</div><!-- end coming-soon-text -->
</section><!-- end innerpage-wrapper -->
{% endblock %}
{% block "scripts" %}
{{ form.media }}