108 lines
4.1 KiB
PHP
108 lines
4.1 KiB
PHP
<?php
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Localized routes to be used with mcamara/laravel-localization
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| You may translate your routes. For example, http=>//url/en/about and http=>//url/es/acerca
|
|
| (acerca is about in spanish) or http=>//url/en/article/important-article and
|
|
| http=>//url/es/articulo/important-article (article is articulo in spanish) would
|
|
| be redirected to the same controller/view as follows=>
|
|
| It is necessary that at least the localize middleware in loaded in your
|
|
| Route=>=>group middleware (See installation instruction).
|
|
|
|
|
| For each language, add a routes.php into resources/lang/[**]/routes.php folder.
|
|
| The file contains an array with all translatable routes.
|
|
|
|
|
*/
|
|
|
|
|
|
return [
|
|
'welcome' => 'bienvenue',
|
|
'goodbye-deleted-user' => 'au-revoir',
|
|
'main' => 'page-principale',
|
|
'pay' => 'payez',
|
|
'pay-to-name' => 'payez/{name}',
|
|
'pay-amount-to-name' => 'payez/{hours}/{minutes}/a/{name}',
|
|
'pay-amount-to-name-description' => 'payez/{hours}/{minutes}/a/{name}/definition/{description}',
|
|
'transactions' => 'transactions',
|
|
'statement' => 'releve/{transactionId}',
|
|
'contacts' => 'contacts',
|
|
'reports' => 'rapports',
|
|
'posts.manage' => 'articles/gerer',
|
|
'calls.manage' => 'appels/gerer',
|
|
'post.show' => 'article/{id}',
|
|
'post.show_international' => 'post/{id}',
|
|
'post.show_by_slug' => 'article/{slug}',
|
|
'categories.manage' => 'categories/gerer',
|
|
'tags.manage' => 'etiquettes/gerer',
|
|
'profiles.manage' => 'profils/gerer',
|
|
'permissions.manage' => 'permissions/gerer',
|
|
'roles.manage' => 'roles/gerer',
|
|
|
|
'static.getting-started' => 'commencer',
|
|
'static.faq' => 'faq',
|
|
'static.privacy' => 'confidentialite',
|
|
'static.organizations' => 'organisations',
|
|
'static.principles' => 'principes',
|
|
'static.report-issue' => 'signaler-probleme',
|
|
'static.events' => 'evenements',
|
|
'static.the-hague' => 'la-haye',
|
|
'static.lekkernassuh' => 'lekkernassuh',
|
|
'static.amst-brus-lisb' => 'amsterdam-bruxelles-lisbonne',
|
|
'static.work-w-us' => 'travaillez-avec-nous',
|
|
'static.philosophy' => 'philosophie',
|
|
'static.open-source' => 'open-source',
|
|
'static.timebank-organization' => 'timebank-organization',
|
|
'static.history' => 'histoire',
|
|
'static.press-media' => 'presse-medias',
|
|
'static.economics-and-research' => 'economie-et-recherche',
|
|
'static.team' => 'equipe',
|
|
'static.messenger' => 'messager',
|
|
'static.report-error' => 'signaler-erreur',
|
|
|
|
'profile.show' => 'profil/{type}/{id}',
|
|
'profile.show_active' => 'profil/afficher',
|
|
|
|
'user.show' => 'utilisateur/{id}',
|
|
'user.show-by-name' => '/utilisateur/{name}',
|
|
'organization.show' => 'organisation/{id}',
|
|
'organization.show-by-name' => 'organisation/{name}',
|
|
'bank.show' => 'banque/{id}',
|
|
'bank.show-by-name' => 'banque/{name}',
|
|
'admin.show' => 'admin/{id}',
|
|
'admin.show-by-name' => 'admin/{name}',
|
|
'profile.edit' => 'profil/modifier',
|
|
|
|
'users-overview' => 'apercu-utilisateurs',
|
|
'search.show' => 'rechercher',
|
|
'messenger.join' => 'messager/invitation/{invite}',
|
|
'terms.show' => 'conditions-d-utilisation',
|
|
'policy.show' => 'politique-de-confidentialite',
|
|
'profile.settings' => 'profile/parametres',
|
|
|
|
|
|
'messenger.portal' => 'messenger',
|
|
'messenger.show' => 'messenger/{thread}',
|
|
'messenger.private.create' => 'messenger/recipient/{alias}/{id}',
|
|
'messenger.threads.show.call' => 'messenger/threads/{thread}/calls/{call}',
|
|
'messenger.join.invite' => 'messager/rejoindre/{invite}',
|
|
|
|
'chat.start' => 'chats/{profileType}/{id}',
|
|
|
|
'register'=> 'inscription',
|
|
'login' => 'connexion',
|
|
'bank.login' => 'banque/connexion',
|
|
'admin.login' => 'admin/connexion',
|
|
'password.request' => 'mot-de-passe/oublie',
|
|
'password.email' => 'mot-de-passe/email',
|
|
'password.reset' => 'mot-de-passe/reinitialiser/{token}',
|
|
'password.update' => 'mot-de-passe/reinitialiser',
|
|
'logout' => 'deconnexion',
|
|
'bank.logout' => 'banque/deconnexion',
|
|
'admin.logout' => 'admin/deconnexion'
|
|
|
|
|
|
];
|