-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: 07akioni <07akioni2@gmail.com>
- Loading branch information
1 parent
ebb70d8
commit 6264acf
Showing
8 changed files
with
130 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
import type { NLocale } from './enUS' | ||
|
||
const frFR: NLocale = { | ||
name: 'fr-FR', | ||
global: { | ||
undo: 'Défaire', | ||
redo: 'Refaire', | ||
confirm: 'Confirmer' | ||
}, | ||
Popconfirm: { | ||
positiveText: 'Confirmer', | ||
negativeText: 'Annuler' | ||
}, | ||
Cascader: { | ||
placeholder: 'Sélectionner', | ||
loading: 'Chargement', | ||
loadingRequiredMessage: (label: string): string => | ||
`Charger tous les enfants de ${label} avant de le sélectionner` | ||
}, | ||
Time: { | ||
dateFormat: 'dd-MM-yyyy', | ||
dateTimeFormat: 'dd-MM-yyyy HH:mm:ss' | ||
}, | ||
DatePicker: { | ||
yearFormat: 'yyyy', | ||
monthFormat: 'MMM', | ||
dayFormat: 'eeeeee', | ||
clear: 'Effacer', | ||
now: 'Maintenant', | ||
confirm: 'Confirmer', | ||
selectTime: "Sélectionner l'heure", | ||
selectDate: 'Sélectionner la date', | ||
datePlaceholder: 'Sélectionner la date', | ||
datetimePlaceholder: "Sélectionner la date et l'heure", | ||
monthPlaceholder: 'Sélectionner le mois', | ||
yearPlaceholder: "Sélectionner l'année", | ||
startDatePlaceholder: 'Date de début', | ||
endDatePlaceholder: 'Date de fin', | ||
startDatetimePlaceholder: 'Date et heure de début', | ||
endDatetimePlaceholder: 'Date et heure de fin', | ||
monthBeforeYear: true, | ||
firstDayOfWeek: 1, | ||
today: "Aujourd'hui" | ||
}, | ||
DataTable: { | ||
checkTableAll: 'Sélectionner tout', | ||
uncheckTableAll: 'Désélectionner tout', | ||
confirm: 'Confirmer', | ||
clear: 'Effacer' | ||
}, | ||
Transfer: { | ||
sourceTitle: 'Source', | ||
targetTitle: 'Cible' | ||
}, | ||
Empty: { | ||
description: 'Aucune donnée' | ||
}, | ||
Select: { | ||
placeholder: 'Sélectionner' | ||
}, | ||
TimePicker: { | ||
placeholder: "Sélectionner l'heure", | ||
positiveText: 'OK', | ||
negativeText: 'Annuler', | ||
now: 'Maintenant' | ||
}, | ||
Pagination: { | ||
goto: 'Aller à', | ||
selectionSuffix: 'page' | ||
}, | ||
DynamicTags: { | ||
add: 'Ajouter' | ||
}, | ||
Log: { | ||
loading: 'Chargement' | ||
}, | ||
Input: { | ||
placeholder: 'Saisir' | ||
}, | ||
InputNumber: { | ||
placeholder: 'Saisir' | ||
}, | ||
DynamicInput: { | ||
create: 'Créer' | ||
}, | ||
ThemeEditor: { | ||
title: 'Editeur de thème', | ||
clearAllVars: 'Effacer toutes les variables', | ||
clearSearch: 'Effacer la recherche', | ||
filterCompName: 'Filtrer par nom de composant', | ||
filterVarName: 'Filtrer par nom de variable', | ||
import: 'Importer', | ||
export: 'Exporter', | ||
restore: 'Réinitialiser' | ||
} | ||
} | ||
|
||
export default frFR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import frFR from 'date-fns/locale/fr' | ||
import { NDateLocale } from './enUS' | ||
|
||
const dateFrFR: NDateLocale = { | ||
name: 'fr-FR', | ||
locale: frFR | ||
} | ||
|
||
export default dateFrFR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters