Skip to content

Commit

Permalink
Merge pull request #49 from MaxandreOgeret/mog-dev-trans
Browse files Browse the repository at this point in the history
updated trans + routes
  • Loading branch information
MaxandreOgeret authored May 19, 2019
2 parents f7b0366 + 6544699 commit 5044560
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 19 deletions.
12 changes: 6 additions & 6 deletions config/routes/routes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ app_main_route:
controller: App\Controller\HomeController:homeNoLocale

app_main_route_withlang:
path: /{_locale}/
path: /{_locale}
controller: App\Controller\HomeController:home
requirements:
_locale: '%app.locales%'
Expand All @@ -30,17 +30,17 @@ app_handle_home_form:


app_condition_use:
path: /{_locale}/app/cou/
path: /{_locale}/app/cou
controller: App\Controller\HomeController:conditionsOfUse
requirements:
_locale: '%app.locales%'

app_contact:
path: /app/contact/
path: /app/contact
controller: App\Controller\HomeController:contact

app_link_manager:
path: /{_locale}/link/manager/
path: /{_locale}/link/manager
controller: App\Controller\LinkController:linkManager
condition: "request.isXmlHttpRequest()"
requirements:
Expand All @@ -54,7 +54,7 @@ app_link_manager_controller:
_locale: '%app.locales%'

app_link_manager_check_uuid:
path: /{_locale}/link/manager/checkuuid/
path: /{_locale}/link/manager/checkuuid
controller: App\Controller\LinkController:checkUniqueUuid
condition: "request.isXmlHttpRequest()"
requirements:
Expand All @@ -68,5 +68,5 @@ app_link_review_link:
_locale: '%app.locales%'

app_link_match:
path: /{uuid}/
path: /{uuid}
controller: App\Controller\LinkController:linkHandler
2 changes: 1 addition & 1 deletion templates/full page/cou.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<h3>{{ 'app.cou.cookietitle'|trans }}</h3><br>
<p>{{ 'app.cou.cookie'|trans }}</p>
<p>{{ 'app.cou.gdpr'|trans }}</p>
<p>{{ 'app.cou.track'|trans }}.</p>
<p>{{ 'app.cou.track'|trans }}</p>

<br><p>{{ version }}</p>

Expand Down
2 changes: 1 addition & 1 deletion templates/security/login.html.twig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h4 class="above-form-title"><i style="margin-right: 5px" class="fas fa-sign-in-alt"></i>Sign-in</h4>
<h4 class="above-form-title"><i style="margin-right: 5px" class="fas fa-sign-in-alt"></i>{{ 'app.main.signin'|trans }}</h4>
{% if error %}
<div class="alert alert-danger" xmlns="http://www.w3.org/1999/html">
{{ error.messageKey }}
Expand Down
2 changes: 1 addition & 1 deletion templates/security/register.html.twig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h4 class="above-form-title"><i style="margin-right: 5px" class="fas fa-user-plus"></i>Sign-up</h4>
<h4 class="above-form-title"><i style="margin-right: 5px" class="fas fa-user-plus"></i>{{ 'app.main.signup'|trans }}</h4>
{{ form_start(form) }}

<div class="row">
Expand Down
10 changes: 5 additions & 5 deletions translations/messages.de.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
app.main.description : "Bester Weg Links zu kürzen"
app.main.what : "URL & Links Kürzer"
app.main.form.placeholer.link : Hier Link einfügen"
app.main.form.placeholer.link : "Hier Link einfügen"
app.main.signin: "Anmelden"
app.main.signup: "Neu anmelden"
app.main.signout: "Abmelden"
Expand All @@ -17,7 +17,7 @@ app.signup.form.placeholer.email : "Email Adresse"
app.signup.form.placeholer.password : "Passwort"
app.signup.form.placeholer.repeatpassword : "Passwort wiederholen"

