Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔀🌐[core][fr_FR] Add GIGN extension and Update Translation #2748

Merged
merged 9 commits into from
Nov 29, 2023
2 changes: 1 addition & 1 deletion docs/fr_FR/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Si Tampermonkey a été installé avec succès dans votre navigateur, vous pouve
@[code js](@userscript)

### Étape 3 : Activation
L'indicateur LSSM est un texte surligné en vert `LSSM V.4`.
L'indicateur LSSM est le logo LSSM ou (si réglé en conséquence dans les [settings](settings.md)) un texte vert `LSSM V.4`.

Un clic sur l'indicateur ouvre un petit menu qui vous permet d'accéder à l'[Appstore][docs.appstore] et aux [paramètres][docs.settings]. Dans les paramètres, seuls les modules que vous avez activés apparaissent, vous devez donc d'abord visiter l'AppStore !

Expand Down
51 changes: 51 additions & 0 deletions src/i18n/fr_FR/buildings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1141,4 +1141,55 @@ export default {
schoolingTypes: ['Secours nautique'],
icon: 'building-shield',
},
28: {
caption: 'GIGN',
color: '#116611',
coins: 50,
credits: 500_000,
levelPrices: {
credits: [
10_000,
25_000,
50_000,
75_000,
...Array(5).fill(100_000),
],
coins: [5, 10, 10, 15, ...Array(5).fill(20)],
},
extensions: [
{
caption: "Équipements d'assaut",
credits: 200_000,
coins: 25,
duration: '5 jours',
isVehicleExtension: true,
givesParkingLots: 2,
parkingLotReservations: [[39], [39]],
},
{
caption: 'Négociateur',
credits: 200_000,
coins: 25,
duration: '5 jours',
isVehicleExtension: true,
givesParkingLots: 2,
parkingLotReservations: [[39], [39]],
},
],
levelcost: [
'1. 10 000',
'2. 25 000',
'3. 45 000',
'4. 75 000',
'5-9. 100 000',
],
maxBuildings: 'Aucune limite',
maxLevel: 9,
special: '',
startPersonnel: 6,
startParkingLots: 1,
startVehicles: ['Fortress 200'],
schoolingTypes: ['Secours nautique'],
icon: 'building-shield',
},
} satisfies Record<number, InternalBuilding>;
18 changes: 18 additions & 0 deletions src/i18n/fr_FR/schoolings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ export default {
staffList: 'Aviation policière',
key: 'polizeihubschrauber',
},
{
caption: "Formation d'intervention d'élite",
duration: '3 jours',
staffList: "unité d'elite",
key: 'swat',
},
{
caption: 'Maître chien',
duration: '5 jours',
Expand Down Expand Up @@ -102,6 +108,18 @@ export default {
staffList: 'Armurier',
key: 'riot_police_equipment',
},
{
caption: "Formation de médecin d'intervention",
duration: '5 jours',
staffList: "médecin d'intervention",
key: 'swat_physician',
},
{
caption: 'Formation de négociateur',
duration: '5 jours',
staffList: 'négociateur',
key: 'swat_negotiation',
},
],
'Secours nautique': [
{
Expand Down
87 changes: 77 additions & 10 deletions src/i18n/fr_FR/vehicles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -810,8 +810,8 @@ export default {
56: {
caption: 'VPCE',
color: '#225CB5',
credits: 5000,
coins: 12,
credits: 10_000,
coins: 10,
staff: { min: 2, max: 3 },
icon: 'car-side',
possibleBuildings: [0],
Expand Down Expand Up @@ -983,6 +983,9 @@ export default {
bomb_dronee: {
all: true,
},
fbi_bomb_tech: {
all: true,
},
},
},
},
Expand All @@ -993,8 +996,8 @@ export default {
66: {
caption: 'VTPSC',
color: '#225CB5',
credits: 14_200,
coins: 15,
credits: 10_000,
coins: 10,
staff: {
min: 1,
max: 9,
Expand All @@ -1012,8 +1015,8 @@ export default {
67: {
caption: 'CESD',
color: '#225CB5',
credits: 300_000,
coins: 30,
credits: 14_200,
coins: 15,
staff: {
min: 2,
max: 2,
Expand All @@ -1035,7 +1038,7 @@ export default {
credits: 19_200,
coins: 20,
staff: {
min: 4,
min: 2,
max: 4,
training: {
'Secours nautique': {
Expand Down Expand Up @@ -1071,11 +1074,13 @@ export default {
max: 0,
},
icon: 'car-side',
pumpCapacity: 1000,
pumpType: 'fire',
possibleBuildings: [27],
special: 'Remorqueuse nécessaire (VPCE)',
},
71: {
caption: 'MPI',
caption: 'UPM',
color: '#225CB5',
credits: 14_200,
coins: 15,
Expand All @@ -1084,14 +1089,16 @@ export default {
max: 0,
},
icon: 'car-side',
pumpCapacity: 9000,
pumpType: 'fire',
possibleBuildings: [27],
special: 'Remorqueuse nécessaire (VPCE)',
},
72: {
caption: 'UFR',
color: '#225CB5',
credits: 14_200,
coins: 15,
credits: 25_600,
coins: 20,
staff: {
min: 2,
max: 2,
Expand All @@ -1112,4 +1119,64 @@ export default {
icon: 'car-side',
possibleBuildings: [27],
},
74: {
caption: 'Fortress 200',
color: '#225CB5',
credits: 10_000,
coins: 10,
staff: {
min: 6,
max: 6,
training: {
'Poste de police': {
swat_physician: {
min: 1,
},
swat: {
min: 5,
},
},
},
},
icon: 'car-side',
possibleBuildings: [28],
},
75: {
caption: 'Sherpa Light APC',
color: '#225CB5',
credits: 21_000,
coins: 15,
staff: {
min: 4,
max: 6,
training: {
'Poste de police': {
swat: {
min: 4,
},
},
},
},
icon: 'car-side',
possibleBuildings: [28],
},
76: {
caption: 'VDN',
color: '#225CB5',
credits: 14_000,
coins: 15,
staff: {
min: 1,
max: 2,
training: {
'Poste de police': {
swat_negotiation: {
min: 1,
},
},
},
},
icon: 'car-side',
possibleBuildings: [28],
},
} satisfies Record<number, InternalVehicle>;
11 changes: 7 additions & 4 deletions src/modules/extendedCallWindow/i18n/fr_FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"elw2": "Véhicule poste de commandement",
"elw3": "VLHR",
"fire": "Fourgons d’incendie",
"flood_equipment": "CEEP ou MAI",
"fly_car_any": "VL SSSM / VLM",
"foam": "FMOGP",
"fustw": "Voiture de patrouille",
Expand All @@ -33,7 +34,7 @@
"gwa": "Véhicule d'Assistance Respiratoire",
"gwgefahrgut": "Véhicules risques chimiques",
"gwhoehenrettung": "VGRIMP",
"gwl2wasser": "Camion-citerne",
"gwl2wasser": "Camion-citerne ou CCFS",
"hlf_only": "Véhicule de secours",
"hose": "Camion dévidoir",
"hose_trucks": "Camion dévidoir",
Expand All @@ -44,9 +45,9 @@
"polizeihubschrauber": "Hélicoptère de police",
"pump": "Motopompe",
"rth_only": "Hélicoptère",
"rtw": "ASSU",
"rtw": "ASSU / VSAV / AR",
"rw": "Véhicule de secours routier",
"wasser_amount": "litres d'eau",
"wasser_amount": "Litres d'eau",
"water_damage_pump": "litres d'eau/min",
"water_damage_pump_value": "litres d'eau/min",
"water_damage_pump_value_only_pumps": "litres d'eau/min"
Expand Down Expand Up @@ -233,7 +234,9 @@
{ "texts": ["VIM"], "vehicles": [51] },
{ "texts": ["VLCM"], "vehicles": [55] },
{ "texts": ["VSA"], "vehicles": [52] },
{ "texts": ["VIRP"], "vehicles": [54] }
{ "texts": ["Fortress 200"], "vehicles": [74] },
{ "texts": ["Sherpa Light APC"], "vehicles": [75] },
{ "texts": ["VDN"], "vehicles": [76] }
],
"water": "l d’eau"
},
Expand Down
3 changes: 2 additions & 1 deletion src/modules/extendedCallWindow/i18n/fr_FR.root.json
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@
"vehicleTypes": [
61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73
]
}
},
{ "name": "GIGN", "vehicleTypes": [74, 75, 76] }
],
"noCustoms": "catégories de véhicules personnels exclues"
}
Expand Down
12 changes: 12 additions & 0 deletions src/modules/missionHelper/i18n/fr_FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"forestry": "Missions feux de forêts",
"police": "Missions de police",
"riot_police": "Missions de maintien de l'ordre",
"swat": "Missions de GIGN",
"title": "Catégories générées",
"water_damage_and_flood": "Mission Dégâts des eaux et Inondations",
"water_rescue": "Missions nautiques",
Expand All @@ -38,21 +39,29 @@
"prerequisites": {
"airport": "Extensions SSLIA",
"bereitschaftspolizei": "Compagnies de CRS",
"bomb_disposal_count": "Extensions pour l’élimination des bombes",
"brush_extension": "Extensions Forestières",
"coastal_helicopter_count": "Hangar pour hélicoptère",
"coastal_rescue": "Sauveteur aquatique",
"coastal_rescue_count": "Stations de Sauvetage",
"decontamination": "Extensions de décontamination",
"fire_aviation_2": "Hangars pour hélicoptères bombardiers d'eau",
"fire_aviation_count": "Hangars d'avions bombardiers d'eau",
"fire_stations": "Caserne de pompier | Casernes de pompier",
"fire_support_count": "Extension de soutien à incendie | Extensions de soutien à incendie",
"flood_equipment": "Extensions d'équipement d'inondation",
"heavy_rescue": "Extensions de sauvetage lourd",
"max_fire_stations": "Max. casernes de pompiers",
"max_police_stations": "Max. Postes de police",
"personnel_educations": "Personnel requis",
"police_helicopter_stations": "Poste d'hélicoptère de police | Postes d'hélicoptère de police",
"police_stations": "Poste de police | Postes de police",
"rescue_helicopter_stations": "Base d'hélicoptère de secours | Bases d'hélicoptère de secours",
"rescue_stations": "Poste de secours | Postes de secours",
"swat": "GIGN",
"swat_height": "Extension d'équipement d'assaut",
"swat_negotiation": "Extension de négociateur",
"technical_aid": "Unités d'Instruction et d'Intervention de la Sécurité Civile",
"title": "Condition | Conditions",
"wasserrettung": "Unité nautique",
"water_cannon": "Section des Moyens Spécialisés | Sections des Moyens Spécialisés",
Expand Down Expand Up @@ -127,6 +136,9 @@
"riot_police_trailer": "Barres-ponts",
"riv": "VIRP",
"rth": "Hélicoptères de secours",
"swat": "Fortress 200",
"swat_ladder": "Sherpa Light APC",
"swat_negotiation": "VDN",
"thw_gkw": "VTU",
"wasserwerfer": "ELE",
"water_rescue": "VPL",
Expand Down
8 changes: 4 additions & 4 deletions src/modules/overview/i18n/fr_FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"schoolings": { "all": "tout", "min": "min. {n}x" },
"tabs": {
"buildings": "Bâtiments",
"equipment": "Equipment",
"equipment": "Equipement",
"schoolings": "Formations",
"vehicles": "Véhicules"
},
Expand All @@ -20,9 +20,9 @@
"startVehicles": "Véhicules de départ"
},
"equipment": {
"caption": "Equipment",
"cost": "Price",
"size": "Size"
"caption": "Equipement",
"cost": "Prix",
"size": "Taille"
},
"schoolings": {
"caption": "Nom de la formation",
Expand Down