translate view_link, view_profile
This commit is contained in:
parent
aac653f6cb
commit
c6c56a5ea2
@ -6,9 +6,12 @@ welcome-user = Herzlich willkommen {$username}
|
|||||||
logout = Abmelden
|
logout = Abmelden
|
||||||
|
|
||||||
edit-link-headline = Zu editierender Link: {$linktitle}
|
edit-link-headline = Zu editierender Link: {$linktitle}
|
||||||
link-description = Beschreibung:
|
edit-link = Link Editieren
|
||||||
link-target = Link Ziel:
|
link-description = Beschreibung
|
||||||
link-code = Link Code:
|
link-target = Link Ziel
|
||||||
|
link-code = Link Code
|
||||||
|
shortlink = Shortlink
|
||||||
|
qr-code = QR-code
|
||||||
|
|
||||||
danger-zone = Achtung!
|
danger-zone = Achtung!
|
||||||
danger-zone-text = Verändern Sie den Code von bereits veröffentlichten Links nicht. Sollte es dennoch geschehen werden veröffentlichte links unbenutzbar. Wird das Linkziel verändert, so zeigen auch die bereits veröffentlichten Links auf das neue Ziel.
|
danger-zone-text = Verändern Sie den Code von bereits veröffentlichten Links nicht. Sollte es dennoch geschehen werden veröffentlichte links unbenutzbar. Wird das Linkziel verändert, so zeigen auch die bereits veröffentlichten Links auf das neue Ziel.
|
||||||
@ -22,6 +25,9 @@ email = Email
|
|||||||
password = Passwort
|
password = Passwort
|
||||||
password-placeholder = Leer lassen um das Passwort nicht zu ändern
|
password-placeholder = Leer lassen um das Passwort nicht zu ändern
|
||||||
save-user = Benutzer speichern
|
save-user = Benutzer speichern
|
||||||
|
edit-user = Benutzer editieren
|
||||||
|
make-user-admin = Zum Administrator befördern
|
||||||
|
make-user-regular = Zurückstufen zum normalen Nutzer
|
||||||
|
|
||||||
userid = Benutzernummer
|
userid = Benutzernummer
|
||||||
statistics = Statistik
|
statistics = Statistik
|
@ -6,9 +6,11 @@ welcome-user = Wellcome {$username}
|
|||||||
logout = Logout
|
logout = Logout
|
||||||
|
|
||||||
edit-link-headline = Edit link: {$linktitle}
|
edit-link-headline = Edit link: {$linktitle}
|
||||||
|
edit-link = Edit link
|
||||||
link-description = Description
|
link-description = Description
|
||||||
link-target = Link target
|
link-target = Link target
|
||||||
link-code = Link code
|
link-code = Link code
|
||||||
|
shortlink = Shortlink
|
||||||
|
|
||||||
danger-zone = Danger Zone!
|
danger-zone = Danger Zone!
|
||||||
danger-zone-text = Do not change the code of links that are published. If you do so the published links will become invalid! If you change the target the published links will point to the new target.
|
danger-zone-text = Do not change the code of links that are published. If you do so the published links will become invalid! If you change the target the published links will point to the new target.
|
||||||
@ -16,12 +18,16 @@ danger-zone-text = Do not change the code of links that are published. If you do
|
|||||||
save-edits = Save edits
|
save-edits = Save edits
|
||||||
delete-link = Delete this link
|
delete-link = Delete this link
|
||||||
|
|
||||||
edit-user-headline = User Settings of: {$username}
|
user-headline = User Settings of: {$username}
|
||||||
|
edit-user-headline = Change Settings of: {$username}
|
||||||
username = Username
|
username = Username
|
||||||
email = Email
|
email = Email
|
||||||
password = Password
|
password = Password
|
||||||
password-placeholder = Leave this empty to keep the current password
|
password-placeholder = Leave this empty to keep the current password
|
||||||
save-user = Save this user
|
save-user = Save this user
|
||||||
|
edit-user = Edit this user
|
||||||
|
make-user-admin = Promote to admin
|
||||||
|
make-user-regular = Demote to regular
|
||||||
|
|
||||||
userid = User ID
|
userid = User ID
|
||||||
statistics = Statistics
|
statistics = Statistics
|
@ -5,24 +5,29 @@
|
|||||||
<h1>{{ link.title }}</h1>
|
<h1>{{ link.title }}</h1>
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Beschreibung:</td>
|
<td>{{ fluent(key="link-description", lang=user.language)
|
||||||
|
}}:</td>
|
||||||
<td>{{ link.title }}</td>
|
<td>{{ link.title }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Code:</td>
|
<td>{{ fluent(key="link-code", lang=user.language)
|
||||||
|
}}:</td>
|
||||||
<td>{{ link.code }}</td>
|
<td>{{ link.code }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Kurzlink:</td>
|
<td>{{ fluent(key="shortlink", lang=user.language)
|
||||||
|
}}:</td>
|
||||||
<td><a href="{{ protocol }}://{{ host }}/{{ link.code }}">{{ protocol }}://{{ host }}/{{ link.code }}</a>
|
<td><a href="{{ protocol }}://{{ host }}/{{ link.code }}">{{ protocol }}://{{ host }}/{{ link.code }}</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Ziel:</td>
|
<td>{{ fluent(key="link-target", lang=user.language)
|
||||||
|
}}:</td>
|
||||||
<td>{{ link.target }}</td>
|
<td>{{ link.target }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>QR-Code</td>
|
<td>{{ fluent(key="qr-code", lang=user.language)
|
||||||
|
}}</td>
|
||||||
<td><a href="/admin/download/png/{{ link.code }}" download="{{ link.title | slugify }}.png">
|
<td><a href="/admin/download/png/{{ link.code }}" download="{{ link.title | slugify }}.png">
|
||||||
{{ qr | trim_start_matches(pat=
|
{{ qr | trim_start_matches(pat=
|
||||||
'.*?>')
|
'.*?>')
|
||||||
@ -33,7 +38,8 @@
|
|||||||
</table>
|
</table>
|
||||||
{% if user.role == 2 or user.id == link.author %}
|
{% if user.role == 2 or user.id == link.author %}
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<a class="button" href="/admin/edit/link/{{ link.code }}">Editieren</a>
|
<a class="button" href="/admin/edit/link/{{ link.code }}">{{ fluent(key="edit-link", lang=user.language)
|
||||||
|
}}</a>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
@ -2,31 +2,39 @@
|
|||||||
|
|
||||||
{% block admin %}
|
{% block admin %}
|
||||||
<div class="center">
|
<div class="center">
|
||||||
<h1>Profil von {{viewed_user.username}}</h1>
|
<h1>{{ fluent(key="user-headline", lang=user.language, username=user.username) }}</h1>
|
||||||
<form action="" method="POST">
|
<form action="" method="POST">
|
||||||
<div>
|
<div>
|
||||||
<label for="username">Benutzername:</label>
|
<label for="username">{{ fluent(key="username", lang=user.language)
|
||||||
|
}}:</label>
|
||||||
<input type="text" name="username" value="{{ viewed_user.username }}" readonly>
|
<input type="text" name="username" value="{{ viewed_user.username }}" readonly>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label for="email">E-mail:</label>
|
<label for="email">{{ fluent(key="email", lang=user.language)
|
||||||
|
}}:</label>
|
||||||
<input type="email" name="email" value="{{ viewed_user.email }}" readonly>
|
<input type="email" name="email" value="{{ viewed_user.email }}" readonly>
|
||||||
</div>
|
</div>
|
||||||
{% if user.role == 2 or user.id == viewed_user.id %}
|
{% if user.role == 2 or user.id == viewed_user.id %}
|
||||||
<div>
|
<div>
|
||||||
<label for="password">Passwort:</label>
|
<label for="password">{{ fluent(key="password", lang=user.language)
|
||||||
|
}}:</label>
|
||||||
<input type="password" name="password" value="verschlüsselt" readonly>
|
<input type="password" name="password" value="verschlüsselt" readonly>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</form>
|
</form>
|
||||||
{% if user.role == 2 or user.id == viewed_user.id %}
|
{% if user.role == 2 or user.id == viewed_user.id %}
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<a class="button" href="/admin/edit/profile/{{ viewed_user.id }}">Editieren</a>
|
<a class="button" href="/admin/edit/profile/{{ viewed_user.id }}">{{ fluent(key="edit-user", lang=user.language)
|
||||||
|
}}</a>
|
||||||
{% if user.role == 2 and viewed_user.role == 1 %}
|
{% if user.role == 2 and viewed_user.role == 1 %}
|
||||||
<a class="button" href="/admin/edit/set_admin/{{ viewed_user.id }}">Zum Admin machen</a>
|
<a class="button" href="/admin/edit/set_admin/{{ viewed_user.id }}">{{ fluent(key="make-user-admin",
|
||||||
|
lang=user.language)
|
||||||
|
}}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if user.role == 2 and viewed_user.role == 2 %}
|
{% if user.role == 2 and viewed_user.role == 2 and not user.id == viewed_user.id %}
|
||||||
<a class="button" href="/admin/edit/set_admin/{{ viewed_user.id }}">Zum Normalo machen</a>
|
<a class="button" href="/admin/edit/set_admin/{{ viewed_user.id }}">{{ fluent(key="make-user-regular",
|
||||||
|
lang=user.language)
|
||||||
|
}}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user