app.linkchecker.description: "Du magst wissen wo dich der Link hinleitet? Hier einfügen."
app.linkchecker.description: "Du magst wissen, wo dich der Link hinleitet? Hier einfügen."
app.linkchecker.form.placeholder.link: "Einfügen des LESSn links hier"

app.cou.license: "Diese Arbeit ist lizenziert"
Expand All @@ -27,8 +27,8 @@ app.cou.github: "GitHub"
app.cou.law: "Deine Links dürfen nicht gegen das europäische Gesetz verstossen."
app.cou.cookietitle: "Cookies Kontrolle und Verschwiegenheit"
app.cou.cookie: "Diese Seite nutzt zusätzliche Cookies, um deine Sitzung zu speichern und dir Sicherheit zu gewährenleisten."
app.cou.gdpr: "Diese Internetseite beruht auf der Datenschutz-Grundverordnung."
app.cou.track: "Wir speichern verschlüssert die IP Adressen und Useragenten, um Missbrauch zu verhindert und die Anzahl der Zugriffe eines Linkes zu zählen."
app.cou.gdpr: "Diese Internetseite beruht auf der Datenschutz - Grundverordnung."
app.cou.track: "Wir speichern verschlüssert die IP Adressen und Useragenten, um Missbrauch zu verhindert und die Anzahl der Zugriffe eines Links zu zählen."

app.linkmanager.table.uuid: "Einmalige ID"
app.linkmanager.table.url: "URL"
Expand All @@ -42,7 +42,7 @@ app.linkmanager.error.forbidden: "Diese Eingabe ist verboten."
app.linkmanager.error.length: "Diese Eingabe ist zu lang."
app.linkmanager.error.taken: "Diese Eingabe ist schon vergeben."
app.linkmanager.error.confirm: "Bist du sicher?"
app.linkmanager.delete.confirm: Bestätigen"
app.linkmanager.delete.confirm: "Bestätigen"
app.linkmanager.delete.cancel: "Beenden"

# v1.0.6
Expand Down
8 changes: 4 additions & 4 deletions translations/messages.et.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ app.signup.form.placeholer.email : 'Email'
app.signup.form.placeholer.password : 'Parool'
app.signup.form.placeholer.repeatpassword : 'Parool uuesti'

app.linkchecker.description: 'Tahad teada, kuhu link sind suunab? Sisesta link allpool.'
app.linkchecker.form.placeholder.link: 'Sisesta LESSn link siia'
app.linkchecker.description: 'Tahad teada, kuhu link sind suunab? Sisesta oma link siia alla väljale.'
app.linkchecker.form.placeholder.link: 'Sisesta oma link siia'

app.cou.license: "Litsensitingimused :"
app.cou.license: "Litsensitingimused: "
# Full sentence : The source code is available on GitHub
app.cou.sourcegithub: 'Lähtekood on kättesaadav'
app.cou.sourcegithub: 'Lähtekood: '
app.cou.github: 'GitHub'
app.cou.law: 'Sisestatud lingid ei tohi olla vastuolus EL seadustega.'
app.cou.cookietitle: 'Prääniku poliitika'
Expand Down
2 changes: 1 addition & 1 deletion translations/messages.fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ app.cou.license: 'Ce site est distribué et mis à disposition sous licence Crea
# Full sentence : The source code is available on GitHub
app.cou.sourcegithub: 'Les sources sont disponibles sur'
app.cou.github: 'GitHub'
app.cou.law: 'Les liens que vous fournissez ne doivent enfreindre une loi européenne.'
app.cou.law: 'Les liens que vous fournissez ne doivent enfreindre aucune loi européenne.'
app.cou.cookietitle: 'Cookies et confidentialité'
app.cou.cookie: 'This site uses essential cookies to store your session and to secure the forms (CSRF). Our cookies last one session and include no tracking.'
app.cou.gdpr: 'Ce site respecte la RGPD.'
Expand Down

0 comments on commit 5044560

Please sign in to comment.