From fc6d81ba73343a5c02a513cc1300ce84a3fa3539 Mon Sep 17 00:00:00 2001 From: Tadjinton Date: Sun, 28 Jul 2024 17:11:50 +0200 Subject: [PATCH 1/2] update the czech language src\i18n files --- src/i18n/cs_CZ.ts | 115 ++++--- src/i18n/cs_CZ/buildings.ts | 247 ++++++++++----- src/i18n/cs_CZ/global.ts | 15 +- src/i18n/cs_CZ/schoolings.ts | 131 +++++++- src/i18n/cs_CZ/vehicles.ts | 594 +++++++++++++++++++++++++++++++---- 5 files changed, 917 insertions(+), 185 deletions(-) diff --git a/src/i18n/cs_CZ.ts b/src/i18n/cs_CZ.ts index be83ff521f..b50d31bc58 100644 --- a/src/i18n/cs_CZ.ts +++ b/src/i18n/cs_CZ.ts @@ -7,8 +7,10 @@ const modules = { dev: 'Tento modul je v současné době ve vývoji. Aktivací může vést k neúplným funkcím.', closeWarning: { title: 'Neulozené změny', - text: 'Ve sbírce aplikací jste provedli změny, které nejsou uloženy. Resetujte je nebo uložte a ukončete sbírku aplikací.', - close: 'Zavřít zprávu', + text: 'V AppStore jste provedli změny, které ještě nejsou uloženy. Resetováním nebo uložením zavřete AppStore.', + abort: 'Zrušit', + saveAndExit: 'Uložit a Zavřít', + exit: 'Zavřít bez uložení', }, }, settings: { @@ -18,7 +20,14 @@ const modules = { reset: 'Resetovat', export: 'Export', import: 'Import', - donate: 'donate voluntarily', + donate: 'Dobrovolné dary', + appendableList: { + unique: { + title: 'Dvojnásobná hodnota', + text: 'Ve sloupci **{title}** se nesmí objevit žádné duplicitní hodnoty. Hodnota **{value}** již existuje!', + confirm: 'OK', + }, + }, resetWarning: { title: 'Resetovat nastavení', text: 'Opravdu chcete resetovat nastavení do počátečních hodnot? Tento krok nelze vrátit!', @@ -35,7 +44,9 @@ const modules = { closeWarning: { title: 'Neuložené změny', text: 'V nastavení jste provedli změny, které nejsou uloženy. Resetujte je nebo uložte a zavřete nastavení.', - close: 'Zavřít zprávu', + abort: 'Zrušit', + saveAndExit: 'Uložit a Zavřít', + exit: 'Zavřít bez uložení', }, changeList: { true: 'Aktivovat', @@ -47,55 +58,52 @@ const modules = { export default { modules, buildingCategories: { - 'Fire Department': { - buildings: [0, 4, 11, 13, 17], + 'Hasiči': { + buildings: [0, 1, 18], color: '#ff2d2d', }, - 'Rescue Stations': { - buildings: [3, 6, 12, 16], + 'Záchranáři': { + buildings: [2, 3, 5, 15, 20, 22], color: '#ffa500', }, - 'Police Stations': { - buildings: [5, 7, 8, 15, 18], + 'Policie': { + buildings: [6, 8, 13, 19, 21, 25], color: '#00ac00', }, 'Other': { - buildings: [2, 9, 14], + buildings: [4, 7, 23, 24], color: '#02a18c', }, }, vehicleCategories: { - 'Firefighters': { + 'Hasiči': { vehicles: { - 'Fire trucks': [0, 1, 13, 18], - 'WaterTanker': [7], - 'Special vehicles': [2, 3, 4, 6, 8, 9, 12], - 'Wildland vehicles': [30, 31, 32, 33, 34, 38, 39, 40, 41], - 'Airport Vehicles': [17], - 'Boats': [21, 22, 24], - 'Fire Aviation': [35, 36, 37], + 'Hasičský vůz': [0, 1], + 'Vodní záchranná služba': [20,22], + 'Letiště': [40, 41], + 'Kontejner': [43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53], + 'Další vozidla': [2, 3, 4, 6, 7, 10, 16, 17, 28, 29, 30, 31, 42], }, color: '#ff2d2d', }, - 'Rescue Vehicles': { + 'Záchranáři': { vehicles: { - 'Ambulances': [5, 27], - 'HEMS': [11], - 'First Responder': [15], - 'Rescue Boat': [25], - 'Other EMS Vehicle': [20, 28, 29], + 'Sanitka': [5, 25, 26, 27, 54, 55], + 'Záchranný vrtulník': [9], + 'VZS ČČK': [21, 23, 24], }, color: '#ffa500', }, - 'Police Vehicles': { + 'Policie': { vehicles: { - 'Patrol Car': [10], - 'SWAT': [16, 26], - 'Police Motorcycle': [23], - 'Police helicopter': [14], - 'K-9 Unit': [19], - 'FBI': [42, 43, 44, 45, 46], - 'Sheriff': [47], + 'Policejní automobil': [8, 18], + 'URNA': [12, 15], + 'Policejní motocykl': [14], + 'Kynolog': [13], + 'Pořádková jednotka': [32, 33, 34, 35, 36, 37], + 'Policejní vrtulník': [11], + 'Pyrotechnici': [19], + 'Stáje policie': [38, 39], }, color: '#00ac00', }, @@ -105,25 +113,25 @@ export default { 2: 20, 6: 19, }, - amount: 'Quantity', - search: 'Search', - alliance: 'Alliance', + amount: 'Množství', + search: 'Hledat', + alliance: 'Aliance', premiumNotice: 'This feature extends a premium feature of the game and is therefore only available for players with a Missionchief game premium account!', credits: 'Kredity', coins: 'Mincí', - close: 'Close', + close: 'Zavřít', fullscreen: { - expand: 'Activate full screen mode', - compress: 'Disable full screen mode', + expand: 'Aktivovat mód na celou obrazovku', + compress: 'Dektivovat mód na celou obrazovku', }, - hideTitle: 'Show heading | Hide heading', - vehicle: 'Cars | Car | Cars', - building: 'Buildings', - station: 'Stations | Station | Stations', - distance: 'Distance | Distances', - vehicleType: 'Vehicle type', - noOptions: 'Sorry, no matching options.', + hideTitle: 'Zobrazit záhlaví | Skrýt záhlaví', + vehicle: 'Vozidla | Vozidlo | Vozidla', + building: 'Budovy', + station: 'Stanice | Stanice | Stanice', + distance: 'Vzdálenost | Vzdálenosti', + vehicleType: 'Typ vozidla', + noOptions: 'Litujeme, žádné odpovídající možnosti.', fmsReal2Show: { 1: 1, 2: 2, @@ -227,4 +235,19 @@ export default { 'Zábavní park', ], only_alliance_missions: [57, 74], + ranks: { + missionchief: { + 0: 'Strážmistr', + 200: 'Nadstrážmistr', + 10_000: 'Podpraporčík', + 100_000: 'Praporčík', + 1_000_000: 'Nadpraporčík', + 5_000_000: 'Podporučík', + 20_000_000: 'Poručík', + 50_000_000: 'Nadporučík', + 1_000_000_000: 'Kapitán', + 2_000_000_000: 'Major', + 5_000_000_000: 'Plukovník', + }, + }, }; diff --git a/src/i18n/cs_CZ/buildings.ts b/src/i18n/cs_CZ/buildings.ts index 408c2dd1f6..dd958299ea 100644 --- a/src/i18n/cs_CZ/buildings.ts +++ b/src/i18n/cs_CZ/buildings.ts @@ -39,6 +39,90 @@ export default { coins: 10, duration: '3 dny', }, + { + caption: 'Rozšíření letiště', + credits: 100_000, + coins: 20, + duration: '5 dní', + }, + { + caption: 'Prodloužení čerpadla při poškození vodou', + credits: 100_000, + coins: 15, + duration: '5 dní', + }, + { + caption: 'Stání pro sorbentový kontejner', + credits: 100_000, + coins: 20, + duration: '5 dní', + }, + { + caption: 'Stání pro chemický kontejner', + credits: 100_000, + coins: 20, + duration: '5 dní', + }, + { + caption: 'Stání pro pěnidlový kontejner', + credits: 100_000, + coins: 20, + duration: '5 dní', + }, + { + caption: 'Stání pro plynový hasící kontejner', + credits: 100_000, + coins: 20, + duration: '5 dní', + }, + { + caption: 'Stání pro hadicový kontejner', + credits: 100_000, + coins: 20, + duration: '5 dní', + }, + { + caption: 'Stání pro technický kontejner', + credits: 100_000, + coins: 20, + duration: '5 dní', + }, + { + caption: 'Stání pro kontejnerovou elektrocentrálu', + credits: 100_000, + coins: 20, + duration: '5 dní', + }, + { + caption: 'Stání pro lodní kontejner', + credits: 100_000, + coins: 20, + duration: '5 dní', + }, + { + caption: 'Stání pro kontejner pro nouzové zastřešení', + credits: 100_000, + coins: 20, + duration: '5 dní', + }, + { + caption: 'Stání pro týlový kontejner', + credits: 100_000, + coins: 20, + duration: '5 dní', + }, + { + caption: 'Přidáno stání pro kontejner', + credits: 100_000, + coins: 20, + duration: '7 dní', + }, + { + caption: 'Přidáno stání pro kontejner', + credits: 100_000, + coins: 20, + duration: '7 dní', + }, { caption: 'Velká požární stanice', credits: 1_000_000, @@ -59,10 +143,10 @@ export default { }, ], levelcost: ['1. 10.000', '2. 50.000', '3.-39. 100.000'], - maxBuildings: 'No limit', + maxBuildings: 'Bez limitů', maxLevel: 24, special: - 'From the 24th fire station onwards, the cost of building a new fire station increases according to the following formula: 100.000+200.000*LOG2(Number of existing fire stations − 22). The Coins price remains constant!', + 'Po vybudování 25 stanic cena těchto staveb roste. Aktuálně se cena stanic počítá podle následujícího vzorečku: 100.000+(200.000*log2(počet vybudovyných stanic − 22)). Cena v mincích zůstává stále stejná!', startPersonnel: 10, startVehicles: ['CAS 20', 'CAS 30'], startParkingLots: 1, @@ -81,7 +165,7 @@ export default { }, extensions: multiplyExtension( { - caption: 'Additional classroom', + caption: 'Více tříd', credits: 400_000, coins: 40, duration: '7 dní', @@ -91,12 +175,12 @@ export default { 3 ), levelcost: [], - maxBuildings: 'No limit', + maxBuildings: 'Bez limitu', maxLevel: 0, startClassrooms: 1, school: '', special: - "Finance ministers and admins can (expand) fire department schools with the help of credits from the association's treasury.Training course masters and admins can start training courses at association fire- brigade schools.", + "Správci financí a administrátoři mohou stavět / rozšiřovat hasičské školy pomocí kreditů z alianční pokladny. Správci školení a administrátoři mohou zahájit školení na hasičských školách aliance.", icon: 'graduation-cap', }, 2: { @@ -129,7 +213,7 @@ export default { }, ], levelcost: ['1. 10.000', '2. 50.000', '3.-39. 100.000'], - maxBuildings: 'No limit', + maxBuildings: 'Bez limitu', maxLevel: 14, special: '', startPersonnel: 3, @@ -160,12 +244,12 @@ export default { 3 ), levelcost: [], - maxBuildings: 'No limit', + maxBuildings: 'Bez limitu', maxLevel: 0, startClassrooms: 1, school: '', special: - "Finance ministers and admins can (expand) fire department schools with the help of credits from the association's treasury.Training course masters and admins can start training courses at association fire- brigade schools.", + "Správci financí a administrátoři mohou stavět / rozšiřovat zdravotnické akademie pomocí kreditů z alianční pokladny. Správci školení a administrátoři mohou zahájit školení na zdravotnické akademii aliance.", icon: 'graduation-cap', }, 4: { @@ -256,12 +340,12 @@ export default { cannotDisable: true, }, ], - levelcost: ['1.-20. 19.000 Credits / 11 Coins'], - maxBuildings: 'No limit', + levelcost: ['1.-20. 19.000 Kreditů / 11 Mincí'], + maxBuildings: 'Bez limitu', maxLevel: 20, startBeds: 10, special: - 'Finance ministers and admins can (expand) association hospitals with the help of credits from the association treasury.', + 'Správci financí a administrátoři mohou stavět / rozšiřovat nemocnice pomocí kreditů z alianční pokladny.', icon: 'hospital', }, 5: { @@ -278,14 +362,14 @@ export default { maxBuildings: 'see specials', maxLevel: 0, special: - 'Up to the 125th building (of all types) a total of max. 4 landing sites can be built. After that the number increases by 1 every 25 buildings (starting at the 125th).', + 'Do 100 stanic jakéhokoliv druhu = 4 základny vrtulníků nebo úrovně základen. Každých 10 stanic jakéhokoliv druhu nad 100. stanici (tj. 110, 120, 130 atd.) přidá možnost postavit jednu základnu vrtulníku nebo jednu úroveň základny', startPersonnel: 0, startVehicles: [], startParkingLots: 1, maxBuildingsFunction: (buildingsAmountTotal: number): number => - buildingsAmountTotal < 125 + buildingsAmountTotal < 100 ? 4 - : Math.floor(buildingsAmountTotal / 25), + : Math.floor(buildingsAmountTotal / 10), schoolingTypes: ['Zdravotnická akademie'], schools: [3], icon: 'circle-h', @@ -311,6 +395,30 @@ export default { }, 10 ), + { + caption: 'Rozšíření pořádkové jednotky', + credits: 200_000, + coins: 25, + duration: '5 dní', + }, + { + caption: 'Rozšiřující kapacita pro policejní antony', + credits: 100_000, + coins: 15, + duration: '5 dní', + }, + { + caption: 'Rozšiřující kapacita pro vodní stříkače PČR', + credits: 100_000, + coins: 15, + duration: '5 dní', + }, + { + caption: 'Rozšiřující kapacita pro vozidla velitele PČR', + credits: 100_000, + coins: 15, + duration: '5 dní', + }, { caption: 'Velká policejní stanice', credits: 1_000_000, @@ -348,10 +456,10 @@ export default { }, ], levelcost: ['1. 10.000', '2. 50.000', '3.-39. 100.000'], - maxBuildings: 'No limit', + maxBuildings: 'Bez limitu', maxLevel: 39, special: - 'From the 24th police station onwards, the costs for the new construction of a police station increase according to the following formula: 100.000+200.000*LOG2(Number of existing police stations − 22). The Coins price remains constant!', + 'Po vybudování 25 stanic cena těchto staveb roste. Aktuálně se cena stanic počítá podle následujícího vzorečku: 100.000+(200.000*log2(počet vybudovyných stanic − 22)). Cena v mincích zůstává stále stejná!', startPersonnel: 2, startParkingLots: 1, startCells: 0, @@ -373,7 +481,7 @@ export default { levelcost: [], maxBuildings: 'All 25 buildings one control center', maxLevel: 0, - special: 'The control center is the administrative center.', + special: 'Operační středisko je administrativní budova.', maxBuildingsFunction: (buildingsAmountTotal: number): number => Math.floor(buildingsAmountTotal / 25) + 1, isDispatchCenter: true, @@ -390,7 +498,7 @@ export default { }, extensions: multiplyExtension( { - caption: 'Additional classroom', + caption: 'Více tříd', credits: 400_000, coins: 40, duration: '7 dní', @@ -400,12 +508,12 @@ export default { 3 ), levelcost: [], - maxBuildings: 'No limit', + maxBuildings: 'Bez limitu', maxLevel: 0, startClassrooms: 1, school: '', special: - "Finance ministers and admins can (expand) association police schools with the help of credits from the association's treasury.Training course masters and admins can start training courses at association police schools.", + "Správci financí a administrátoři mohou stavět / rozšiřovat policejní akademie pomocí kreditů z alianční pokladny. Správci školení a administrátoři mohou zahájit školení na policejní akademii aliance.", icon: 'graduation-cap', }, 13: { @@ -418,18 +526,18 @@ export default { coins: [50], }, extensions: [], - levelcost: ['1. 1.000.000 Credits / 50 Coins'], + levelcost: ['1. 1.000.000 Kreditů / 50 Mincí'], maxBuildings: 'see specials', maxLevel: 1, special: - 'Up to 2 landing sites can be built per station (expansion stages). Up to the 125th building (of all types) a total of max. 4 landing sites can be built. After that the number increases by 1 every 25 buildings (starting at the 125th).', + 'Do 100 stanic jakéhokoliv druhu = 4 základny vrtulníků nebo úrovně základen. Každých 10 stanic jakéhokoliv druhu nad 100. stanici (tj. 110, 120, 130 atd.) přidá možnost postavit jednu základnu vrtulníku nebo jednu úroveň základny', startPersonnel: 3, startVehicles: [], startParkingLots: 1, maxBuildingsFunction: (buildingsAmountTotal: number): number => - buildingsAmountTotal < 125 + buildingsAmountTotal < 100 ? 4 - : Math.floor(buildingsAmountTotal / 25), + : Math.floor(buildingsAmountTotal / 10), schoolingTypes: ['Policejní Akademies'], schools: [8], icon: 'helicopter', @@ -448,7 +556,7 @@ export default { maxBuildings: 4, maxLevel: 0, special: - 'You can station as many of your own vehicles as you like at a staging area, members of the association can use the room. A staging area remains for 24 hours, but you can reset it to 24 hours at any time.With Premium Account you can have 8 stating areas at the same time', + 'Přípravnou plochu lze vybudovat zdarma a zpočátku je k dispozici po dobu 24 hodin. Jednotky mohou po tuto dobu využívat tuto oblast jako svou základnu a být z ní vyslány do akce.', maxBuildingsFunction: (): number => 4, isStagingArea: true, icon: 'warehouse', @@ -464,7 +572,7 @@ export default { }, extensions: [], levelcost: ['1. 10.000', '2. 50.000', '3.-39. 100.000'], - maxBuildings: 'No limit', + maxBuildings: 'Bez limitu', maxLevel: 39, special: '', startPersonnel: 3, @@ -474,34 +582,6 @@ export default { schools: [3], icon: 'person-swimming', }, - 16: { - caption: 'Prison Cells', - color: '#00ff00', - coins: -1, - credits: 100_000, - levelPrices: { - credits: [], - coins: [], - }, - extensions: multiplyExtension( - { - caption: 'Prison Cell', - credits: 25_000, - coins: 5, - duration: '7 dní', - newCells: 1, - cannotDisable: true, - }, - 10 - ), - levelcost: [], - maxBuildings: 'No limit', - maxLevel: 0, - special: - "This building can only be built and developed by admins and finance ministers with credits from the association's treasury.The built Prison Cells are available to all members of the association.", - startCells: 1, - icon: 'border-all', - }, 18: { caption: 'Požární stanice (malá)', color: '#aa1111', @@ -516,12 +596,11 @@ export default { '1. 10.000', '2. 50.000', '3.-5. 100.000', - 'Conversion to normal station: difference price to normal station', + 'Rozšiřte na normální Požární stanici', ], - maxBuildings: 'No limit', + maxBuildings: 'Bez limitu', maxLevel: 5, - special: - 'From the 24th fire station onwards, the cost of building a new fire station increases according to the following formula: (100.000+200.000*LOG2(Number of existing fire stations − 22)) / 2. max. 1 Million Credits. The Coins price remains constant!', + special: '', startPersonnel: 10, startVehicles: ['CAS 20', 'CAS 30'], startParkingLots: 1, @@ -542,13 +621,12 @@ export default { levelcost: [ '1. 10.000', '2. 50.000', - '3.-4. 100.000', - 'Conversion to normal station: difference price to normal station', + '3.-5. 100.000', + 'Rozšiřte na normální Policejní stanici', ], maxBuildings: 'No limit', maxLevel: 4, - special: - 'From the 24th police station onwards, the costs for the new construction of a police station are calculated according to the following formula: (100.000+200.000*LOG2(Number of existing police stations − 22)) / 2. The Coins price remains constant!', + special: '', startPersonnel: 2, startVehicles: ['Policejní automobil'], startParkingLots: 1, @@ -570,9 +648,9 @@ export default { '1. 10.000', '2. 50.000', '3.-5. 100.000', - 'Conversion to normal station: difference price to normal station', + 'Rozšiřte na normální Záchranářskou stanici', ], - maxBuildings: 'No limit', + maxBuildings: 'Bez limitu', maxLevel: 5, special: '', startPersonnel: 3, @@ -585,19 +663,19 @@ export default { 21: { caption: 'Pyrotechnická služba PČR', color: '#663300', - coins: 50, - credits: 5_000_000, + coins: 35, + credits: 200_000, levelPrices: { - credits: [10_000, 50_000, ...Array(18).fill(100_000)], - coins: [10, 15, ...Array(18).fill(20)], + credits: [10_000, 50_000, ...Array(3).fill(100_000)], + coins: [10, 15, ...Array(3).fill(20)], }, extensions: [], - levelcost: ['1. 10.000', '2. 50.000', '3.-20. 100.000'], - maxBuildings: 'No limit', + levelcost: ['1. 10.000', '2. 50.000', '3.-5. 100.000'], + maxBuildings: 'Bez limitu', maxLevel: 5, special: '', startPersonnel: 4, - startVehicles: ['Vozidlo pyrotechnika PČR'], + startVehicles: [], startParkingLots: 2, schoolingTypes: ['Policejní Akademie'], schools: [8], @@ -614,7 +692,7 @@ export default { }, extensions: multiplyExtension( { - caption: 'Additional classroom', + caption: 'Více tříd', credits: 400_000, coins: 40, duration: '7 dní', @@ -624,12 +702,33 @@ export default { 3 ), levelcost: [], - maxBuildings: 'No limit', + maxBuildings: 'Bez limitu', maxLevel: 0, special: - "Finance ministers and admins can (expand) association police schools with the help of credits from the association's treasury.Training course masters and admins can start training courses at association police schools.", + "Správci financí a administrátoři mohou stavět / rozšiřovat školící středisko VZS ČČK pomocí kreditů z alianční pokladny. Správci školení a administrátoři mohou zahájit školení na školící středisko VZS ČČK aliance.", startClassrooms: 1, school: '', icon: 'graduation-cap', }, + 25: { + caption: 'Stáje jízdní policie', + color: '#2fcee7', + coins: 25, + credits: 150_000, + levelPrices: { + credits: [], + coins: [], + }, + extensions: [], + levelcost: [], + maxBuildings: 'Bez limitu', + maxLevel: 0, + special: '', + startPersonnel: 4, + startVehicles: [], + startParkingLots: 3, + schoolingTypes: ['Policejní Akademie'], + schools: [8], + icon: 'horse-head', + }, } satisfies Record; diff --git a/src/i18n/cs_CZ/global.ts b/src/i18n/cs_CZ/global.ts index 4137c439cf..bc679149d0 100644 --- a/src/i18n/cs_CZ/global.ts +++ b/src/i18n/cs_CZ/global.ts @@ -1,14 +1,13 @@ export default { updateUserscript: { title: 'Userscript out of date', - text: `Dear LSSM-User,
-unfortunately your LSSM V.4 userscript is outdated. In the latest version changes have been made to the userscript, which are important for the function of LSSM V.4.
-You need at least version {minVersion}, the update can be done comfortably by clicking on {updateLink}.
-Sometimes the update does not work by clicking the link (for unknown reasons). Then you can either trigger an update within Tampermonkey (click on the tampermonkey icon in your browser, then "Overview". Check the box in front of the LSSM userscript and select "Update" as action.
-If that also does not work, edit the LSSM Script within Tampermonkey by replacing all script content with the content of {bypassLink}.
-Sometimes, LSSM is installed multiple times after an update. In this case it helps to uninstall/remove all LSSM V.4 installations in Tampermonkey and then reinstall LSSM V.4 once.

-Kind regards,
-your LSSM team`, + text: `Vážený uživateli LSSM,
+Váš uživatelský skript LSSM V.4 je bohužel zastaralý. V nejnovější verzi byly provedeny změny uživatelského skriptu, které jsou důležité pro funkci LSSM V.4.
+Potřebujete alespoň verzi {minVersion}, aktualizaci lze provést pohodlně kliknutím na {updateLink}.
+Někdy aktualizace nefunguje kliknutím na odkaz (z neznámých důvodů). Poté můžete buď spustit aktualizaci v rámci Tampermonkey (klikněte na ikonu tampermonkey ve vašem prohlížeči a poté na „Přehled“. Zaškrtněte políčko před uživatelským skriptem LSSM a jako akci vyberte „Aktualizovat“.
+Někdy se LSSM po aktualizaci nainstaluje vícekrát. V tomto případě pomůže odinstalovat/odstranit všechny instalace LSSM V.4 v Tampermonkey a poté jednou znovu nainstalovat LSSM V.4.

+S pozdravem
+váš tým LSSM`, close: 'Ok', }, error: { diff --git a/src/i18n/cs_CZ/schoolings.ts b/src/i18n/cs_CZ/schoolings.ts index 01aff87398..4c1eeded3a 100644 --- a/src/i18n/cs_CZ/schoolings.ts +++ b/src/i18n/cs_CZ/schoolings.ts @@ -1,3 +1,132 @@ import type { SchoolingsBySchool } from 'typings/Schooling'; -export default {} satisfies SchoolingsBySchool; +export default { + 'Hasiči': [ + { + caption: 'Školení Nebezpečné Látky', + duration: '3 dny', + staffList: 'Nebezpečné látky', + key: 'gw_gefahrgut', + }, + { + caption: 'Školení MOS', + duration: '5 dní', + staffList: 'mobilní operační středisko', + key: 'elw2', + }, + { + caption: 'Školení letištních hasičů', + duration: '5 dní', + staffList: 'Letištní hasič', + key: 'arff', + }, + { + caption: 'Školení Záchrany z vody', + duration: '3 dny', + staffList: 'Záchrana z vody', + key: 'gw_wasserrettung', + }, + { + caption: 'Školení Potápěče', + duration: '5 dní', + staffList: 'Potápěč', + key: 'gw_taucher', + }, + { + caption: 'Kurz jeřábníka', + duration: '4 dny', + staffList: 'Jeřábník', + key: 'fwk', + }, + { + caption: 'Školení na obsluhu záchranných evakuačních schodů', + duration: '7 dní', + staffList: 'Obsluhu záchranných evakuačních schodů', + key: 'rettungstreppe', + }, + { + caption: 'Kurz Obsluhy nosiče kontejnerů', + duration: '3 dny', + staffList: 'Obsluha nosiče kontejnerů', + key: 'pod_tractive', + }, + ], + 'Policie': [ + { + caption: 'Kurz Letecké služby PČR', + duration: '7 dní', + staffList: 'Pilot Letecké služby PČR', + key: 'polizeihubschrauber', + }, + { + caption: 'Kurz URNA', + duration: '5 dní', + staffList: 'URNA', + key: 'swat', + }, + { + caption: 'Kurz Kynologové Policie', + duration: '5 dní', + staffList: 'Kynolog Policie', + key: 'k9', + }, + { + caption: 'Kurz Policejní motocykl', + duration: '3 dny', + staffList: 'Policejní motocykl', + key: 'police_motorcycle', + }, + { + caption: 'Kurz Policejního pyrotechnika', + duration: '3 dny', + staffList: 'Policejní pyrotechnik', + key: 'fbi_bomb_tech', + }, + { + caption: 'Kurz Vyšetřovatele DN', + duration: '3 dny', + staffList: 'Vyšetřovatel DN', + key: 'traffic_police', + }, + { + caption: 'Školení velitele složky PČR', + duration: '7 dní', + staffList: 'Velitel složky PČR', + key: 'riot_police_command', + }, + { + caption: 'Školení Jezdece na koni', + duration: '4 dny', + staffList: 'Jezdec na koni', + key: 'police_horse', + }, + { + caption: 'Školení pořádkové policie', + duration: '2 dny', + staffList: 'Pořádková policie', + key: 'riot_police', + }, + ], + 'Záchranáři': [ + { + caption: 'Školení inspektora provozu', + duration: '3 dny', + staffList: 'Inspektor provozu', + key: 'orgl', + }, + { + caption: 'Školení lékaře', + duration: '5 dní', + staffList: 'Lékař', + key: 'critical_care', + }, + ], + 'VZS ČČK': [ + { + caption: 'Školení Vodní záchranné služby', + duration: '3 dny', + staffList: 'Personál vodní záchranné služby', + key: 'water_rescue_service', + }, + ], +} satisfies SchoolingsBySchool; diff --git a/src/i18n/cs_CZ/vehicles.ts b/src/i18n/cs_CZ/vehicles.ts index 3b81f3128e..1720953706 100644 --- a/src/i18n/cs_CZ/vehicles.ts +++ b/src/i18n/cs_CZ/vehicles.ts @@ -8,7 +8,11 @@ export default { coins: 25, staff: { min: 4, max: 6 }, icon: 'car-side', - possibleBuildings: [], + possibleBuildings: [0, 18], + waterTank: 4000, + foamTank: 200, + pumpCapacity: 2000, + pumpType: 'fire', }, 1: { caption: 'CAS 30', @@ -17,7 +21,11 @@ export default { coins: 25, staff: { min: 1, max: 6 }, icon: 'car-side', - possibleBuildings: [], + possibleBuildings: [0, 18], + waterTank: 9000, + foamTank: 540, + pumpCapacity: 3000, + pumpType: 'fire', }, 2: { caption: 'AZ', @@ -27,7 +35,7 @@ export default { staff: { min: 1, max: 2 }, special: 'Požadováno po vybudování 3 požárních stanic', icon: 'car-side', - possibleBuildings: [], + possibleBuildings: [0, 18], }, 3: { caption: 'VEA', @@ -37,7 +45,7 @@ export default { staff: { min: 1, max: 1 }, special: 'Požadováno po vybudování 6 požárních stanic', icon: 'car-side', - possibleBuildings: [], + possibleBuildings: [0, 18], }, 4: { caption: 'TA', @@ -47,16 +55,16 @@ export default { staff: { min: 2, max: 3 }, special: 'Požadováno po vybudování 4 požárních stanic', icon: 'car-side', - possibleBuildings: [], + possibleBuildings: [0, 18], }, 5: { caption: 'RZP', color: '#9c1c1c', credits: 5000, coins: 25, - staff: { min: 3, max: 3 }, + staff: { min: 2, max: 2 }, icon: 'car-side', - possibleBuildings: [], + possibleBuildings: [0, 2, 18, 20], }, 6: { caption: 'KHA', @@ -66,16 +74,27 @@ export default { staff: { min: 1, max: 2 }, special: 'Požadováno po vybudování 7 požárních stanic', icon: 'car-side', - possibleBuildings: [], + possibleBuildings: [0, 18], + waterTank: 6000, + foamTank: 3000, + pumpCapacity: 4000, + pumpType: 'fire', }, 7: { caption: 'TACH', color: '#990000', credits: 19_200, coins: 25, - staff: { + staff: { min: 1, - max: 3, + max: 4, + training: { + 'Hasiči': { + gw_gefahrgut: { + all: false, + }, + }, + }, }, special: 'Požadováno po vybudování 11 požárních stanic', icon: 'car-side', @@ -88,16 +107,26 @@ export default { coins: 25, staff: { min: 2, max: 4 }, icon: 'car-side', - possibleBuildings: [], + possibleBuildings: [6, 19], }, 9: { caption: 'Vrtulník LZS', color: '#e61919', credits: 300_000, coins: 30, - staff: { min: 3, max: 5 }, + staff: { + min: 3, + max: 5, + training: { + 'Záchranáři': { + critical_care: { + all: false, + }, + }, + }, + }, icon: 'car-side', - possibleBuildings: [], + possibleBuildings: [5], }, 10: { caption: 'AP', @@ -106,7 +135,7 @@ export default { coins: 25, staff: { min: 1, max: 2 }, icon: 'car-side', - possibleBuildings: [], + possibleBuildings: [0, 18], }, 11: { caption: 'Policejní vrtulník', @@ -116,9 +145,16 @@ export default { staff: { min: 1, max: 3, + training: { + 'Policie': { + polizeihubschrauber: { + all: false, + }, + }, + }, }, icon: 'car-side', - possibleBuildings: [], + possibleBuildings: [13], }, 12: { caption: 'Obrněné vozidlo URNA', @@ -128,10 +164,17 @@ export default { staff: { min: 6, max: 6, + training: { + 'Policie': { + swat: { + all: true, + }, + }, + }, }, special: 'Požadováno po vybudování 8 Obvodních oddělení Policie', icon: 'car-side', - possibleBuildings: [], + possibleBuildings: [6, 19], }, 13: { caption: 'Vozidlo Kynologů PČR', @@ -141,10 +184,17 @@ export default { staff: { min: 1, max: 2, + training: { + 'Policie': { + k9: { + all: false, + }, + }, + }, }, special: 'Požadováno po vybudování 6 Obvodních oddělení Policie', icon: 'car-side', - possibleBuildings: [], + possibleBuildings: [6, 19], }, 14: { caption: 'Policejní motocykl', @@ -154,9 +204,16 @@ export default { staff: { min: 1, max: 1, + training: { + 'Policie': { + police_motorcycle: { + all: true, + }, + }, + }, }, icon: 'car-side', - possibleBuildings: [], + possibleBuildings: [6, 19], }, 15: { caption: 'URNA SUV', @@ -166,10 +223,17 @@ export default { staff: { min: 2, max: 4, + training: { + 'Policie': { + swat: { + all: false, + }, + }, + } }, special: 'Požadováno po vybudování 8 Obvodních oddělení Policie', icon: 'car-side', - possibleBuildings: [], + possibleBuildings: [6, 19], }, 16: { caption: 'Protiplynový automobil', @@ -179,7 +243,7 @@ export default { staff: { min: 1, max: 3 }, special: 'Požadováno po vybudování 5 požárních stanic', icon: 'car-side', - possibleBuildings: [], + possibleBuildings: [0, 18], }, 17: { caption: 'MOS', @@ -189,10 +253,17 @@ export default { staff: { min: 1, max: 6, + training: { + 'Hasiči': { + elw2: { + all: false, + }, + }, + } }, special: 'Požadováno po vybudování 13 požárních stanic', icon: 'car-side', - possibleBuildings: [], + possibleBuildings: [0, 18], }, 18: { caption: 'Vyzidlo vyšetřovatelů DN', @@ -202,9 +273,16 @@ export default { staff: { min: 2, max: 3, + training: { + 'Policie': { + traffic_police: { + all: false, + }, + }, + } }, icon: 'car-side', - possibleBuildings: [], + possibleBuildings: [6, 19], }, 19: { caption: 'Vozidlo pyrotechnika PČR', @@ -214,9 +292,16 @@ export default { staff: { min: 2, max: 3, + training: { + 'Policie': { + fbi_bomb_tech: { + all: false, + }, + }, + } }, icon: 'car-side', - possibleBuildings: [], + possibleBuildings: [21], }, 20: { caption: 'Přívěs se člunem', @@ -224,9 +309,11 @@ export default { credits: 6000, coins: 12, staff: { min: 0, max: 0 }, - special: 'Požadováno po vybudování 11 požárních stanic', - icon: 'car-side', - possibleBuildings: [], + special: 'Je potřeba tažné vozidlo (CAS 20, Potápěčský automobil, DA) s minimální posádkou 3 členů vyškolenou v oboru (Záchrana z vody).', + icon: 'trailer', + possibleBuildings: [0, 18], + isTrailer: true, + tractiveVehicles: [0, 22, 30], }, 21: { caption: 'Přívěs se člunem VZS ČČK', @@ -234,47 +321,88 @@ export default { credits: 6000, coins: 12, staff: { min: 0, max: 0 }, - special: - 'Je potřeba tažné vozidlo (SUV VZS ČČK, Dodávka VZS ČČK). Vyžaduje osoby(4) se speciálním vzděláním v oboru odtahové vozidlo', - icon: 'car-side', - possibleBuildings: [], + special: 'Je potřeba tažné vozidlo (SUV VZS ČČK, Dodávka VZS ČČK). Vyžaduje osoby(4) se speciálním vzděláním v oboru (Vodní záchranná služba)', + icon: 'trailer', + possibleBuildings: [15], + isTrailer: true, + tractiveVehicles: [23, 24], }, 22: { caption: 'Potápěčský automobil', color: '#990000', credits: 10_000, coins: 25, - staff: { min: 2, max: 4 }, - special: 'Požadováno po vybudování 11 požárních stanic', + staff: { + min: 2, + max: 4, + training: { + 'Hasiči': { + gw_taucher: { + all: false, + }, + }, + } + }, icon: 'car-side', - possibleBuildings: [], + possibleBuildings: [0, 18], }, 23: { caption: 'SUV VZS ČČK', color: '#990000', credits: 10_000, coins: 25, - staff: { min: 1, max: 4 }, + staff: { + min: 1, + max: 4 + training: { + 'VZS ČČK': { + water_rescue_service: { + all: false, + }, + }, + } + }, icon: 'car-side', - possibleBuildings: [], + possibleBuildings: [15], }, 24: { caption: 'Dodávka VZS ČČK', color: '#990000', credits: 10_000, coins: 25, - staff: { min: 2, max: 4 }, + staff: { + min: 2, + max: 4 + training: { + 'VZS ČČK': { + water_rescue_service: { + all: false, + }, + }, + } + }, icon: 'car-side', - possibleBuildings: [], + possibleBuildings: [15], }, 25: { caption: 'RV', color: '#9c1c1c', credits: 4000, coins: 20, - staff: { min: 1, max: 2 }, - icon: 'car-side', - possibleBuildings: [], + staff: { + min: 1, + max: 2 + training: { + 'Záchranáři': { + critical_care: { + all: false, + }, + }, + } + }, + special: 'Požadováno po vybudování 6 výjezdových stanovišť ZZS', + icon: 'ambulance', + possibleBuildings: [2, 20], }, 26: { caption: 'IP', @@ -282,12 +410,19 @@ export default { credits: 25_000, coins: 25, staff: { - min: 1, - max: 2, + min: 1, + max: 2 + training: { + 'Záchranáři': { + orgl: { + all: false, + }, + }, + } }, special: 'Požadováno po vybudování 10 výjezdových stanovišť ZZS', - icon: 'car-side', - possibleBuildings: [], + icon: 'ambulance', + possibleBuildings: [2, 20], }, 27: { caption: 'RLP', @@ -295,11 +430,18 @@ export default { credits: 10_000, coins: 30, staff: { - min: 2, - max: 3, + min: 2, + max: 3 + training: { + 'Záchranáři': { + critical_care: { + all: false, + }, + }, + } }, - icon: 'car-side', - possibleBuildings: [], + icon: 'ambulance', + possibleBuildings: [2, 20], }, 28: { caption: 'VYA', @@ -307,11 +449,18 @@ export default { credits: 35_000, coins: 10, staff: { - min: 1, - max: 2, + min: 1, + max: 2 + training: { + 'Hasiči': { + fwk: { + all: false, + }, + }, + } }, - icon: 'car-side', - possibleBuildings: [], + icon: 'truck', + possibleBuildings: [0, 18], }, 29: { caption: 'AJ', @@ -321,9 +470,16 @@ export default { staff: { min: 1, max: 2, + training: { + 'Hasiči': { + fwk: { + all: false, + }, + }, + } }, - icon: 'car-side', - possibleBuildings: [], + icon: 'truck', + possibleBuildings: [0, 18], }, 30: { caption: 'DA', @@ -332,7 +488,7 @@ export default { coins: 10, staff: { min: 1, max: 9 }, icon: 'car-side', - possibleBuildings: [], + possibleBuildings: [0, 18], }, 31: { caption: 'RZA', @@ -341,6 +497,332 @@ export default { coins: 10, staff: { min: 2, max: 3 }, icon: 'car-side', - possibleBuildings: [], + possibleBuildings: [0, 18], + }, + 32: { + caption: 'Dodávka pořádkové jednotky', + color: '#8b1818', + credits: 10_000, + coins: 15, + staff: { + min: 1, + max: 9, + training: { + 'Policie': { + riot_police: { + all: false, + }, + }, + } + }, + icon: 'car-side', + possibleBuildings: [6, 19], + }, + 33: { + caption: 'Policejní anton', + color: '#8b1818', + credits: 25_000, + coins: 25, + staff: { min: 1, max: 3 }, + icon: 'car-side', + possibleBuildings: [6, 19], + }, + 34: { + caption: 'Vodní dělo pořádkové policie', + color: '#8b1818', + credits: 35_000, + coins: 15, + staff: { min: 1, max: 3 }, + icon: 'car-side', + possibleBuildings: [6, 19], + }, + 35: { + caption: 'Vozidlo velitele PČR', + color: '#8b1818', + credits: 25_000, + coins: 25, + staff: { + min: 1, + max: 2, + training: { + 'Policie': { + riot_police_command: { + all: false, + }, + }, + } + }, + icon: 'car-side', + possibleBuildings: [6, 19], + }, + 36: { + caption: 'Monitorovací vozidlo', + color: '#8b1818', + credits: 25_000, + coins: 10, + staff: { min: 2, max: 2 }, + icon: 'car-side', + possibleBuildings: [6, 19], + }, + 37: { + caption: 'Technické vozidlo s LRAD', + color: '#8b1818', + credits: 25_000, + coins: 10, + staff: { min: 1, max: 2 }, + icon: 'car-side', + possibleBuildings: [6, 19], + }, + 38: { + caption: 'Malý přepravník koní', + color: '#8b1818', + credits: 15_000, + coins: 15, + staff: { + min: 2, + max: 2, + training: { + 'Policie': { + police_horse: { + all: true, + }, + }, + } + }, + icon: 'horse', + possibleBuildings: [6, 19], + }, + 39: { + caption: 'Nákladní přepravník koní', + color: '#8b1818', + credits: 35_000, + coins: 15, + staff: { + min: 6, + max: 6, + training: { + 'Policie': { + police_horse: { + all: true, + }, + }, + } + }, + icon: 'horse', + possibleBuildings: [6, 19], + }, + 40: { + caption: 'Letištní speciál', + color: '#cc0000', + credits: 40_000, + coins: 25, + staff: { + min: 2, + max: 4, + training: { + 'Hasiči': { + arff: { + all: false, + }, + }, + } + }, + icon: 'truck-moving', + possibleBuildings: [0, 18], + waterTank: 12000, + foamTank: 1500, + pumpCapacity: 6000, + pumpType: 'fire', + }, + 41: { + caption: 'Záchranné evakuační schody', + color: '#cc0000', + credits: 80_000, + coins: 25, + staff: { + min: 2, + max: 2, + training: { + 'Hasiči': { + rettungstreppe: { + all: true, + }, + }, + } + }, + icon: 'truck', + possibleBuildings: [0, 18], + }, + 42: { + caption: 'Přívěs s motorovým čerpadlem', + color: '#cc0000', + credits: 10_000, + coins: 25, + staff: { min: 0, max: 0 }, + icon: 'trailer', + special: 'Je potřeba tažné vozidlo (CAS 20, CAS 30, KHA, DA)', + pumpCapacity: 4000, + pumpType: 'sewage', + isTrailer: true, + tractiveVehicles: [0, 1, 6, 30], + possibleBuildings: [0, 18], + }, + 43: { + caption: 'ANK', + color: '#cc0000', + credits: 20_000, + coins: 15, + staff: { + min: 1, + max: 3, + training: { + 'Hasiči': { + pod_tractive: { + all: false, + }, + }, + } + }, + icon: 'truck-field', + possibleBuildings: [0, 18], + }, + 44: { + caption: 'Sorbentový kontejner', + color: '#cc0000', + credits: 5_000, + coins: 8, + staff: { min: 0, max: 0 }, + icon: 'truck-ramp-box', + possibleBuildings: [0, 18], + isTrailer: true, + tractiveVehicles: [43], + }, + 45: { + caption: 'Chemický kontejner', + color: '#cc0000', + credits: 5_000, + coins: 8, + staff: { min: 0, max: 0 }, + icon: 'truck-ramp-box', + possibleBuildings: [0, 18], + isTrailer: true, + tractiveVehicles: [43], + }, + 46: { + caption: 'Plynový hasící kontejner', + color: '#cc0000', + credits: 5_000, + coins: 8, + staff: { min: 0, max: 0 }, + icon: 'truck-ramp-box', + possibleBuildings: [0, 18], + isTrailer: true, + tractiveVehicles: [43], + }, + 47: { + caption: 'Pěnidlový kontejner', + color: '#cc0000', + credits: 5_000, + coins: 8, + staff: { min: 0, max: 0 }, + icon: 'truck-ramp-box', + possibleBuildings: [0, 18], + isTrailer: true, + tractiveVehicles: [43], + }, + 48: { + caption: 'Hadicový kontejner', + color: '#cc0000', + credits: 5_000, + coins: 8, + staff: { min: 0, max: 0 }, + icon: 'truck-ramp-box', + possibleBuildings: [0, 18], + isTrailer: true, + tractiveVehicles: [43], + }, + 49: { + caption: 'Technický kontejner', + color: '#cc0000', + credits: 5_000, + coins: 8, + staff: { min: 0, max: 0 }, + icon: 'truck-ramp-box', + possibleBuildings: [0, 18], + isTrailer: true, + tractiveVehicles: [43], + }, + 50: { + caption: 'Týlový kontejner', + color: '#cc0000', + credits: 5_000, + coins: 8, + staff: { min: 0, max: 0 }, + icon: 'truck-ramp-box', + possibleBuildings: [0, 18], + isTrailer: true, + tractiveVehicles: [43], + }, + 51: { + caption: 'Kontejnerová elektrocentrála', + color: '#cc0000', + credits: 5_000, + coins: 8, + staff: { min: 0, max: 0 }, + icon: 'truck-ramp-box', + possibleBuildings: [0, 18], + isTrailer: true, + tractiveVehicles: [43], + }, + 52: { + caption: 'Kontejner pro nouzové zastřešení', + color: '#cc0000', + credits: 5_000, + coins: 8, + staff: { min: 0, max: 0 }, + icon: 'truck-ramp-box', + possibleBuildings: [0, 18], + isTrailer: true, + tractiveVehicles: [43], + }, + 53: { + caption: 'Lodní kontejner', + color: '#cc0000', + credits: 28_000, + coins: 25, + staff: { min: 0, max: 0 }, + icon: 'truck-ramp-box', + possibleBuildings: [0, 18], + isTrailer: true, + tractiveVehicles: [43], + equipmentCapacity: 2, + }, + 54: { + caption: 'Přeprava ambulancí', + color: '#9c1c1c', + credits: 5_000, + coins: 12, + staff: { min: 2, max: 2 }, + icon: 'ambulance', + possibleBuildings: [2, 20], + }, + 55: { + caption: 'Ambulance pro urgentní přepravu', + color: '#9c1c1c', + credits: 10_000, + coins: 30, + staff: { + min: 2, + max: 2, + training: { + 'Záchranáři': { + critical_care: { + all: false, + }, + }, + } + }, + icon: 'ambulance', + possibleBuildings: [2, 20], }, } satisfies Record; From f2d4deae21bdf125333d7a6bc58f03cf87443c21 Mon Sep 17 00:00:00 2001 From: Tadjinton Date: Sun, 28 Jul 2024 18:04:04 +0200 Subject: [PATCH 2/2] update the czech language src\i18n files --- src/i18n/cs_CZ/vehicles.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/i18n/cs_CZ/vehicles.ts b/src/i18n/cs_CZ/vehicles.ts index 1720953706..2dfd1d56e0 100644 --- a/src/i18n/cs_CZ/vehicles.ts +++ b/src/i18n/cs_CZ/vehicles.ts @@ -353,7 +353,7 @@ export default { coins: 25, staff: { min: 1, - max: 4 + max: 4, training: { 'VZS ČČK': { water_rescue_service: { @@ -372,7 +372,7 @@ export default { coins: 25, staff: { min: 2, - max: 4 + max: 4, training: { 'VZS ČČK': { water_rescue_service: { @@ -391,7 +391,7 @@ export default { coins: 20, staff: { min: 1, - max: 2 + max: 2, training: { 'Záchranáři': { critical_care: { @@ -411,7 +411,7 @@ export default { coins: 25, staff: { min: 1, - max: 2 + max: 2, training: { 'Záchranáři': { orgl: { @@ -431,7 +431,7 @@ export default { coins: 30, staff: { min: 2, - max: 3 + max: 3, training: { 'Záchranáři': { critical_care: { @@ -450,7 +450,7 @@ export default { coins: 10, staff: { min: 1, - max: 2 + max: 2, training: { 'Hasiči': { fwk: {