mirror of
https://gitnet.fr/deblan/gist.git
synced 2021-08-14 08:30:49 +02:00
DE translations
This commit is contained in:
parent
63ba878e80
commit
82790998d4
@ -11,7 +11,7 @@ use Symfony\Component\HttpFoundation\Cookie;
|
|||||||
$app->register(new TranslationServiceProvider(), array(
|
$app->register(new TranslationServiceProvider(), array(
|
||||||
'locale' => 'en',
|
'locale' => 'en',
|
||||||
'locale_fallback' => 'en',
|
'locale_fallback' => 'en',
|
||||||
'locales' => array('en', 'fr', 'es'/*, 'de'*/),
|
'locales' => array('en', 'fr', 'es', 'de'),
|
||||||
));
|
));
|
||||||
|
|
||||||
$app['translator'] = $app->extend('translator', function ($translator, $app) {
|
$app['translator'] = $app->extend('translator', function ($translator, $app) {
|
||||||
|
@ -4,83 +4,83 @@ app:
|
|||||||
|
|
||||||
menu:
|
menu:
|
||||||
home:
|
home:
|
||||||
title: 'Accueil'
|
title: 'Home'
|
||||||
about:
|
about:
|
||||||
title: 'À propos'
|
title: 'Über uns'
|
||||||
my:
|
my:
|
||||||
login:
|
login:
|
||||||
title: 'Connexion'
|
title: 'Anmelden'
|
||||||
logout:
|
logout:
|
||||||
title: 'Déconnexion'
|
title: 'Abmelden'
|
||||||
register:
|
register:
|
||||||
title: 'S''inscrire'
|
title: 'Konto öffnen'
|
||||||
my:
|
my:
|
||||||
title: 'Mon compte'
|
title: 'Mein Konto'
|
||||||
|
|
||||||
my:
|
my:
|
||||||
title: 'Mes Gists'
|
title: 'Meine Gists'
|
||||||
nothing: 'Rien pour le moment !'
|
nothing: 'Nichts zu finden (momentan)!'
|
||||||
|
|
||||||
gist:
|
gist:
|
||||||
untitled: 'Sans titre'
|
untitled: 'Ohne Titel'
|
||||||
404:
|
404:
|
||||||
title: 'Arf...'
|
title: 'Tja...'
|
||||||
message: "Ce gist n'existe pas."
|
message: 'Dieser Gist existiert nicht.'
|
||||||
action:
|
action:
|
||||||
view: 'Afficher'
|
view: 'Anzeigen'
|
||||||
history: 'Révision(s)'
|
history: 'Commit(s)'
|
||||||
raw: 'RAW'
|
raw: 'RAW'
|
||||||
download: 'Télécharger'
|
download: 'Herunterladen'
|
||||||
clone: 'Clôner'
|
clone: 'Klonen'
|
||||||
embed: 'Insérer : '
|
embed: 'Einfügen:'
|
||||||
add: 'Ajouter'
|
add: 'Hinzufügen'
|
||||||
|
|
||||||
date:
|
date:
|
||||||
format: 'd/m/Y H\hi s\s'
|
format: 'Y-m-d h:i:s'
|
||||||
|
|
||||||
footer:
|
footer:
|
||||||
text: '<p>Propulsé par <a href="https://gitnet.fr/deblan/gist">GIST</a>, c''est libre :) - <a href="https://gitnet.fr/deblan/gist#api">API</a></p>'
|
text: '<p>Powered by <a href="https://gitnet.fr/deblan/gist">GIST</a>, it''s open source :) - <a href="https://gitnet.fr/deblan/gist#api">API</a></p>'
|
||||||
|
|
||||||
login:
|
login:
|
||||||
login:
|
login:
|
||||||
title: 'Identification'
|
title: 'Login'
|
||||||
invalid: 'Nom d''utilisateur ou mot de passe incorrect.'
|
invalid: 'Anmeldung festgeschlagen.'
|
||||||
form:
|
form:
|
||||||
username:
|
username:
|
||||||
placeholder: 'Nom d''utilisateur'
|
placeholder: 'Benutzername'
|
||||||
password:
|
password:
|
||||||
placeholder: 'Mot de passe'
|
placeholder: 'Passwort'
|
||||||
remember_me:
|
remember_me:
|
||||||
label: 'Se souvenir de moi'
|
label: 'Remember me'
|
||||||
register:
|
register:
|
||||||
title: 'Nouveau compte'
|
title: 'New account'
|
||||||
already_exists: 'Ce nom d''utilisateur est déjà enregistré'
|
already_exists: 'This username is already registred!'
|
||||||
registred: 'Félicitation, votre compte a bien été créé !'
|
registred: 'Congratulations, your account is created!'
|
||||||
form:
|
form:
|
||||||
username:
|
username:
|
||||||
placeholder: 'Nom d''utilisateur'
|
placeholder: 'Username'
|
||||||
password:
|
password:
|
||||||
placeholder: 'Mot de passe'
|
placeholder: 'Password'
|
||||||
|
|
||||||
form:
|
form:
|
||||||
error:
|
error:
|
||||||
not_blank: 'Vous devez saisir cette donnée.'
|
not_blank: 'This value should not be blank bro!'
|
||||||
title:
|
title:
|
||||||
placeholder: 'Titre'
|
placeholder: 'Titel'
|
||||||
cipher:
|
cipher:
|
||||||
label: 'Chiffrer : %value%'
|
label: 'Cipher: %value%'
|
||||||
choice:
|
choice:
|
||||||
anyway: 'Peu importe'
|
anyway: 'Anyway'
|
||||||
yes: 'Oui'
|
yes: 'Yes'
|
||||||
no: 'Non'
|
no: 'No'
|
||||||
submit: 'Envoyer'
|
submit: 'Senden'
|
||||||
filter: 'Filtrer'
|
filter: 'Filter'
|
||||||
success:
|
success:
|
||||||
gist: 'Votre Gist a bien a été supprimé.'
|
gist: 'Gist removed.'
|
||||||
type:
|
type:
|
||||||
label: 'Langage : %value%'
|
label: 'Language: %value%'
|
||||||
choice:
|
choice:
|
||||||
all: 'Tous'
|
all: 'All'
|
||||||
html: 'HTML'
|
html: 'HTML'
|
||||||
xml: 'XML'
|
xml: 'XML'
|
||||||
css: 'CSS'
|
css: 'CSS'
|
||||||
@ -94,4 +94,4 @@ form:
|
|||||||
python: 'PYTHON'
|
python: 'PYTHON'
|
||||||
bash: 'BASH'
|
bash: 'BASH'
|
||||||
actionscript3: 'ACTION SCRIPT'
|
actionscript3: 'ACTION SCRIPT'
|
||||||
text: 'TEXTE'
|
text: 'TEXT'
|
||||||
|
@ -6,7 +6,7 @@ use Gist\Model\Base\User as BaseUser;
|
|||||||
use Symfony\Component\Security\Core\User\UserInterface;
|
use Symfony\Component\Security\Core\User\UserInterface;
|
||||||
use Propel\Runtime\ActiveQuery\Criteria;
|
use Propel\Runtime\ActiveQuery\Criteria;
|
||||||
use Propel\Runtime\Connection\ConnectionInterface;
|
use Propel\Runtime\Connection\ConnectionInterface;
|
||||||
.
|
|
||||||
/**
|
/**
|
||||||
* Class User.
|
* Class User.
|
||||||
*
|
*
|
||||||
|
@ -71,8 +71,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
{% block langs %}
|
{% block langs %}
|
||||||
<p class="navbar-text navbar-right">
|
<p class="navbar-text navbar-right">
|
||||||
{# {% for locale, flag in {'en': 'gb', 'fr': 'fr', 'es': 'es', 'de': 'de'} %} #}
|
{% for locale, flag in {'en': 'gb', 'fr': 'fr', 'es': 'es', 'de': 'de'} %}
|
||||||
{% for locale, flag in {'en': 'gb', 'fr': 'fr', 'es': 'es'} %}
|
|
||||||
<a class="lang btn btn-xs cipher-link" href="{{ path(app.request.attributes.get('_route'), app.request.attributes.get('_route_params')|merge({_locale: locale})) }}">
|
<a class="lang btn btn-xs cipher-link" href="{{ path(app.request.attributes.get('_route'), app.request.attributes.get('_route_params')|merge({_locale: locale})) }}">
|
||||||
<span class="flag-icon flag-icon-{{ flag }}"></span>
|
<span class="flag-icon flag-icon-{{ flag }}"></span>
|
||||||
</a>
|
</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user