Skip to content

Commit 05257f6

Browse files
authored
Merge pull request #312 from bestmomo/master
French language
2 parents 903d5c7 + 994143b commit 05257f6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1832
-61
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,15 @@ For Laravel 5 Boilerplate Features : [Features](https://github.com/rappasoft/lar
1818
## Additional Features
1919
* Built-in Laravel Boilerplate Module Generator,
2020
* Dynamic Menu/Sidebar Builder
21-
* CMS Pages Module
22-
* Email Template Module
21+
* Pages Module
2322
* Blog Module
2423
* FAQ Module
25-
* API Boilerplate.
24+
* API Boilerplate
25+
* Mailables
26+
* Responses
27+
* Vue Components
28+
* Laravel Mix
29+
* Object based javascript Implementation
2630

2731
Give your project a Head Start by using [laravel-adminpanel](https://github.com/viralsolani/laravel-adminpanel).
2832

app/Http/Breadcrumbs/Backend/Backend.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
Breadcrumbs::register('admin.dashboard', function ($breadcrumbs) {
4-
$breadcrumbs->push('Dashboard', route('admin.dashboard'));
4+
$breadcrumbs->push(__('navs.backend.dashboard'), route('admin.dashboard'));
55
});
66

77
require __DIR__.'/Search.php';

config/locale.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* @var bool
1010
*/
11-
'status' => false,
11+
'status' => true,
1212

1313
/*
1414
* Available languages
@@ -35,7 +35,7 @@
3535
// 'el' => ['el', 'el_GR', false],
3636
'en' => ['en', 'en_US', false],
3737
// 'es' => ['es', 'es_ES', false],
38-
// 'fr' => ['fr', 'fr_FR', false],
38+
'fr' => ['fr', 'fr_FR', false],
3939
// 'id' => ['id', 'id_ID', false],
4040
// 'it' => ['it', 'it_IT', false],
4141
// 'nl' => ['nl', 'nl_NL', false],

public/js/backend/admin.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ var Backend = {}; // common variable used in all the files of the backend
102102
*
103103
*/
104104
Pages: {
105-
init: function () {
106-
Backend.tinyMCE.init();
105+
init: function (locale) {
106+
Backend.tinyMCE.init(locale);
107107
},
108108
},
109109

@@ -341,9 +341,9 @@ var Backend = {}; // common variable used in all the files of the backend
341341
slug: document.getElementById("slug"),
342342
},
343343

344-
init: function () {
344+
init: function (locale) {
345345
this.addHandlers();
346-
Backend.tinyMCE.init();
346+
Backend.tinyMCE.init(locale);
347347
},
348348

349349
addHandlers: function () {
@@ -601,8 +601,9 @@ var Backend = {}; // common variable used in all the files of the backend
601601
* Tiny MCE
602602
*/
603603
tinyMCE: {
604-
init: function () {
604+
init: function (locale) {
605605
tinymce.init({
606+
language: (locale === 'en_US' ? undefined : locale),
606607
path_absolute: "/",
607608
selector: 'textarea',
608609
height: 200,
@@ -653,9 +654,9 @@ var Backend = {}; // common variable used in all the files of the backend
653654
Faq: {
654655
selectors: {},
655656

656-
init: function () {
657+
init: function (locale) {
657658
// this.addHandlers();
658-
Backend.tinyMCE.init();
659+
Backend.tinyMCE.init(locale);
659660
},
660661

661662
addHandlers: function () {}

public/js/langs/fr_FR.js

Lines changed: 261 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,261 @@
1+
tinymce.addI18n('fr_FR',{
2+
"Redo": "R\u00e9tablir",
3+
"Undo": "Annuler",
4+
"Cut": "Couper",
5+
"Copy": "Copier",
6+
"Paste": "Coller",
7+
"Select all": "Tout s\u00e9lectionner",
8+
"New document": "Nouveau document",
9+
"Ok": "Ok",
10+
"Cancel": "Annuler",
11+
"Visual aids": "Aides visuelle",
12+
"Bold": "Gras",
13+
"Italic": "Italique",
14+
"Underline": "Soulign\u00e9",
15+
"Strikethrough": "Barr\u00e9",
16+
"Superscript": "Exposant",
17+
"Subscript": "Indice",
18+
"Clear formatting": "Effacer la mise en forme",
19+
"Align left": "Aligner \u00e0 gauche",
20+
"Align center": "Centrer",
21+
"Align right": "Aligner \u00e0 droite",
22+
"Justify": "Justifier",
23+
"Bullet list": "Puces",
24+
"Numbered list": "Num\u00e9rotation",
25+
"Decrease indent": "Diminuer le retrait",
26+
"Increase indent": "Augmenter le retrait",
27+
"Close": "Fermer",
28+
"Formats": "Formats",
29+
"Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.": "Votre navigateur ne supporte pas la copie directe. Merci d'utiliser les touches Ctrl+X\/C\/V.",
30+
"Headers": "Titres",
31+
"Header 1": "Titre 1",
32+
"Header 2": "Titre 2",
33+
"Header 3": "Titre 3",
34+
"Header 4": "Titre 4",
35+
"Header 5": "Titre 5",
36+
"Header 6": "Titre 6",
37+
"Headings": "En-t\u00eates",
38+
"Heading 1": "En-t\u00eate 1",
39+
"Heading 2": "En-t\u00eate 2",
40+
"Heading 3": "En-t\u00eate 3",
41+
"Heading 4": "En-t\u00eate 4",
42+
"Heading 5": "En-t\u00eate 5",
43+
"Heading 6": "En-t\u00eate 6",
44+
"Preformatted": "Pr\u00e9-formatt\u00e9",
45+
"Div": "Div",
46+
"Pre": "Pre",
47+
"Code": "Code",
48+
"Paragraph": "Paragraphe",
49+
"Blockquote": "Citation",
50+
"Inline": "En ligne",
51+
"Blocks": "Blocs",
52+
"Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.": "Le presse-papiers est maintenant en mode \"texte plein\". Les contenus seront coll\u00e9s sans retenir les formatages jusqu'\u00e0 ce que vous d\u00e9sactiviez cette option.",
53+
"Font Family": "Police",
54+
"Font Sizes": "Taille de police",
55+
"Class": "Classe",
56+
"Browse for an image": "Parcourir pour s\u00e9lectionner une image",
57+
"OR": "OU",
58+
"Drop an image here": "Glisser une image ici",
59+
"Upload": "D\u00e9poser",
60+
"Block": "Bloquer",
61+
"Align": "Aligner",
62+
"Default": "Par d\u00e9faut",
63+
"Circle": "Cercle",
64+
"Disc": "Disque",
65+
"Square": "Carr\u00e9",
66+
"Lower Alpha": "Alpha minuscule",
67+
"Lower Greek": "Grec minuscule",
68+
"Lower Roman": "Romain minuscule",
69+
"Upper Alpha": "Alpha majuscule",
70+
"Upper Roman": "Romain majuscule",
71+
"Anchor": "Ancre",
72+
"Name": "Nom",
73+
"Id": "Id",
74+
"Id should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.": "L'Id doit commencer par une lettre suivi par des lettres, nombres, tirets, points, deux-points ou underscores",
75+
"You have unsaved changes are you sure you want to navigate away?": "Vous avez des modifications non enregistr\u00e9es, \u00eates-vous s\u00fbr de quitter la page?",
76+
"Restore last draft": "Restaurer le dernier brouillon",
77+
"Special character": "Caract\u00e8res sp\u00e9ciaux",
78+
"Source code": "Code source",
79+
"Insert\/Edit code sample": "Ins\u00e9rer \/ modifier une exemple de code",
80+
"Language": "Langue",
81+
"Code sample": "Extrait de code",
82+
"Color": "Couleur",
83+
"R": "R",
84+
"G": "V",
85+
"B": "B",
86+
"Left to right": "Gauche \u00e0 droite",
87+
"Right to left": "Droite \u00e0 gauche",
88+
"Emoticons": "Emotic\u00f4nes",
89+
"Document properties": "Propri\u00e9t\u00e9 du document",
90+
"Title": "Titre",
91+
"Keywords": "Mots-cl\u00e9s",
92+
"Description": "Description",
93+
"Robots": "Robots",
94+
"Author": "Auteur",
95+
"Encoding": "Encodage",
96+
"Fullscreen": "Plein \u00e9cran",
97+
"Action": "Action",
98+
"Shortcut": "Raccourci",
99+
"Help": "Aide",
100+
"Address": "Adresse",
101+
"Focus to menubar": "Cibler la barre de menu",
102+
"Focus to toolbar": "Cibler la barre d'outils",
103+
"Focus to element path": "Cibler le chemin vers l'\u00e9l\u00e9ment",
104+
"Focus to contextual toolbar": "Cibler la barre d'outils contextuelle",
105+
"Insert link (if link plugin activated)": "Ins\u00e9rer un lien (si le module link est activ\u00e9)",
106+
"Save (if save plugin activated)": "Enregistrer (si le module save est activ\u00e9)",
107+
"Find (if searchreplace plugin activated)": "Rechercher (si le module searchreplace est activ\u00e9)",
108+
"Plugins installed ({0}):": "Modules install\u00e9s ({0}) : ",
109+
"Premium plugins:": "Modules premium :",
110+
"Learn more...": "En savoir plus...",
111+
"You are using {0}": "Vous utilisez {0}",
112+
"Plugins": "Plugins",
113+
"Handy Shortcuts": "Raccourcis utiles",
114+
"Horizontal line": "Ligne horizontale",
115+
"Insert\/edit image": "Ins\u00e9rer\/modifier une image",
116+
"Image description": "Description de l'image",
117+
"Source": "Source",
118+
"Dimensions": "Dimensions",
119+
"Constrain proportions": "Conserver les proportions",
120+
"General": "G\u00e9n\u00e9ral",
121+
"Advanced": "Avanc\u00e9",
122+
"Style": "Style",
123+
"Vertical space": "Espacement vertical",
124+
"Horizontal space": "Espacement horizontal",
125+
"Border": "Bordure",
126+
"Insert image": "Ins\u00e9rer une image",
127+
"Image": "Image",
128+
"Image list": "Liste d'images",
129+
"Rotate counterclockwise": "Rotation anti-horaire",
130+
"Rotate clockwise": "Rotation horaire",
131+
"Flip vertically": "Retournement vertical",
132+
"Flip horizontally": "Retournement horizontal",
133+
"Edit image": "Modifier l'image",
134+
"Image options": "Options de l'image",
135+
"Zoom in": "Zoomer",
136+
"Zoom out": "D\u00e9zoomer",
137+
"Crop": "Rogner",
138+
"Resize": "Redimensionner",
139+
"Orientation": "Orientation",
140+
"Brightness": "Luminosit\u00e9",
141+
"Sharpen": "Affiner",
142+
"Contrast": "Contraste",
143+
"Color levels": "Niveaux de couleur",
144+
"Gamma": "Gamma",
145+
"Invert": "Inverser",
146+
"Apply": "Appliquer",
147+
"Back": "Retour",
148+
"Insert date\/time": "Ins\u00e9rer date\/heure",
149+
"Date\/time": "Date\/heure",
150+
"Insert link": "Ins\u00e9rer un lien",
151+
"Insert\/edit link": "Ins\u00e9rer\/modifier un lien",
152+
"Text to display": "Texte \u00e0 afficher",
153+
"Url": "Url",
154+
"Target": "Cible",
155+
"None": "n\/a",
156+
"New window": "Nouvelle fen\u00eatre",
157+
"Remove link": "Enlever le lien",
158+
"Anchors": "Ancres",
159+
"Link": "Lien",
160+
"Paste or type a link": "Coller ou taper un lien",
161+
"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?": "L'URL que vous avez entr\u00e9e semble \u00eatre une adresse e-mail. Voulez-vous ajouter le pr\u00e9fixe mailto: n\u00e9cessaire?",
162+
"The URL you entered seems to be an external link. Do you want to add the required http:\/\/ prefix?": "L'URL que vous avez entr\u00e9e semble \u00eatre un lien externe. Voulez-vous ajouter le pr\u00e9fixe http:\/\/ n\u00e9cessaire?",
163+
"Link list": "Liste de liens",
164+
"Insert video": "Ins\u00e9rer une vid\u00e9o",
165+
"Insert\/edit video": "Ins\u00e9rer\/modifier une vid\u00e9o",
166+
"Insert\/edit media": "Ins\u00e9rer\/modifier un m\u00e9dia",
167+
"Alternative source": "Source alternative",
168+
"Poster": "Publier",
169+
"Paste your embed code below:": "Collez votre code d'int\u00e9gration ci-dessous :",
170+
"Embed": "Int\u00e9grer",
171+
"Media": "M\u00e9dia",
172+
"Nonbreaking space": "Espace ins\u00e9cable",
173+
"Page break": "Saut de page",
174+
"Paste as text": "Coller comme texte",
175+
"Preview": "Pr\u00e9visualiser",
176+
"Print": "Imprimer",
177+
"Save": "Enregistrer",
178+
"Find": "Chercher",
179+
"Replace with": "Remplacer par",
180+
"Replace": "Remplacer",
181+
"Replace all": "Tout remplacer",
182+
"Prev": "Pr\u00e9c ",
183+
"Next": "Suiv",
184+
"Find and replace": "Trouver et remplacer",
185+
"Could not find the specified string.": "Impossible de trouver la cha\u00eene sp\u00e9cifi\u00e9e.",
186+
"Match case": "Respecter la casse",
187+
"Whole words": "Mots entiers",
188+
"Spellcheck": "V\u00e9rification orthographique",
189+
"Ignore": "Ignorer",
190+
"Ignore all": "Tout ignorer",
191+
"Finish": "Finie",
192+
"Add to Dictionary": "Ajouter au dictionnaire",
193+
"Insert table": "Ins\u00e9rer un tableau",
194+
"Table properties": "Propri\u00e9t\u00e9s du tableau",
195+
"Delete table": "Supprimer le tableau",
196+
"Cell": "Cellule",
197+
"Row": "Ligne",
198+
"Column": "Colonne",
199+
"Cell properties": "Propri\u00e9t\u00e9s de la cellule",
200+
"Merge cells": "Fusionner les cellules",
201+
"Split cell": "Diviser la cellule",
202+
"Insert row before": "Ins\u00e9rer une ligne avant",
203+
"Insert row after": "Ins\u00e9rer une ligne apr\u00e8s",
204+
"Delete row": "Effacer la ligne",
205+
"Row properties": "Propri\u00e9t\u00e9s de la ligne",
206+
"Cut row": "Couper la ligne",
207+
"Copy row": "Copier la ligne",
208+
"Paste row before": "Coller la ligne avant",
209+
"Paste row after": "Coller la ligne apr\u00e8s",
210+
"Insert column before": "Ins\u00e9rer une colonne avant",
211+
"Insert column after": "Ins\u00e9rer une colonne apr\u00e8s",
212+
"Delete column": "Effacer la colonne",
213+
"Cols": "Colonnes",
214+
"Rows": "Lignes",
215+
"Width": "Largeur",
216+
"Height": "Hauteur",
217+
"Cell spacing": "Espacement inter-cellulles",
218+
"Cell padding": "Espacement interne cellule",
219+
"Caption": "Titre",
220+
"Left": "Gauche",
221+
"Center": "Centr\u00e9",
222+
"Right": "Droite",
223+
"Cell type": "Type de cellule",
224+
"Scope": "Etendue",
225+
"Alignment": "Alignement",
226+
"H Align": "Alignement H",
227+
"V Align": "Alignement V",
228+
"Top": "Haut",
229+
"Middle": "Milieu",
230+
"Bottom": "Bas",
231+
"Header cell": "Cellule d'en-t\u00eate",
232+
"Row group": "Groupe de lignes",
233+
"Column group": "Groupe de colonnes",
234+
"Row type": "Type de ligne",
235+
"Header": "En-t\u00eate",
236+
"Body": "Corps",
237+
"Footer": "Pied",
238+
"Border color": "Couleur de la bordure",
239+
"Insert template": "Ajouter un th\u00e8me",
240+
"Templates": "Th\u00e8mes",
241+
"Template": "Mod\u00e8le",
242+
"Text color": "Couleur du texte",
243+
"Background color": "Couleur d'arri\u00e8re-plan",
244+
"Custom...": "Personnalis\u00e9...",
245+
"Custom color": "Couleur personnalis\u00e9e",
246+
"No color": "Aucune couleur",
247+
"Table of Contents": "Table des mati\u00e8res",
248+
"Show blocks": "Afficher les blocs",
249+
"Show invisible characters": "Afficher les caract\u00e8res invisibles",
250+
"Words: {0}": "Mots : {0}",
251+
"{0} words": "{0} mots",
252+
"File": "Fichier",
253+
"Edit": "Editer",
254+
"Insert": "Ins\u00e9rer",
255+
"View": "Voir",
256+
"Format": "Format",
257+
"Table": "Tableau",
258+
"Tools": "Outils",
259+
"Powered by {0}": "Propuls\u00e9 par {0}",
260+
"Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help": "Zone Texte Riche. Appuyer sur ALT-F9 pour le menu. Appuyer sur ALT-F10 pour la barre d'outils. Appuyer sur ALT-0 pour de l'aide."
261+
});

resources/lang/en/datatable.php

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?php
2+
3+
return [
4+
5+
'strings' => '
6+
"sEmptyTable": "No data available in table",
7+
"sInfo": "Showing _START_ to _END_ of _TOTAL_ entries",
8+
"sInfoEmpty": "Showing 0 to 0 of 0 entries",
9+
"sInfoFiltered": "(filtered from _MAX_ total entries)",
10+
"sInfoPostFix": "",
11+
"sInfoThousands": ",",
12+
"sLengthMenu": "Show _MENU_ entries",
13+
"sLoadingRecords": "Loading...",
14+
"sProcessing": "Processing...",
15+
"sSearch": "Search:",
16+
"sZeroRecords": "No matching records found",
17+
"oPaginate": {
18+
"sFirst": "First",
19+
"sLast": "Last",
20+
"sNext": "Next",
21+
"sPrevious": "Previous"
22+
},
23+
"oAria": {
24+
"sSortAscending": ": activate to sort column ascending",
25+
"sSortDescending": ": activate to sort column descending"
26+
}'
27+
];

0 commit comments

Comments
 (0)