Skip to content

Commit

Permalink
fix(i18n): fix french translations (#3017)
Browse files Browse the repository at this point in the history
Co-authored-by: Victorien <[email protected]>
  • Loading branch information
VictorienTardif and victorien-ffbridge authored Nov 7, 2022
1 parent c2aac4b commit 2afc420
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 49 deletions.
46 changes: 23 additions & 23 deletions projects/i18n/languages/french/addon-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const TUI_FRENCH_LANGUAGE_ADDON_EDITOR: TuiLanguageEditor = {
outdent: `Réduire le retrait`,
unorderedList: `Liste à puces`,
orderedList: `Liste numérotée`,
quote: `Quote`,
quote: `Citation`,
foreColor: `Couleur de texte`,
backColor: `Couleur de fond`,
hiliteColor: `Couleur de mise en évidence`,
Expand All @@ -32,35 +32,35 @@ export const TUI_FRENCH_LANGUAGE_ADDON_EDITOR: TuiLanguageEditor = {
tex: `Insérer TeX`,
code: `Code`,
image: `Insérer une image`,
insertHorizontalRule: `Insérer la règle horizontale`,
insertHorizontalRule: `Insérer une règle horizontale`,
superscript: `Exposant`,
subscript: `Indice`,
insertTable: `Insert table`,
insertGroup: `Insert group`,
removeGroup: `Remove group`,
insertAnchor: `Insert anchor`,
mergeCells: `Merge cells`,
splitCells: `Split cells`,
rowsColumnsManaging: `Managing rows and columns`,
cellColor: `Cell color`,
setDetails: `Details`,
removeDetails: `Remove details`,
insertTable: `Insérer une table`,
insertGroup: `Insérer un groupe`,
removeGroup: `Supprimer le groupe`,
insertAnchor: `Insérer une ancre`,
mergeCells: `Fusionner les cellules`,
splitCells: `Diviser les cellules`,
rowsColumnsManaging: `Gestion des lignes et des colonnes`,
cellColor: `Couleur de la cellule`,
setDetails: `Accordéon`,
removeDetails: `Supprimer l'accordéon`,
},
editorEditLink: {
urlExample: `example.com`,
anchorExample: `anchor`,
urlExample: `exemple.com`,
anchorExample: `ancre`,
},
editorTableCommands: [
[`Insert column before`, `Insert column after`],
[`Insert row before`, `Insert row after`],
[`Delete column`, `Delete row`],
[`Insérer une colonne avant`, `Insérer une colonne après`],
[`Insérer une ligne avant`, `Insérer une ligne après`],
[`Supprimer la colonne`, `Supprimer la ligne`],
],
editorCodeOptions: [`Code in the text`, `Code in block`],
editorCodeOptions: [`Code dans le texte`, `Bloc de code`],
editorFontOptions: {
small: `Small`,
large: `Large`,
normal: `Normal`,
title: `Title`,
subtitle: `Subtitle`,
small: `Petite`,
large: `Grande`,
normal: `Normale`,
title: `Titre`,
subtitle: `Sous-titre`,
},
};
8 changes: 4 additions & 4 deletions projects/i18n/languages/french/addon-preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import {TuiLanguagePreview} from '@taiga-ui/i18n/interfaces';

export const TUI_FRENCH_LANGUAGE_ADDON_PREVIEW: TuiLanguagePreview = {
previewTexts: {
rotate: `Rotate`,
rotate: `Faire pivoter`,
},
zoomTexts: {
zoomOut: `Zoom out`,
zoomIn: `Zoom in`,
reset: `Reset`,
zoomOut: `Zoomer`,
zoomIn: `Dézoomer`,
reset: `Réinitialiser`,
},
};
2 changes: 1 addition & 1 deletion projects/i18n/languages/french/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const TUI_FRENCH_LANGUAGE_CORE: TuiLanguageCore = {
`Décembre`,
],
close: `Fermer`,
nothingFoundMessage: `Rien trouvé`,
nothingFoundMessage: `Aucun résultat`,
defaultErrorMessage: `Valeur non valide`,
spinTexts: [`Précédent`, `Suivant`],
shortWeekDays: [`Lun`, `Mar`, `Mer`, `Jeu`, `Ven`, `Sam`, `Dim`],
Expand Down
16 changes: 8 additions & 8 deletions projects/i18n/languages/french/countries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {TuiCountryIsoCode} from '@taiga-ui/i18n/enums';

export const TUI_FRENCH_LANGUAGE_COUNTRIES: Record<TuiCountryIsoCode, string> = {
[TuiCountryIsoCode.AD]: `Andorre`,
[TuiCountryIsoCode.AE]: `Emirats arabes unis`,
[TuiCountryIsoCode.AE]: `Émirats arabes unis`,
[TuiCountryIsoCode.AF]: `Afghanistan`,
[TuiCountryIsoCode.AG]: `Antigua et Barbuda`,
[TuiCountryIsoCode.AI]: `Anguilla`,
Expand Down Expand Up @@ -38,7 +38,7 @@ export const TUI_FRENCH_LANGUAGE_COUNTRIES: Record<TuiCountryIsoCode, string> =
[TuiCountryIsoCode.CF]: `République centrafricaine`,
[TuiCountryIsoCode.CG]: `Congo Brazzaville`,
[TuiCountryIsoCode.CH]: `Suisse`,
[TuiCountryIsoCode.CI]: `Côte d''Ivoire`,
[TuiCountryIsoCode.CI]: `Côte d'Ivoire`,
[TuiCountryIsoCode.CL]: `Chili`,
[TuiCountryIsoCode.CM]: `Cameroun`,
[TuiCountryIsoCode.CN]: `Chine`,
Expand All @@ -55,16 +55,16 @@ export const TUI_FRENCH_LANGUAGE_COUNTRIES: Record<TuiCountryIsoCode, string> =
[TuiCountryIsoCode.DM]: `Dominique`,
[TuiCountryIsoCode.DO]: `République Dominicaine`,
[TuiCountryIsoCode.DZ]: `Algérie`,
[TuiCountryIsoCode.EC]: `Equateur`,
[TuiCountryIsoCode.EC]: `Équateur`,
[TuiCountryIsoCode.EE]: `Estonie`,
[TuiCountryIsoCode.EG]: `Egypte`,
[TuiCountryIsoCode.ER]: `Erythrée`,
[TuiCountryIsoCode.EG]: `Égypte`,
[TuiCountryIsoCode.ER]: `Érythrée`,
[TuiCountryIsoCode.ES]: `Espagne`,
[TuiCountryIsoCode.ET]: `Ethiopie`,
[TuiCountryIsoCode.ET]: `Éthiopie`,
[TuiCountryIsoCode.FI]: `Finlande`,
[TuiCountryIsoCode.FJ]: `Fidji`,
[TuiCountryIsoCode.FK]: `Iles Malouines/Falkland`,
[TuiCountryIsoCode.FM]: `Etats fédérés de Micronésie`,
[TuiCountryIsoCode.FM]: `États fédérés de Micronésie`,
[TuiCountryIsoCode.FR]: `France`,
[TuiCountryIsoCode.GA]: `Gabon`,
[TuiCountryIsoCode.GB]: `Royaume-Uni`,
Expand Down Expand Up @@ -194,7 +194,7 @@ export const TUI_FRENCH_LANGUAGE_COUNTRIES: Record<TuiCountryIsoCode, string> =
[TuiCountryIsoCode.TZ]: `Tanzanie`,
[TuiCountryIsoCode.UA]: `Ukraine`,
[TuiCountryIsoCode.UG]: `Ouganda`,
[TuiCountryIsoCode.US]: `Etats-Unis d''Amérique`,
[TuiCountryIsoCode.US]: `États-Unis d'Amérique`,
[TuiCountryIsoCode.UY]: `Uruguay`,
[TuiCountryIsoCode.UZ]: `Ouzbékistan`,
[TuiCountryIsoCode.VC]: `Saint-Vincent-et-les-Grenadines`,
Expand Down
26 changes: 13 additions & 13 deletions projects/i18n/languages/french/kit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ export const TUI_FRENCH_LANGUAGE_KIT: TuiLanguageKit = {
done: `Terminé`,
more: `Plus`,
otherDate: `Autre date...`,
showAll: `Show all`,
hide: `Hide`,
showAll: `Tout afficher`,
hide: `Cacher`,
mobileCalendarTexts: [`Choisir un jour`, `Choisir un intervalle`],
range: [`De`, `À`],
countTexts: [`Plus`, `Moins`],
Expand All @@ -16,9 +16,9 @@ export const TUI_FRENCH_LANGUAGE_KIT: TuiLanguageKit = {
'HH:MM:SS.MSS': `HH:MM:SS.MSS`,
},
dateTexts: {
DMY: `dd.mm.yyyy`,
MDY: `mm.dd.yyyy`,
YMD: `yyyy.mm.dd`,
DMY: `jj.mm.aaaa`,
MDY: `mm.jj.aaaa`,
YMD: `aaaa.mm.jj`,
},
digitalInformationUnits: [`B`, `KB`, `MB`],
passwordTexts: [`Afficher le mot de passe`, `Cacher le mot de passe`],
Expand All @@ -30,7 +30,7 @@ export const TUI_FRENCH_LANGUAGE_KIT: TuiLanguageKit = {
`Avr`,
`Mai`,
`Jun`,
`Jul`,
`Jui`,
`Aoû`,
`Sep`,
`Oct`,
Expand All @@ -44,14 +44,14 @@ export const TUI_FRENCH_LANGUAGE_KIT: TuiLanguageKit = {
remove: `Supprimer`,
},
inputFileTexts: {
defaultLabelSingle: `Ou glisser le ici`,
defaultLabelMultiple: `Ou glisser les ici`,
defaultLinkSingle: `Sélectionner un fichier`,
defaultLinkMultiple: `Sélectionner des fichiers`,
maxSizeRejectionReason: `Le fichier dépasse la taille `,
defaultLabelSingle: `ou déposez-le ici`,
defaultLabelMultiple: `ou déposez-les ici`,
defaultLinkSingle: `Sélectionnez un fichier`,
defaultLinkMultiple: `Sélectionnez des fichiers`,
maxSizeRejectionReason: `Le fichier est trop volumineux`,
formatRejectionReason: `Format de fichier incorrect`,
drop: `Déposer le fichier ici`,
dropMultiple: `Déposer les fichiers ici`,
drop: `Déposez le fichier ici`,
dropMultiple: `Déposez les fichiers ici`,
},
multiSelectTexts: {
all: `Tout sélectionner`,
Expand Down

0 comments on commit 2afc420

Please sign in to comment.