Skip to content

Commit a50df32

Browse files
Merge pull request #679 from softwaremagico/674-add-fr-language
674 add fr language
2 parents a93f7a8 + fd57961 commit a50df32

File tree

10 files changed

+807
-14
lines changed

10 files changed

+807
-14
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[![GitHub last commit](https://img.shields.io/github/last-commit/softwaremagico/KendoTournamentManager)](https://github.com/softwaremagico/KendoTournamentManager)
1010
[![Issues](https://img.shields.io/github/issues/softwaremagico/KendoTournamentManager.svg)](https://github.com/softwaremagico/KendoTournamentManager/issues)
1111
[![CircleCI](https://circleci.com/gh/softwaremagico/KendoTournamentManager.svg?style=shield)](https://circleci.com/gh/softwaremagico/KendoTournamentManager)
12-
[![Time](https://img.shields.io/badge/development-830h-blueviolet.svg)]()
12+
[![Time](https://img.shields.io/badge/development-831h-blueviolet.svg)]()
1313

1414
[![Powered by](https://img.shields.io/badge/powered%20by%20java-orange.svg?logo=OpenJDK&logoColor=white)]()
1515
[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=kendo-tournament-backend&metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=kendo-tournament-backend)

frontend/src/app/app.module.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ import {IconModule} from "./components/icons";
3030
import {registerLocaleData} from "@angular/common";
3131
import localeES from "@angular/common/locales/es";
3232
import localeCAT from "@angular/common/locales/ca-ES-valencia";
33+
import localeFR from "@angular/common/locales/fr";
3334
import localeIT from "@angular/common/locales/it";
3435
import localeDE from "@angular/common/locales/de";
3536
import localeNL from "@angular/common/locales/nds-NL";
@@ -118,6 +119,7 @@ registerLocaleData(localeIT, "it");
118119
registerLocaleData(localeCAT, "ca");
119120
registerLocaleData(localeDE, "de");
120121
registerLocaleData(localeNL, "nl");
122+
registerLocaleData(localeFR, "fr");
121123

122124
@NgModule({
123125
declarations: [
@@ -239,7 +241,7 @@ registerLocaleData(localeNL, "nl");
239241
}, {
240242
provide: TRANSLOCO_CONFIG,
241243
useValue: translocoConfig({
242-
availableLangs: ['en', 'es', 'ca', 'it', 'nl', 'de'],
244+
availableLangs: ['en', 'es', 'ca', 'it', 'nl', 'de', 'fr'],
243245
defaultLang: 'en',
244246
fallbackLang: 'en',
245247
missingHandler: {

frontend/src/assets/i18n/ca.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"ca": "Català",
3-
"de": "Deutsch",
3+
"de": "Deutsche",
44
"nl": "Dutch",
55
"en": "English",
66
"es": "Español",
77
"it": "Italiano",
8+
"fr": "Française",
89
"tournaments": "Torneigs",
910
"clubs": "Clubs",
1011
"reports": "Informes",

frontend/src/assets/i18n/de.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"ca": "Català",
3-
"de": "Deutsch",
4-
"nl": "Dutch",
3+
"de": "Deutsche",
4+
"nl": "Nederlands",
55
"en": "English",
66
"es": "Español",
77
"it": "Italiano",
8+
"fr": "Française",
89
"tournaments": "Turnier",
910
"clubs": "Klubs",
1011
"reports": "Berichte",

frontend/src/assets/i18n/en.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"ca": "Català",
3-
"de": "Deutsch",
4-
"nl": "Dutch",
3+
"de": "Deutsche",
4+
"nl": "Nederlands",
55
"en": "English",
66
"es": "Español",
77
"it": "Italiano",
8+
"fr": "Française",
89
"tournaments": "Tournaments",
910
"clubs": "Clubs",
1011
"reports": "Reports",
@@ -766,7 +767,8 @@
766767
"ca": "Català",
767768
"it": "Italiano",
768769
"nl": "Nederlandse",
769-
"de": "Deutsche"
770+
"de": "Deutsche",
771+
"fr": "Française"
770772
},
771773
"selectDiplomaRoles": "Select the roles with diploma",
772774
"userRoleTitle": "Define the account's role",

frontend/src/assets/i18n/es.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"ca": "Català",
3-
"de": "Deutsch",
4-
"nl": "Dutch",
3+
"de": "Deutsche",
4+
"nl": "Nederlands",
55
"en": "English",
66
"es": "Español",
77
"it": "Italiano",
8+
"fr": "Française",
89
"tournaments": "Torneos",
910
"clubs": "Clubs",
1011
"reports": "Informes",

frontend/src/assets/i18n/fr.json

Lines changed: 768 additions & 0 deletions
Large diffs are not rendered by default.

frontend/src/assets/i18n/it.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"ca": "Català",
3-
"de": "Deutsch",
4-
"nl": "Dutch",
3+
"de": "Deutsche",
4+
"nl": "Nederlands",
55
"en": "English",
66
"es": "Español",
77
"it": "Italiano",
8+
"fr": "Française",
89
"tournaments": "Campionati",
910
"clubs": "Clubs",
1011
"reports": "Rapporti",
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"registry": "Registre",
3+
"clubs": "Clubs",
4+
"participants": "Participants",
5+
"competitions": "Compétitions",
6+
"administration": "Administration",
7+
"users": "Utilisateurs",
8+
"logout": "Se déconnecter",
9+
"language": "Langue",
10+
"password": "Mot de passe",
11+
"help": "Aide",
12+
"wiki": "Wiki",
13+
"licenses": "Licences",
14+
"about": "À propos",
15+
"list": "Liste"
16+
}

frontend/src/assets/i18n/nl.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"ca": "Català",
3-
"de": "Deutsch",
4-
"nl": "Dutch",
3+
"de": "Deutsche",
4+
"nl": "Nederlands",
55
"en": "English",
66
"es": "Español",
77
"it": "Italiano",
8+
"fr": "Française",
89
"tournaments": "Toernooien",
910
"clubs": "Clubs",
1011
"reports": "Rapporten",

0 commit comments

Comments
 (0)